Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what is use of LOAD key word in ABAP-HR

Former Member
0 Kudos

what is use of LOAD key word in ABAP-HR?

1 ACCEPTED SOLUTION

former_member188594
Active Participant
0 Kudos

Hi,

LOAD keyword is used to load all the parameter values.

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 .

Reward points if useful.

Regards,

Sekhar

2 REPLIES 2

former_member188594
Active Participant
0 Kudos

Hi,

LOAD keyword is used to load all the parameter values.

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 .

Reward points if useful.

Regards,

Sekhar

Former Member
0 Kudos

thanks