on 08-12-2011 10:47 AM
Hi friends,
I want to open the secatt applications second screen from webdynpro UI. For this I am using the following code on webdynpro side
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'appname'
IMPORTING
out_absolute_url = lv_final_url.
SPLIT lv_final_url AT 'webdynpro' INTO lv_first_url lv_second_url.
SPLIT lv_second_url AT 'ztwb_tor' INTO lv_final_url lv_apostrophe.
CLEAR lv_final_url.
CONCATENATE lv_first_url '/gui/sap/its/webgui?TRANSACTION=secatt&RB_TEST_CONFIG=X&RB_ECATT_SCRIPT=& ECTC_VER-NAME =' ls_ztwb_test_case-testcase '&okcode=ECOB_SHOW' lv_apostrophe
INTO lv_final_url.
CALL METHOD lo_window_manager->create_external_window
EXPORTING
url = lv_final_url
RECEIVING
window = lo_window.
lo_window->open( ).
But I am still able to open the first screen of secatt and not the second screen with the relevant testcase datails.
But if I try to open the second screen of SCAT transaction I am able to open it using the following url.
CONCATENATE lv_first_url '/gui/sap/its/webgui?TRANSACTION=SCAT&*CATA-ABLNR=' ls_ztwb_test_case-testcase '&okcode=ZEIG' lv_apostrophe
INTO lv_final_url.
Is there anything else that I need to pass as parameters in SECATT transaction.
The program of SCAT transaction is a module pool program.
The program of secatt transaction is a function pool program.
Thank you.
Hi Saravanan ,
Can you please let me know how to move to the landing screen and pass parameters.
Thanks,
Mohsin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mohsin,
I checked the program of SECATT. its just uses the workbench manager to start the respective GUI screen and its not passing any parameters. So I doubt whether you can pass parameters or OKcode to the SECATT tcode.
What you can do is to identify the respective landing screen of SECATT tcode and invoke them by passing parameters.
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saravanan ,
I tried this but it is still opening the first screen of the SAP GUI. Is there any other way.
Thanks,
Mohsin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mohsin.
the parameter ~okcode is obsolete. Have a look at the following link
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375
And also the parameters should be separated by ';'. check it out.
BR ,Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.