cancel
Showing results for 
Search instead for 
Did you mean: 

webbgui - calling a transaction and specify variant or parameter in url

rok_scuka
Discoverer
0 Kudos

Hi!

Is it possible to call Easy Web Transaction (EWT) with variant specified in URL? I have one report (program) with many variants and EWTtransaction created for this program. I would like to avoid creating EW transaction for each variant. Also is it possible to specify parameters in URL and transfer them to application. We are using webgui on ITS 6.20 server and R/3 Enterprise 4.7.

Such functionality (calling reports with variants or parameters in url) was possible in webreporting. Example of url that we used in webreporting:

http://<host>:<port>/scripts/wgate/xgwfc/!?_FUNCTION=WWW_GET_REPORT&_REPORT=<report>&_VARIANT=<varia...;

Thank you,

Rok

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

What is the error that you get when you pass the parameter.

We have done services that passes parmeter (Without EWT).

regards

barin

rok_scuka
Discoverer
0 Kudos

Hi!

I have tried to pass parameter for screen field BUKRS-LOW in transaction KE5Z (without EWT) but with no success. The example of url:

http://<host>:<port>/scripts/wgate/webgui/!?~transaction=KE5Z&BUKRS-LOW =2000

It opens transaction KE5Z but it doesnu2019t fill the screen field u201CBUKRS-LOWu201D.

I also tried to call transaction KE5Z (without EWT) with variant VAR (which is stored in variant catalog for program) with the below url u2013 also unsuccessfully. It opens transaction, but without specified variant.

http://<host>:<port>/scripts/wgate/webgui/!?~transaction=KE5Z&_VARIANT=VAR

How do you pass parameters for transactions in webgui?

Former Member
0 Kudos

define the parameters in ITS service in SICF under parameters without ~ for example

below WEB_FLAG is a parameter on screen with value X.

WEB_FLAG X

~AUTOSCROLL 0

~LANGUAGE

~LOGIN

~OKCODE CONT

~PASSWORD

~TRANSACTION WS12400005

~WEBTRANSACTIONTYPE EWT

Answers (3)

Answers (3)

rok_scuka
Discoverer
0 Kudos

Is there method to prefill fields of a screen with variables stored in program variant or is it possible to pass value from »variable name« (eg. stored in table TVARVC) instead of fixed values in URL?

Best regards,

Rok

Former Member
0 Kudos

Hi Rok,

Have a look at the ITS Wiki

[https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375]

Regards,

Dieter

rok_scuka
Discoverer
0 Kudos

Is it possible to define ITS service parameters in tr. SICF for standalone ITS 6.20 (itu2019s not integrated ITS)? I didnu2019t find any parameters in SICF.

Former Member
0 Kudos

if you are using external 6.20 then define the same in external ITS