SAP INSERT REPORT EXCEPTIONS ABAP Statements

Get Example source ABAP code based on a different SAP table
  


ABAP Code Snippet



Runtime Exceptions

Catchable Exceptions
CX_SY_WRITE_SRC_LINE_TOO_LONG
Reason for error:
A line in the source code contains more than 255 characters.
Runtime error:
INSERT_REPORT_LINE_TOO_LONG


Non-catchable Exceptions
Reason for error:
The program name prog is reserved internally; it begins with '%_T'.
Runtime error:
INSERT_PROGRAM_INTERNAL_NAME
Reason for error:
The program name prog begins with a blank, which is not permitted.
Runtime error:
INSERT_PROGRAM_NAME_BLANK
Reason for error:
The program name prog is too long; it can be no more than 40 characters long.
Runtime error:
INSERT_PROGRAM_NAME_TOO_LONG
Reason for error:
Suffix 2 in the program name prog is invalid or does not correspond to the specification apptype.
Runtime error:
INSERT_REPORT_BAD_APPENDAGE
Reason for error:
The specification apptype is invalid. Valid values are defined in the type group SREXT.
Runtime error:
INSERT_REPORT_BAD_APPTYPE
Reason for error:
Suffix 1 in the program name prog is invalid or does not correspond to the specification exttype.
Runtime error:
INSERT_REPORT_BAD_EXTENSION
Reason for error:
The specification exttype is invalid. Valid values are defined in the type group SREXT.
Runtime error:
INSERT_REPORT_BAD_EXTTYPE
Reason for error:
The value of the field uc is not 'X' or ' '.
Runtime error:
INSERT_REPORT_ILLEGAL_FLAG
Reason for error:
The value of the field pt is not '1', 'I', 'S' , 'M', 'F', 'J', or 'K'.
Runtime error:
INSERT_REPORT_ILLEGAL_PROGTYPE
Reason for error:
The program name prog is longer than 30 characters and the program does not yet exist in the library. Without the ... APPENDAGE TYPE apptype addition, the program cannot be inserted.
Runtime error:
INSERT_REPORT_NO_APPTYPE
Reason for error:
The program name prog is longer than 30 characters and the program does not yet exist in the library. Without the ... EXTENSION TYPE exttype addition, the program cannot be inserted.
Runtime error:
INSERT_REPORT_NO_EXTTYPE

Return to menu