ABAP Keyword Documentation → ABAP − Reference → program editing → Dynamic Program Editing → ABAP Source Code → Internal Statements for Source Code Processing
LOAD REPORT
Other versions: 7.31 | 7.40 | 7.54
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 and secondary keys are allowed.
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 the raising 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 <= i < 2^15 ==> i+1 - 2^14 index in datv_itab
2^15 <= i < 2^16 ==> i+1 - 2^15 parameter index
(2^14 = 16384, 2^15 = 32768)
Comment on row type x
If the row type x
is specified for the internal table, the width of the internal table determines the line break.
System Fields
sy-subrc | Meaning |
---|---|
0 | |
4 | |
8 |
Exceptions
Non-Handleable Exceptions
-
Cause: An invalid description has been specified in
PART
.
Runtime error:LOAD_REPORT_PART_NOT_FOUND
-
Cause: The specified internal table is too short.
Runtime error:LOAD_REPORT_TABLE_TOO_SHORT