‎2006 Dec 27 6:59 PM
Hi folks,
Its basically a HR ABAP report.
i hav a table having 2 fields .
family dependant type is the fst field and subtype is another field.
suppose 03 ---> signifies dependant type child.
01 ---> spouse
.
.
.
14....
like this we hav other types too.
A subtype means for a particular person there may be n numbers of dependant types.
i.e if a person has 2 children then subtype for both of them is '2'.
so i hav to calculate the no of dependant type and and check using subtypes how many same dependants r there and add them up all and get
total no of dependants.
so my problem is i hav to write a logic to the no of family dependants for a particluar person.
help me plz....
thanking u all.
regards,
sahakla
‎2006 Dec 28 8:21 AM
Hi,
Have u tried out using Infotype 0021 (Family)? U will get the dependents info for a employee with this infotype. Try u query this table PA0021 to fullfill ur logic.
Reward of helpful.
Rgds,
CK