cancel
Showing results for 
Search instead for 
Did you mean: 

calling tcode using link to url

former_member740473
Participant
0 Kudos

hi friends,

i want to call tcode SE38 in webdynpro application by using linktourl.

here i am going to

shuffler

system

webgui in internet service

and then right click on it then

publish->complete service.

and later i am going to tcode sicf

here i am giving the path /sap/bc/gui/sap/its/webgui and activate it

what is the need of giving the path here

and who is going to give the path as default....?

can anyone explain clearlly..

Thanks in advance

karunakar

Edited by: bkarunakar on Jul 19, 2011 3:56 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

*what is the need of giving the path here

and who is going to give the path as default....?*

The SICF path corresponds to the service of ITS(Internet Transaction Server) Webgui. This path is a standard one and do not change from system to system. ITS links the web server to application server. Using Webgui or SAP GUI for HTML, all the ABAP transactions can be accessed in browser. When we are trying to launch ABAP transaction from Web Dynpro application which is a web application, we need to specify a URL so that the transaction we need can be launched. For this purpose we use ITS service. Suppose we want to launch transaction SE38, then the URL we need to specify as

'/sap/bc/gui/sap/its/webgui?~Transaction=SE38'.

Hope this helps!

Best Regards,

Srilatha

former_member740473
Participant
0 Kudos

thanks srilatha,

but i want to know who will configure the sicf path.... i.e basis or ?

or

i am creating two components

in one component i am calling se11

and in antoher component i am calling se38

for each and every applicatin we hav to configure the sicf path...?

can u explain in detail...

regards,

karunakar

former_member199125
Active Contributor
0 Kudos

Hi Karunkar,

its not about setting in SICF, once you create the componenet , automatically corresponding application will be created in SICF transaction.

So just pass the path I have mentioned in above post in reference property of URL.

For your knowledge, once you transport the component to production , you have to activate the corresponding service in SICF.by default once you transport it will be in deactive mode.

Regards

Srinivas

Former Member
0 Kudos

Hi,

I guess this WEBGUI service is present in SICF by default (standard) or may be its created when we publish the complete service for WEBGUI Internet Service. But the service could be deactivated. So you would have to check if that is active and activate it if its not active. And this path would be same in whichever component you want to use.

So the path /sap/bc/gui/sap/its/webgui remains the same. You have to concatenate ?~transaction=SE38 or ?~transaction=SE11 to that path depending on your requirement.

Hope this is clear!

Best Regards,

Srilatha M

former_member740473
Participant
0 Kudos

thanks srilatha & sanasrinivas for your posts...

my question is clear now i.e once we have to give the path in sicf and we hav to activate it.

and later we can directlly call the transaction by using the browser..

as

http://xxxxxxxxxxx/sap/bc/gui/sap/its/webgui?~transaction= required tcode

here xxxxxx is the host name.

regards,

karunakar

Former Member
0 Kudos

Hi,

Its hostname:portnumber

Best Regards,

Srilatha

former_member740473
Participant
0 Kudos

hi srilatha,

and i have a doubt also that is

without creating any component also can i call the tcode by using the browser..?

and whatm is the use of

shuffler

system

webgui in internet service

and then right click on it then

publish->complete service in webdynpro application.

regrads,

karunakar

former_member199125
Active Contributor
0 Kudos

hi karunkar,

yes, You can use that url directly in browser, but when you use directly in browser it will ask server logon details. But no one will use that.

ITS (Internet Transaction Server) is the interface between the Internet and R/3. and It is a runtime engine that links Web server to the R/3 Application server.

To call transaction code through Webdynpro application, we need to activate those services.

Regards

Srinivas

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Karunakar,

Goto 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.**

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=SE38'. // 

"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( ).

Also check this...

Cheers,

Kris.

former_member199125
Active Contributor
0 Kudos

Hi karunakar,

Once you activate the webgui service in SICF code,

go to your view, in that linktourl ui element

use the below text in reference property of link to url

http://xxxxxxxxxxx/sap/bc/gui/sap/its/webgui?~transaction=se38

where xxxxxx is host name. domain , for example rb3ni82.server.bosch.com:3865

Hope this solves

Regards

Srinivas

amit_upadhye2
Participant
0 Kudos

HI Sri,

I am able to reach this and able to launch se38 but I have a requirement where I want to launch a specific report and not a transaction. Is there any way to launch/execute a specific report using a url . If not what is the standard approach to such scenario ?

Regards,

Amit