hi guyz,
i am new to abap hr and need your help.
i want to extract all employee numbers, user ids associated with each employee number, payroll area etc.
i am using infotype p0105 & p0001 and using rp_provide_from_last, i want to extract this data.
but i am not getting all the records though endda is 12/31/9999.
can you please help me to solve this.
the code is something like this:
DATA: BEGIN OF i_tab1,
pernr like pa0105-pernr,
usrid like pa0105-usrid,
abkrs like pa0001-abkrs,
plans like pa0001-plans,
END OF i_tab1.
GET pernr.
rp_provide_from_last p0105 space sy-datum sy-datum.
rp_provide_from_last p0001 space sy-datum sy-datum.
MOVE-CORRESPONDING p0105 TO i_tab1.
MOVE-CORRESPONDING p0001 TO i_tab1.
write:/ i_tab1-pernr, i_tab1-usrid, i_tab1-abkrs, i_tab1-plans.
thanks in advance
best regards
ankit