Skip to Content

webdynpro requirment


My scenario is how to transfer data to webdynpro apllication through URL .

Example :

please help me solution or document

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Aug 26, 2013 at 02:35 PM


    Create the Parameters in the HANDLEDEFAULT method of the window and read the parameters.

    Check the below documents for reference:

    You can also use class cl_http_request method get_uri_parameters to read the url parameters.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 26, 2013 at 02:39 PM


    Here you can add data in your URL..

    DATA: w_url TYPE string,
    w_value TYPE string.

    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.
    CALL METHOD cl_wd_utilities=>construct_wd_url
    application_name = '<your existing application name>' like zmy_app.
    out_absolute_url = w_url.

    CALL METHOD cl_http_server=>if_http_server~append_field_url
    name = 'vbeln'
    value = w_value "" here you can give your id... 0000000123

    url = w_url.

    " for opening new window at same action using new url..

    lo_api_component = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window = lo_window_manager->create_external_window( url = w_url ).
    lo_window->open( ).

    Here is code to fetch vbeln value..

    DATA lv_server_id TYPE string.

    lv_server_id = wdr_task=>client_window->get_parameter( 'vbeln').
    IF lv_server_id IS NOT INITIAL.

    Do your work..



    .. Chandra..

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 28, 2013 at 02:14 PM

    Hi Sanjeet,

    All great advice from Kiran and Chandra. You can see there is more than one way to implement this feature; here is another that is similar to both Kiran's and Chandra's suggestions.

    Code Snippet Series: Passing Parameters to Web Dynpro from SAPgui



    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.