Skip to content

ABAP Keyword Documentation →  ABAP − Short Reference 

GENERATE SUBROUTINE POOL - Short Reference

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 in mess.
  • INCLUDE incl
    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.