SAP GENERATE - Reference ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for GENERATE_REPORT

GENERATE SUBROUTINE POOL

ABAP Reference
ABAP Code Snippet


ABAP Syntax GENERATE SUBROUTINE POOL itab NAME prog

[MESSAGE mess]
ABAP Code Snippet
[LINE lin]
[WORD wrd]
[OFFSET off]
[MESSAGE-ID mid]
[SHORTDUMP-ID sid].
ABAP Code Snippet

What does it do? Generates a temporary subroutine pool from the content of an internal table itab. Its name is returned in prog.

ABAP Addition MESSAGE mess
If there is a syntax error, it returns the first error message in mess.
ABAP Code Snippet
If there is a syntax error, it returns the name of the Incude program in which the error occurs in incl .
LINE lin
If there is a syntax error, it returns the first incorrect line in lin .
WORD wrd
If there is a syntax error, it returns the first incorrect word in wrd .
OFFSET off
If there is a syntax error, it returns the offset of the first error in the row in off.
MESSAGE-ID mid
If there is a syntax error, it returns the key of the first error message from the table TRMSG in mid.
SHORTDUMP-ID sid
If there is a generation error, it returns the ID of the error from the table SNAPT in sid.

Return to menu