LOAD



Basic form

LOAD REPORT prog PART part INTO itab.

Variants


1. LOAD REPORT prog PART 'HEAD' INTO itab.
2. LOAD REPORT prog PART 'TRIG' INTO itab.
3. LOAD REPORT prog PART 'CONT' INTO itab.
4. LOAD REPORT prog PART 'DATA' INTO itab.
5. LOAD REPORT prog PART 'DDNM' INTO itab.
6. LOAD REPORT prog PART 'DATV' INTO itab.
7. LOAD REPORT prog PART 'SELC' INTO itab.
8. LOAD REPORT prog PART 'STOR' INTO itab.
9. LOAD REPORT prog PART 'LITL' INTO itab.
10. LOAD REPORT prog PART 'SYMB' INTO itab.
11. LOAD REPORT prog PART 'LREF' INTO itab.
12. LOAD REPORT prog PART 'SSCR' INTO itab.
13. LOAD REPORT prog PART 'BASE' INTO itab.
14. LOAD REPORT prog PART 'INIT' INTO itab.
15. LOAD REPORT prog PART 'DATP' INTO itab.
16. LOAD REPORT prog PART 'TXID' INTO itab.
17. LOAD REPORT prog PART 'COMP' INTO itab.

Effect

Loads the specified part of the generated version of the program prog into the internal table itab (for analysis purposes only).

The return code value is set as follows:


SY-SUBRC = 0 The load for the program prog exists and is current.
SY_SUBRC = 4 The load for the program prog does not exist.
SY-SUBRC = 8 The load for the program prog exists, but is not current. In some cases, this SY-SUBRC may mean that the program load has been destroyed. You can resolve this by generating the program. With PART 'LREF' , SY-SUBRC = 8 means that the line reference table is incorrect for the program. With PART 'CONT' , it means that the reference part of the internal table is empty.
itab has been filled only if SY-SUBRC = 0 .

Variant 1

LOAD REPORT prog PART 'HEAD' INTO itab.

Effect

Loads the program header into line 1 of the internal table itab . itab must have the Dictionary structure RHEAD .

Variant 2

LOAD REPORT prog PART 'TRIG' INTO itab.

Effect

Loads the event control blocks into the internal table itab . itab must have the Dictionary structure RTRIG .

Variant 3

LOAD REPORT prog PART 'CONT' INTO itab.

Effect

Loads the processing control blocks into the internal table itab . itab must have the Dictionary structure RCONT .

Variant 4

LOAD REPORT prog PART 'DATA' INTO itab.

Effect

Loads the static data descriptions into the internal table itab . itab must have the Dictionary structure RDATA .

To find the data description for 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)

Variant 5

LOAD REPORT prog PART 'DDNM' INTO itab.

Effect

The names of the dictionary structures used in the program are set in the internal table itab . itab must have the dictionary structure RDDNM .

Variant 6

LOAD REPORT prog PART 'DATV' INTO itab.

Effect

Loads the variable data descriptions into the internal table itab . itab must have the Dictionary structure RDATA .

To find the data description for 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)

Variant 7

LOAD REPORT prog PART 'SELC' INTO itab.

Effect

Loads the description of the selection variables ( SELECT-OPTIONS and PARAMETERS ) into the internal table itab . itab must have the Dictionary structure RSELC .

Variant 8

LOAD REPORT prog PART 'STOR' INTO itab.

Effect

Loads the initial values of the global data into the internal table itab . The line width of itab determines where the line break occurs. Ideally, itab should contain exactly one field of the type X .

Variant 9

LOAD REPORT prog PART 'LITL' INTO itab.

Effect

Loads the literal table into the internal table itab . The line width of itab determines where the line break occurs. Ideally, itab should contain exactly one field of the type X .

Variant 10

LOAD REPORT prog PART 'SYMB' INTO itab.

Effect

Loads the symbol table into the internal table itab . itab must have the Dictionary structure RSYMB .

Variant 11

LOAD REPORT prog PART 'LREF' INTO itab.

Effect

Loads the line reference into the internal table itab . itab must have the Dictionary structure RLREF .

Variant 12

LOAD REPORT prog PART 'SSCR' INTO itab.

Effect

Loads the description of the selection screen into the internal table itab . itab must have the Dictionary structure RSSCR .

Variant 13

LOAD REPORT prog PART 'BASE' INTO itab.

Effect

Loads the segment table into the internal table itab . itab must have the Dictionary structure RBASE .

Variant 14

LOAD REPORT prog PART 'INIT' INTO itab.

Effect

Loads the initial values of the local data into the internal table itab . The line width of itab determines where the line break occurs. Ideally, itab should contain exactly one field of the type X .

Variant 15

LOAD REPORT prog PART 'DATP' INTO itab.

Effect

Loads the data descriptions of the parameters and local field symbols into the internal table itab . itab must have the dictionary structure RDATA .

Variant 16

LOAD REPORT prog PART 'TXID' INTO itab.

Effect

Loads the index of the text elements (assignment of text keys to data control blocks) into the internal table itab . itab must have the dictionary structure RTXID .

Variant 17

LOAD REPORT prog PART 'COMP' INTO itab.

Effect

Loads the description of the components of the (internal) structures used in the program into the internal table itab . itab must have the dictionary structure RDATA .

Note

Runtime errors


Index
© SAP AG 1996