Skip to Content

how to call an external server from Webdynpro program?

Hi All,

i have a requirement in which i have to call an external server from Webdynpro ABAP program.

how to imp

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2009 at 08:57 AM

    hi ,

    do u mean u need to call the external link from ur WD ABAP application ?

    if so , u either create

    1 a Link to URL ( LTU ) UI element and call the external link using that

    2 if u wish to use some other fuctionality and thn wish to call the URL in ur application ,u write this piece of code in ur relevant on Action method :

    data:  lo_window_manager type ref to if_wd_window_manager. 
    data:  lo_api_component  type ref to if_wd_component. 
    data:  lo_window         type ref to if_wd_window. 
    data:  ld_url type string. 
    lo_api_component  = wd_comp_controller->wd_get_api( ). 
    lo_window_manager = lo_api_component->get_window_manager( ).
     ld_url =  ''.  // ur external sever link here
    CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW      
     EXPORTING     URL                = ld_url            
    RECEIVING     WINDOW         = lo_window. 
     lo_window->open( ).
    

    I hope u wud be able to create URL now .

    regards,

    amit

    Edited by: amit saini on Oct 13, 2009 11:25 AM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.