SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → program editing → Dynamic Program Editing → Source Code → Internal Statements for Source Code Processing →
This statement is for internal use only.
It must not be used in application programs.
Syntax
LOAD REPORT prog PART part INTO itab.
Effect
The part (specified in part) of the generated form (load) of the program prog, given in prog is loaded to the internal table itab for analysis.itab must be a standard table. Secondary keys are permitted.
The following table displays the possible content of part, its relevance, and the requested row type of itab.
part | Meaning | Row Type |
'BASE' | Segment Table | RBASE |
'CLAS' | Defined classes | RCLAS |
'CLFR' | Load table CLFR | RCLFR |
'CONS' | Table of constants | x |
'CREF' | Static addressing of classes | RCREF |
'COMP' | Description of the components of the internal structures that are used in the program | RDATA |
'CONT' | Processing control blocks | RCONT |
'DATA' | Static data descriptions (see below) | RDATA |
'DATL' | Load table DATL | RDATA |
'DATP' | Data descriptions of the parameters and local field symbols | RDATA |
'DATV' | Variable data descriptions (see below) | RDATA |
'DDNM' | Used types from ABAP Dictionary | RDDNM |
'EVNT' | Event descriptors defined by triggering class | REVNT |
'EXCP' | Load table EXCP | REXCP |
'GCIX' | Load table GCIX | RGCIX |
'HEAD' | Program header | RHEAD |
'INCL' | Load table INCL | c, Length 40 |
'INIT' | Initial values of the local data | x |
'INTC' | Load table INTC | RINTC |
'INTD' | Used interfaces | RINTD |
'INTI' | Implemented interfaces | RINTI |
'INTR' | Load table INTR | RINTR |
'IREF' | Additional information for addressing using interface reference variables | RIREF |
'LITL' | Literal table | x |
'LITX' | Index table of literals | RLITX |
'LREF' | Row reference | RLREF |
'OREF' | Additional information for addressing using object references | ROREF |
'PBAG' | Additional descriptions of the data types used in the program | RPBAG |
'SELC' | Description of the selection screen variables | RSELC |
'SREF' | Load table SREF | RSREF |
'SSCR' | Description of the selection screen | RSSCR |
'STCO' | Load table STCO | x |
'STOR' | Initial values of the global data | x |
'STIX' | Load table SREF | RSTIX |
'SYMB' | Symbol table | RSYMB |
'SYMBDATA' | Load table SYMBDATA | RSYMBDATA |
'SYMBEVNT' | Load table SYMBEVNT | RSYEV |
'SYMBINTFEVNT' | Load table SYMBINTFEVNT | RSYIEV |
'SYMBINTFMETH' | Load table SYMBINTFMETH | RSYIME |
'SYMBMETH' | Load table SYMBMETH | RSYME |
'SYMBMETHEXCP' | Load table SYMBMETHEXCP | RSYME |
'SYMBMETHPARM' | Load table SYMBMETHPARM | RSYME |
'TPLR' | Load table TPLR | RTPLR |
'TRIG' | Event or time control blocks | RTRIG |
'TXID' | Index of text elements (assignment of text keys to data control blocks) | RTXID |
'TYPE' | Description of the data types | RTYPE |
'VTAB' | Offsets for all methods (classes, event handlers, instances, interfaces) | RVTAB |
Comment on DATA and DATV:
To find the data description that belongs to a data index i, proceed as follows:
(2^14 = 16384, 2^15 = 32768)
Comment on row type x:
If the row type x is specified for the internal table, then the width of the internal table determines the line break.
System Fields
sy-subrc | Meaning | |
0 | The load of the program prog exists and is up-to-date. The internal table itab was filled. | |
4 | The load of the program prog does not exist. | |
8 | The load of the program prog exists, but is not up-to-date. In special cases, this sy-subrc can also mean that the program load has been destroyed. This can be fixed by generating again. In PART 'LREF', sy-subrc = 8 means that the row reference table does not fit the program. In PART 'CONT', the reference part of the internal table is not filled. |
Non-Catchable Exceptions