Skip to Content
avatar image
Former Member

How to include dynamic hyperlink of CR created for Customer Creation in email body in MDGC

Dear Experts,

We have a requirement that We have to include dynamic hyperlink of particular CR created for Customer creation in MDG.

We can statically give one hyperlink of NWBC home page. but the client wants a particular link which directs to particular CR request..

Please let us know how to achieve this.

Correct solution will be highly appreciated.

Regards,

Kavya.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 04, 2015 at 10:15 AM

    Hi Kavya,

    You need to build a url like: http://xxx.com:8000/sap/bc/webdynpro/sap/BS_OVP_BP?SAP-CLIENT=100&SAP-LANGUAGE=EN&CREQUEST=000000000009&CRTYPE=CUST2P1&WDCONFIGURATIONID=BS_OVP_CU

    With class cl_usmd_wf_navigation_handler you can get the parameters you need (methods get_instance and get_navigation_parameters)

    The first part of the URL you can construct with  cl_http_server=>if_http_server~get_location or CL_WD_UTILITIES=>CONSTRUCT_WD_URL

    Cheers, Henk

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 04, 2015 at 09:59 AM

    Hi ,

    Check method ON_USER_COMMAND of Class CL_USMD_EDITION_CREQ_GUI_WD.This might give some hint.

    Regards,

    Raghu

    Add comment
    10|10000 characters needed characters exceeded