INSERT REPORT

INSERT - Insert a Program

Additions:
1. ... EXTENSION TYPE exttype
2. ... APPENDAGE TYPE apptype
3. ... STATE state

Effect

Inserts program prog from the internal table itab into the library. The internal table itab contains the source text; the lines of the table may be up to 72 characters long. The program attributes (type, date and so on), are set by the system, but you can change them subsequently, either manually or in the program (table TRDIR).

Program names may be up to 30 characters ling. Tools within the SAP Basis system can assign program names of up to 40 characters. These program names contain two 5-character suffixes as well as the actual program name (30 characters). If you want to insert a new program into the library with a name longer than 30 characters, you must use the addition ... EXTENSION TYPE exttype or ... APPENDAGE TYPE apptype. If the program already exists, you can omit the addition.

Note

This addition is intended for internal use. SAP reserves the right to make changes, which may be incompatible, without notice!

Effect

Suffix 1 (characters 31-35) for program prog is checked against exttype. exttype must correspond to a constant from the type group SREXT. Suffix 2 (characters 36-40) may only contain spaces.

Note

This addition is intended for internal use. SAP reserves the right to make changes, which may be incommpatible, without notice!

Effect

Suffix 2 (characters 36-40) of program prog are checked against apptype. apptype must correspond to a constant from type group SREXT. The beginning of suffix 1 (character 31 onwards), must correspond to a constant from type group SREXT.

Note

This addition is intended for internal use. SAP reserves the right to make changes, which may be incompatible, without notice!

Effect

Determines the state in which program prog is saved in the library. state may be A (for active ) or I (for inactive). "Inactive" programs are only visible to the person currently working on them. All other users work with the "active" version of the program.

In the ABAP Workbench, you can define a set of programs being edited for each user. These programs are then saved as "inactive" until they are activated. If you omit the STATE addition, the system automatically uses the "inactive" state for these programs, and "active" for all others.

Related

DELETE REPORT, READ REPORT, SYNTAX-CHECK, GENERATE REPORT