cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass parameters for second screen to SAP webgui URL

Former Member
0 Kudos

Hi

I want to call SAP webgui from an application and want to pass some data which need to be prefilled in the screen.

Have gone through many threads

/people/durairaj.athavanraja/blog/2004/09/23/pass-parameter-to-its-url-upadated-21st-june-2008

https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=22375

Things work fine if I pass values to fields which are on first screen, but I am unable to pass data to fields on next screens.

Taking an example :

tCode for vendor creation is XK01 and it has many screens, now when I call url

http://HOST_NAME:8000/sap/bc/gui/sap/its/webgui/!?sap-client=CLIENT_ID&sap-user=SAP_USER&sap-passwor... RF02K-LIFNR=Ven1001;

I am able to view Ven1001 in vendor code in first screen

But when I call

http://phxng4709:8000/sap/bc/gui/sap/its/webgui/!?sap-client=100&sap-user=testuser1&sap-password=SAP... RF02K-LIFNR=Ven1111;RF02K-BUKRS=COCO;RF02K-EKORG=NG01;RF02K-KTOKK=0001;ADDR1_DATA-NAME1=VEN_NAME

All the fields on first screen get populated but I don't get VEN_NAME in Name1 field on GUI

Tried this

http://phxng4709:8000/sap/bc/gui/sap/its/webgui/!?sap-client=100&sap-user=testuser1&sap-password=SAP... RF02K-LIFNR=Ven1111;RF02K-BUKRS=COCO;RF02K-EKORG=NG01;RF02K-KTOKK=0001;Ok_Code=ENTR;ADDR1_DATA-NAME1=VEN_NAME

as well, but no success

Can anybody help. Thanks in advance

Ruhi

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

you can only pass values to first screen fields