on 04-21-2012 6:44 PM
hi
can any one let me know how do i pass the sold - to - party number which is available in the sales order screen in Web Ui to the BP screen
in GUI using Transaction launcher..
i am able to go to BP screen using Transaction launcher...
Can any one let me know how do i achieve this !!!
Pls help !!!
Hi,
BUS object to display BP in GUI: BUS1006.
Method Responsible: BusinessPartner.Display
Configure the transaction launcher
Go to class ZCL_BP_DISP which was created while configuring the transaction launcher.
Add a static public attribute GV_PARTNER in the class.
Add the following code in the method IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
me->set_container_object(
iv_name = '<*MAINOBJ*>'
iv_object_key = ZCL_BP_DISP=>GV_PARTNER
iv_object_type = gv_bortype ).
Create a logical link 'ZC_LL_BP' using the configured transaction launcher id.
Now go to the event handler triggered on clicking on the sold-to-party hyperlink.
Add the following code:
* Set the static variable with the partner value
zcl_bp_disp=>gv_partner = lv_partner.
* Navigate using logical link
lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
CHECK lr_navigation IS BOUND.
lr_navigation->navigate( iv_link_id = 'ZC_LL_BP' ).
Note: One drawback of this approach is that you need to maintain the link in one of the work center pages for that role.
Regards,
Sayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Find out the correct BUS object for the BP and then you can pass the parameters to it. I guess you are using TSTC as the reference bus object.
Regards
Kavindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you elaborate your question?
You need to pass TL to Component , is this right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.