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 / amit

TABLES:PERNR.
INFOTYPES: 0008.

DATA: BEGIN OF WAGETYPES,
LGA type P0008-LGA01,
BET type p0008-BET01,
ANZ type p0008-ANZ01.
data:END OF WAGETYPES.

write:/ 'PersonalNo','Wage type ' , ' ' ,
'Amount' , ' ' , 'Number'.

START-OF-SELECTION.
GET PERNR.
RP_PROVIDE_FROM_LAST P0008 SPACE PN-BEGDA PN-ENDDA.
DO 12 TIMES
VARYING WAGETYPES-lga FROM P0008-LGA01
NEXT P0008-LGA02
VARYING WAGETYPES-bet FROM P0008-BET01
NEXT P0008-BET02
VARYING WAGETYPES-anz FROM P0008-ANZ01
NEXT P0008-ANZ02 .
IF WAGETYPES-LGA IS INITIAL.
EXIT.
ELSE.
WRITE: / pernr-pernr , ' ' , WAGETYPES-LGA , WAGETYPES-
bet , WAGETYPES-anz.
ENDIF.
ENDDO.
END-OF-SELECTION.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is table pool?

968


What should be the approach for writing a bdc program? : abap bdc

1124


How to write a code for multiple transactions? : abap bdc

998


write a program for creation of customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA'.

3228


What is the function module for INDIAN PAYROLL to read table cluster for given cluster table and sequence number?

2308


What is the function of the correction system?

961


In se11 -->Tech. settings --> Data class. If I save table as Mater data OR Transaction data, what effect will it has for 'Storage' in Database after activation. or In Database how it will store in both the cases.

2567


What is the difference between data elements and domains? : abap data dictionary

1166


What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?

1284


While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc

1205


How do you differentiate tax for different countries? : sap abap hr

1165


What is a function group? : abap modularization

1062


What are the different types of the variable in the sap abap?

1111


What statement will be found in an sap application program that implements a function module exit?

986


Persistent class

1329