Skip to Content
avatar image
Former Member

Pass a parameter to URL for WebGUI transaction


I'm trying to call transaction ME52N from a custom app that I built in SAPUI5. When you click the button, it will take you to a personas WebGUI version of ME52N so you can make edits to the PR. I can't figure out how to pass in a parameter for the PR number. I want it to take you to the right PR based on what you had in the custom app.

Here's what I've tried and none of these have worked.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 02, 2017 at 09:32 PM

    Hello Andrew,

    have you seen the following WIKI

    How to prefill fields and skip first screen with webgui?

    can you try the following notation

    http://WAS_HOST:WAS_PORT/sap/bc/gui/sap/its/webgui?~transaction=*ME52N MEPO_SELECT-BANFN=<PRNumber>;DYNP_OKCODE=SHOW

    if this works then try

    http://WAS_HOST:WAS_PORT/sap/bc/gui/sap/its/webgui?sap-client=555&sap-language=en&sap-personas-theme=<ThemeID>&~transaction=*ME52N MEPO_SELECT-BANFN=<PRNumber>;DYNP_OKCODE=SHOW



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Andrew,

      what is your SAP_BASIS and Kernel patch that you are using here?

      If you call*ME52N

      does it always return one to the last viewed PR as well?