cancel
Showing results for 
Search instead for 
Did you mean: 

Program name to start WAD

Former Member
0 Kudos

Hello,

Just like when we exucute the transaction code RRMX, program "RRMX_START_EXCEL" starts, which opens up the BEx analyzer, does any of you know if a similar program exists for Web Application Designer, so that I can simply execute a tcode to launch WAD. I wonder why SAP didn't provide it in the first place.

Thanks

Gova

Accepted Solutions (1)

Accepted Solutions (1)

former_member184494
Active Contributor
0 Kudos

I don't think WAD can be executed through a TCode . I think this is because WAD is more system specific and hence it has been kept outside.

However , in RRMX , a program is called to open excel when the TCode is executed. I think similarly any program can be executed through a tcode by using a similar way in which RRMX executes a program on the hard disk of the user and which is non SAP.

Arun

athavanraja
Active Contributor
0 Kudos

you can write a simple ABAP report program and attach the same to a transaction code. and within the abap pgoram write the following code.

cl_gui_frontend_services=>execute(
  EXPORTING
    DOCUMENT               = 'C:Program FilesSAPFrontEndBwwdbpwpub.exe'
*    APPLICATION            = APPLICATION
*    PARAMETER              = PARAMETER
*    DEFAULT_DIRECTORY      = DEFAULT_DIRECTORY
*    MAXIMIZED              = MAXIMIZED
*    MINIMIZED              = MINIMIZED
*    SYNCHRONOUS            = SYNCHRONOUS
*    OPERATION              = 'OPEN'
  EXCEPTIONS
    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.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

Regards

Raja

Former Member
0 Kudos

Thanks a lot for the replies.

I tried this but it didnt work. May be its because of some exceptions.

Thanks

Gova

athavanraja
Active Contributor
0 Kudos

whats the error/exception you are getting? let us know, we will try and fix it.

Regards

Raja

Answers (0)