on 05-12-2009 9:57 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uday,
It's not completly the same pb: for me i have a button in the view, and i have the following codes on the method Action:
DATA: ld_url TYPE string,
ld_url1 TYPE string,
ld_url2 TYPE string,
ld_url3 TYPE string.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
ld_url1 = 'http://d5e.reach.ehs.saint-gobain.com:8081/sap/bc/gui/sap/its/webgui/?'.
ld_url2 = 'sap-client=100&sap-language=EN&~transaction=*CG02'.
ld_url3 = '&~okcode=&WBCHIS; RCGRHSCR-SUBID=000000000007'.
CONCATENATE ld_url1 ld_url2 ld_url3 INTO ld_url.
CALL METHOD lo_window_manager->create_external_window
EXPORTING
url = ld_url "'http://www.sapdev.co.uk'
RECEIVING
window = lo_window.
lo_window->open( ).
I succeeded with this code for a simple transaction like SE37: you have an input field for your transaction, you launch the execution and all is OK.
But for transaction CG02, it's more complex: when you arrive to the transaction, you have to make an action: search the specification : the corresponding okcode is '&WBCHIS', than you put a specification, you make ENTER, you double click on the line and you obtain the header data that you search.
I don't succeed in this case.
Have you an idea?
Best Regards.
F. BERRA
For everybody having this problem, at my end it was a space not s semicolomn.
sap/bc/gui/sap/its/webgui?sap-client=100&sap-language=en&~transaction=*IW33%20CAUFVD-AUFNR=004000000123%20DYNP_OKCODE=SHOW#
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello to everyone, i have the same question,
Hi all,
I have a simple question: can we put several okcodes in a same url in order to call a transaction
(navigate in it)?
Thanks.
Is this possible with ITS?
thank you.
Nicolas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
I have a simple question: can we put several okcodes in a same url in order to call a transaction
(navigate in it)?
Thanks.
F. BERRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try to use OBN (Object based Navigation) for this purpose if you are running your application in Portal. Using OBN it is possible to pass the parameters and skip the initial screen. For more info refer http://help.sap.com/saphelp_nw70/helpdata/EN/29/575a421b5ec153e10000000a1550b0/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm in a context of Abap Web dynpro and the WD component created is not yet integrated in the portal.
I want to solve my pb in R3 (SE80) when i trigger the action on the view.
I don't understand how the OBN services permit to navigate and launch the transaction CG02 without having the first screen ?
Thanks for your response.
F. BERRA
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.