Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  program editing →  Dynamic Program Editing →  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. Secondary keys are permitted.

The following table displays the possible content of part, its relevance and the demanded row type of itab.

part relevance row type
'BASE' Segment table RBASE
'CLAS' Defined classes RCLAS
'CLFR' Load-table CLFR RCLFR
'CONS' Table of constants. x
'CREF' Static adressing 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 parameters and local field symbols RDATA
'DATV' Variable data descriptions (see below) RDATA
'DDNM' Used types from the 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 value of 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 adressing using interface reference variables RIREF
'LITL' Literal table. x
'LITX' Index table of literals RLITX
'LREF' Row reference RLREF
'OREF' Additional reference for adressing via object references ROREF
'PBAG' Additional descriptions of data types used in the program RPBAG
'SELC' Description of Selection screen-variables RSELC
'SREF' Load-table SREF RSREF
'SSCR' Description of selection screen RSSCR
'STCO' Load-table STCO. x
'STOR' Initial values of 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- resp. time-control blocks RTRIG
'TXID' Index of text elements (assigning of text keys to data control blocks) RTXID
'TYPE' Description of data types RTYPE
'VTAB' Offsets for all methods (classes, Event-Handler, Instances, Interfaces) RVTAB

Comment on DATA and DATV

To find the data description that belongs to a data index i, proceed as follows:

   0 <= i < 2^14  ==>  i+1        Index in data_itab
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 to line type x

If the line type x has been specified for the internal table, then the width of the internal table determines the line break.

System fields

sy-subrc Relevance
  0
  4
  8

Exceptions


Non-Catchable 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