ABAP Keyword Documentation → ABAP − Short Reference
GENERATE SUBROUTINE POOL - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
GENERATE SUBROUTINE POOL itab NAME prog
[MESSAGE mess]
[INCLUDE incl]
[LINE lin]
[WORD wrd]
[OFFSET off]
[MESSAGE-ID mid]
[SHORTDUMP-ID sid].
Effect
Generates a temporary subroutine
pool from the content of an internal table itab
. Its name is returned in prog
.
Additions
-
MESSAGE mess
If there is a syntax error, it returns the first error message inmess
. -
INCLUDE incl
If there is a syntax error, it returns the name of the Incude program in which the error occurs inincl
. -
LINE lin
If there is a syntax error, it returns the first incorrect line inlin
. -
WORD wrd
If there is a syntax error, it returns the first incorrect word inwrd
. -
OFFSET off
If there is a syntax error, it returns the offset of the first error in the row inoff
. -
MESSAGE-ID mid
If there is a syntax error, it returns the key of the first error message from the table TRMSG inmid
. -
SHORTDUMP-ID sid
If there is a generation error, it returns the ID of the error from the table SNAPT insid
.