Skip to Content
author's profile photo
Former Member

2 Basic questions

Hai guys,

i am beginner in Webdynpro.i have

2 basic questions in abap webdynpro.

1)after a view is designed,while generating the application,we usualy get a web applicaiton.and use the url to access the developed screen.

can we,alternatively,generate a ABAP transaction instead?(like instead of URL ,we shud get a tcode,like normal abap dynpro)

in other way,i want to develop abap dynpro using webdynpro tools.

2)can we take a webpage,and covert in into meta data and thus,use it to create the view?(the reverse of what we do)

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 07:50 PM


    ad 1. You cannot generate a SAP TCode to directly access a WDA application from SAPGUI, but you can create your own traditional SAP Transaction in ABAP and then integrate your WDA application in this classical SAPGUI application. For more details see

    You can also add your WDA application directly into your favorites of your SAPGUI Easy Access Menu - see

    ad 2. No. As far as I know this is not possible.



    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2007 at 01:27 PM

    Hello shravan,

    Regarding your first question: YES, you can attach a normal ABAP transaction to a WDA application.

    Check out this report code I wrote, you just need to change the k_wdappl_name constant value to your application name:

    REPORT y_abindi_001.
    CONSTANTS: k_browser      TYPE string VALUE 'IEXPLORE.EXE',
               k_mandt_prefix TYPE string VALUE '?sap-client=',
               k_wdappl_name  TYPE string VALUE 'YTEST_WD2'.   "Nombre de la aplicación
    DATA: g_mandt_param TYPE string,
          g_url         TYPE string.
      INTO g_mandt_param.
      CALL METHOD cl_wd_utilities=>construct_wd_url
          application_name = k_wdappl_name
          out_absolute_url = g_url.
      INTO g_url.
      CALL METHOD cl_gui_frontend_services=>execute
          application            = k_browser
          parameter              = g_url
          maximized              = 'X'
          cntl_error             = 1
          error_no_gui           = 2
          bad_parameter          = 3
          file_not_found         = 4
          path_not_found         = 5
          file_extension_unknown = 6
          error_execute_failed   = 7
          synchronous_failed     = 8
          not_supported_by_gui   = 9
          OTHERS                 = 10.
      IF sy-subrc <> 0.
        WRITE:/,'Error al ejecutar Browser (',k_browser,')'.

    Then attach a report transaction to this program, that's it.


    Add comment
    10|10000 characters needed characters exceeded