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 are the differences between table controls and step loops?

1070


What is occurs in internal table?

1017


What is an Unpack command?

1089


Explain the Importance of pa20? : abap hr

1081


What is alv programming in abap? When is this grid used in abap? : abap hr

1106


To how many tables can an append structure be assigned. : abap data dictionary

1026


Give an example of interface from your project explaining why you used it?

1317


Static and instance variable and method with live example. Why and when to use

1367


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

1963


How to eliminate duplicate entries in internal tables? : abap data dictionary

1229


How do you set up background jobs in sap? What are the steps? What are the events driven batch jobs?

945


How to combine multiple order in one Delivery ( Step by Step)?

2346


What are the disadvantages of abap query tool?

1149


Persistent class

1284


How do you write manual bdc session method? : abap bdc

1048