Nikhil,
I am extremely sorry for the delay.Thanks for your valuable time and paitence. I clearly understood what you told but at the sametime I have below questions. Could you please answer me?
1. In above code, you are triggering Server Event('SUB_TYPE') . In this case as you said, we are doing the server round trip or not doing server round trip?
2. I have one scenario where I worked with BP_ADDR Component. Pop up(with USPS call with address fields) has to be displayed whenever user creates account in Web UI. In the Pop up when we click 'Accepts' button then the corresponding values in the pop up has to be set in the main screen( where address fields are ) address attributes. Here I am using set_attribute() method to set them on main screen. But I didnt use the above deactivate lr_entity->dectivate_sending(). In this scenario aslo I dont think we need round trip as we are not getting the data from the database level.
Question : why we are not using lr_entity->dectivate_sending() here even though we are setting the parameter returned from USPS . But in the above scenario( Sales office , where they are calling RFC from ECC) we used lr_entity->activate_sending() for setting the parameter returned from RFC in ECC.
Thanks,
Baasanthi.