Skip to Content
avatar image
Former Member

calling tcode using link to url

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 20, 2011 at 04:25 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • Jul 19, 2011 at 02:30 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • Jul 20, 2011 at 02:30 AM

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

    reg-calling-transaction-code-in-webdynpro-abap

    Cheers,

    Kris.

    Add comment
    10|10000 characters needed characters exceeded