cancel
Showing results for 
Search instead for 
Did you mean: 

Call a transaction

Former Member
0 Kudos

Hi experts,

I need to call a transaction SAP from web dynpro... How can I do?

TKS a lot

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

Refer these threads it has been discussed many times :

Former Member
0 Kudos

hi ,

do u need to Create a Transaction code for ur Web Dynpro application ?

or need to call a transaction frm ur application ?

Former Member
0 Kudos

I need to call a transaction from Web Dynpro Application...

I have a button on Web Dynpro Application, when I click on the button I have to open a transaction sap...

Former Member
0 Kudos

wud these threads

work

Former Member
0 Kudos

You can use WEBGUI for displaying SAP Transaction..

How to check whether WEBGUI is published or not????

Enter Tcode SICF.

Select the path as : /sap/bc/gui/sap/its/webgui

right click on webgui and click on "test" to execute the servies.it will open the sap screen in web browser.

*NOTE : if it gives an error you need to do some setting Reply if you want the steps for setting.*

Now it's time for some coding.

create LINK to URL or LINK TO ACTION according to requirement.

use URL as

URL = 'http://<url>:portno/sap/bc/gui/sap/its/webgui?~TRANSACTION=SU01D'.

"Note : you can find this url in ur WEBDYNPRO Application Properies

lo_api_component = wd_comp_controller->wd_get_api( ).

lo_window_manager = lo_api_component->get_window_manager( ).

ld_url = FINAL_URL.

CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW

EXPORTING URL = url

RECEIVING WINDOW = lo_window.

lo_window->open( ).