How do you retrieve the data for repetitive structures
Answer Posted / rudra vinod
I think this example program helps you..........
REPORT RPABAP06.
TABLES:PERNR.
INFOTYPES: 0008.
DATA: BEGIN OF WAGETYPES,
LGA LIKE P0008-LGA01,
BET LIKE P0008-BET01,
ANZ LIKE P0008-ANZ01,
EIN LIKE P0008-EIN01,
OPK LIKE P0008-OPK01,
END OF WAGETYPES.
GET PERNR.
RP_PROVIDE_FROM_LAST P0008 SPACE PN-BEGDA PN-ENDDA.
DO 20 TIMES VARYING WAGETYPES
FROM P0008-LGA01
NEXT P0008-LGA02.
IF WAGETYPES-LGA IS INITIAL.
EXIT.
ELSE.
WRITE: / WAGETYPES-LGA, WAGETYPES-BET.
ENDIF.
ENDDO.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain what are the different functions used in sap script? What are the parameters used in each function?
The extract statements in field groups can be used before or after processing the sort statements. State true or false. : abap modularization
What are the attributes of the data? : abap data dictionary
When a program is created and need to be transported to prodn does selection texts always go with it? If not how do you make sure? Can you change the cts entries? How do you do it?
Fallback class
How are the date abd time field values stored in sap?
Update types in Call transaction method. What is the difference?
please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?
Explain sap abap 3-tier architecture?
What is example class
wht is the diff. b/n initialization and lotus of event
What is meant by stacked list?
What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?
What is the definition of modification in an sap system and how do they impact an upgrade?
What are the different attributes that can be assigned to a variant?