Skip to Content
avatar image
Former Member

Launching a ERP transaction in CRM Web UI using URL based Transaction Launcher

Hi All, I want to launch an ERP Transaction on CRM WEB UI using URL based Transaction Launcher. I have created transaction in ERP.

I have created URL ID to connect with ERP, i have created Transaction Launcher, i have created Logical ID for Transaction Launcher ID, Assigned Logical ID to the Work Centre. I can see the Icon on WEB UI but getting a dump upon clicking on it.
I have followed the steps but no where i found a place to assign ERP Transaction.
Could you please assit.
Thanks in advance.


Regards,

Prakhar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Oct 10, 2016 at 01:26 AM

    Hello Prakhar,

    From your screenshot, I think the issue is related to your class ZCL_MASS_OFFSET and ZCL_MASS_OFFSET_NEW.
    You need to debug further to understand.


    Or you can read from page 68 of following PDF to set up a BOR transaction laucher which is a easier approach.

    http://go.sap.com/documents/2017/07/8e739ceb-537c-0010-82c7-eda71af511fa.html


    Best Regards,
    Bruce

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 10, 2016 at 12:52 AM

    Hello Prakhar,

    from you attachment, the handler class for the transaction launcher is ZCL_MASS_OFFSET_NEW.

    But in the dump, it talks about IV_ID parameter for constructor method of class ZCL_MASS_OFFSET. Have you made some changes on the transaction launcher definitions? Since when does the dump started?

    1. Maybe you can create another transaction launcher ID for the same transaction url, and assign the transaction launcher ID to logic link to test again.

    2. or you can set breakpoint in line 32 where the dump occurs in method cl_crm_ui_frame_app_controller->before_navigate, and check how and why it is calling the constructor of class ZCL_MASS_OFFSET, instead of ZCL_MASS_OFFSET_NEW. Please attach the callstack.

    3. Is there a ST22 DUMP? If yes, it's better to upload the dump file here.

    4. Please check if there are constructor method for both ZCL_MASS_OFFSET_NEW and ZCL_MASS_OFFSET. If yes, please check what are parameters for them. Do they both have parameter IV_ID or not. Are they marked as mandatory? Are they marked by you? or by system automatically? Have you ever made changes in these two method?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 11, 2016 at 08:01 AM

    Hi all,

    Thanks for the response and sorry for the incorrect screen shot. Class is ZCL_MASS_OFFSET.
    I am getting this DUMP from the very start.


    I have also tried BOR object one but the result is exactly the same, dump with the same details.
    I have also found one BOR based Transaction Launcher which is working good. I compared all aspects of my object with that, no difference.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 12, 2016 at 02:38 AM

    Hello Prakhar,

    Please check this document: Transaction Launcher, it has almost everything compare your config according to it.

    Cheers,

    Shahid

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 12, 2016 at 02:37 AM

    Hi Prakhar,

    Please check the document Transaction Launcher, it has everything compare your config with it. I hope you will find what you might have missed.

    Thanks,

    Shahid

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 14, 2016 at 03:06 AM

    Hi Prakhar,

    From the dump file, the problem happens in line 32 of CL_CRM_UI_FRAME_APP_CONTROLLERCM00Y->BEFORE_NAVIGATION. I checked our own system, the statement in line 32 is CREATE OBJECT lr_object TYPE (ls_info-link_class).

    When I click menu of transaction launcher, when breakpoint stops here, the value for variant ls_info-link_class is

    CL_CRM_UI_LTX_NAVBAR_PARAM.

    But why in your dump, it is executing the constructor of class ZCL_MASS_OFFSET? instead of CL_CRM_UI_LTX_NAVBAR_PARAM?

    Please check your logic ID which for the menu, how you define it?

    Add comment
    10|10000 characters needed characters exceeded