How to prefill fields and skip first screen with webgui?
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:
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?