How to pass parameters and skip first screen for webgui service restricted to one transaction
I have a business requirement to display SAP data (e.g. transaction VA05) via webgui. I have created a service zwebgui by copying service webgui and added parameters ~singletransaction = 1 and ~transaction = VA05. This launches transaction VA05 and users navigation is restricted within that transaction. I need to pass value to screen field sold-to party VBCOM-KUNDE as URL parameter and skip first screen.
I have tried passing parameters to service webgui
http://server-name:8000/sap/bc/gui/sap/its/webgui/!?~transaction=*va05 VBCOM_KUNDE=100000 and it works. However I have read that passing OKCODE value DYNP_OKCODE = XXXX is obsolete. What is the alternative?
When we create a new service to restrict access to single transaction? How to pass parameters to that service?
http://server-name:8000/sap/bc/gui/sap/its/test/zwebgui/!?~transaction=*va05 VBCOM_KUNDE=100000 does not pass the customer value.