Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to prefill fields and skip first screen with webgui?

Hello,

I am working in an abap web dynpro component: in one view i have a button which on his action has to launch the transaction CG02 (EHS).

I have questions about the Link ITS / Sap Kernel: i use the ITS Service WEBGUI and i want to launch the transaction CG02. I want to go directly to the header data for a substance and skip the initial screen where we have to make a research for a substance.

I have the following URL:

'http://d5e.reach.ehs.saint-gobain.com:8081/sap/bc/gui/sap/its/webgui/?sap-client=100&sap-language=EN&~transaction=*CG02%20RCGRHSCR-SUBID=000000000007;DYNP_OKCODE=SHOW'.

The substance has the ID 000000000007.

I have read an article from Klaus Layer which talk about a new OKCODE.

My question: how to create this new OKCODE and where?

I success to go to the transaction CG02 but unfortunately i stay in the initial screen.

Can you help me?

Thanks.

F. BERRA

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question