Skip to Content
author's profile photo Former Member
Former Member

Prefilled values in WD ABAP page


We have developed a WD ABAP application. We have to send this page as a link to another user through email with pre-filled values (for example within an ID field). Request your guidance on how we can achieve this.


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Jan 18, 2015 at 08:00 AM

    Hi Subramanian,

    You can add the url parameters to the webdynpro application and send the application as a link.

    Data lv_url type string.

    call method cl_wd_utilities=>construct_wd_url


    application_name = 'ZAPPLICATION_NAME'


    out_absolute_url = lv_url.

    call method cl_http_server=>append_field_url


    name = 'Zref_id'

    value = lv_value


    url = lv_url.

    lv_url can be sent link through email.

    lv_url will have all the ref_id which can used to populate the form in the wddoinit method where ref_id can be read through

    lv_ref = wdr_task=>client_window->get_parameter( 'Zref_id' ).

    and this can be used to pre - populate



    Add comment
    10|10000 characters needed characters exceeded