Basic form
LOAD REPORT prog PART part 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 < 14 ="="> i+1 Index in data_itab
2^14 <= i < 15 ="="> i+1 - 2^14 Index in
datv_itab
2^15 <= i < 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 < 14 ="="> i+1 Index in data_itab
2^14 <= i < 15 ="="> i+1 - 2^14 Index in
datv_itab
2^15 <= i < 16 ="="> i+1 - 2^15 Parameter index
(2^14 = 16384, 2^15 = 32768)(87)
Related Post
Syntax for Insert data into Table and Insert part two and Leave
You can go through entire syntax check here.
Check SAP SCRIPTS AND SMART FORMS BDC HERE COMPLETELY.
Learn object oriented approach of SAP ABAP HERE COMPLETELY.
ABAP ALE CONFIGURATION
BADI Complete Series and BAPI complete course
Other Programming Courses :
ASP.NET part one and two
Programming with C and C Sharp
Dot Net Complete Course Part one and two
Interview Questions in dot net and asp.net part one part two
Software Testing Complete course part one and two
Interview Questions in software Testing
V model Software Testing and Eleven steps in V model Testing
COMMENT HERE and thank you for sparing your valuable time.
Thank you for visiting SAP ABAP.If you liked the post, please subscribe to RSS FEED or get the updates directly into your mail box through EMAIL SUBSCRIPTION.If you want to contact me click here.
Request you to share this page on your favorite book mark site.

LOAD REPORT prog PART part 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 < 14 ="="> i+1 Index in data_itab
2^14 <= i < 15 ="="> i+1 - 2^14 Index in
datv_itab
2^15 <= i < 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 < 14 ="="> i+1 Index in data_itab
2^14 <= i < 15 ="="> i+1 - 2^14 Index in
datv_itab
2^15 <= i < 16 ="="> i+1 - 2^15 Parameter index
(2^14 = 16384, 2^15 = 32768)(87)
Related Post
Syntax for Insert data into Table and Insert part two and Leave
You can go through entire syntax check here.
Check SAP SCRIPTS AND SMART FORMS BDC HERE COMPLETELY.
Learn object oriented approach of SAP ABAP HERE COMPLETELY.
ABAP ALE CONFIGURATION
BADI Complete Series and BAPI complete course
Other Programming Courses :
ASP.NET part one and two
Programming with C and C Sharp
Dot Net Complete Course Part one and two
Interview Questions in dot net and asp.net part one part two
Software Testing Complete course part one and two
Interview Questions in software Testing
V model Software Testing and Eleven steps in V model Testing
COMMENT HERE and thank you for sparing your valuable time.
Thank you for visiting SAP ABAP.If you liked the post, please subscribe to RSS FEED or get the updates directly into your mail box through EMAIL SUBSCRIPTION.If you want to contact me click here.
Request you to share this page on your favorite book mark site.


0 comments
Post a Comment