Skip to Content

how to pass current sold-to-party number from sales order to BP transaction using Transaction laucher

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 !!!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Apr 23, 2012 at 04:53 AM

    can you elaborate your question?

    You need to pass TL to Component , is this right?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 23, 2012 at 05:31 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 25, 2012 at 05:10 AM

    Hi,

    BUS object to display BP in GUI: BUS1006.

    Method Responsible: BusinessPartner.Display

    Configure the transaction launcher

    ans2.JPG

    ans1.JPG

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.