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
What are the rules to create a BAPI?
What are th control break events in abap?
What does a lock object involve?
What are the table controls in bdc ? What is the difference between bdc and lsmw ?what is the difference between bdc and rfc ? : abap bdc
What is the use of dequeue function module? : sap abap data dictionary
Can you delete data element, which is being used by table fields. : abap data dictionary
What two statements would be used to exchange data between programs using abap memory?
What is a view? : abap data dictionary
what are the problem we face during development( if we say v are in support(development)? what are the critical problems araises during LSMW updation and Smart form layout development for involce and po? very very important questions now a days commonly asking..plz plz reply me
What are the different functions used in sap script?
What is an rdbms?
What is pakey structure, pshd1 structure and what type of fields it contains? : abap hr
Difference between sap script and report?
What are the different modes of processing batch input sessions? : abap bdc
Are you familiar with all steps for setting up a workflow?