Tuesday, May 20, 2008

ABAP function Module to SUBMIT a Program

ABAP function Module to SUBMIT a Program

If you wish to SUBMIT a program you can do so by using the SUBMIT statement or you can use the following function module. Once the called program executes the control is returned to the calling program.

RZL_SUBMIT

Please find the code below.


REPORT ZEX_FUNCCALLPROG .


Parameters: p_prog like sy-repid.


CALL FUNCTION 'RZL_SUBMIT'
  EXPORTING
    REPID         = p_prog
          .


Write:/ 'Control Returned'.


See Also:
Calling ABAP Executable Programs

No comments:

Post a Comment