Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

after creating lock object if does n't access record by second user what should we do?

1985


suppose i want to print sap script output in different printers at a time what are the settings i'll have to make?

2292


Did you create help views?

995


What is the difference between getting and get late?

1024


What is the function of the transport system and workbench organiser?

1105


What are uses of foreign key?

1094


what is sap scriptview ?

2272


What are the two statements which are required in an abap program to output an icon using a write statement?

1306


What are different ABAP editors? What are the differences?

1120


What are conversion & interface programs in sap?

1145


How is conversion of data types done between abap/4 & db layer?

1199


Explain buffering

1363


On which event we can validate the input fields in module programs?

1121


How many types of tables exist and what are they in data dictionary?

1186


What two statements are required in an abap program to output an icon using a write statement?

994