Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

report help

Former Member
0 Likes
305

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

1 REPLY 1
Read only

Former Member
0 Likes
274

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