cancel
Showing results for 
Search instead for 
Did you mean: 

Pass a parameter to URL for WebGUI transaction

Former Member
0 Kudos
26,383

Hello,

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.

https://<server>/sap/bc/gui/sap/its/webgui/?sap-client=<client>~TRANSACTION=*ME52N%20MEREQ_TOPLINE-B...
https://<server>/sap/bc/gui/sap/its/webgui/?sap-client=<client>&~transaction=ME52N%20MEPO_SELECT-BAN...;
https://<server>/sap/bc/gui/sap/its/webgui/?sap-client=555&sap-language=en&sap-personas-theme=<Theme...;

Accepted Solutions (1)

Accepted Solutions (1)

former_member194364
Active Contributor
0 Kudos

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... MEPO_SELECT-BANFN=<PRNumber>;DYNP_OKCODE=SHOW

Regards,

Oisin

Former Member
0 Kudos

Hi Oisin,

Thank you for your response. I tried the first notation and regardless of what I put as a PRNumber, it still takes me to my last viewed PR.

former_member194364
Active Contributor
0 Kudos

Hi Andrew,

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

If you call

....sap/bc/gui/sap/its/webgui?~transaction=*ME52N

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

Regards,

Oisin

Answers (0)