‎2008 Aug 13 11:03 AM
Hi,
How to get an entry in PA0105 table with subtype 0002
Thanks.
‎2008 Aug 13 11:09 AM
Hi ,
How to get an entry in PA0105 table with subtype 0002
-
> whats the probs with SELECT statement ? , for each subtype u will get diff entries in that table .
Regards
Prabhu
‎2008 Aug 13 11:09 AM
HI ,
go to PA30 transaction.
There give an active employee no,
infotype 0105 and subtype 0002.
Thewn press F5 or create button.
U can give a value in it and SAVE.
this value is stored in USRID field of pa0105 with subtype 0002
‎2008 Aug 13 11:15 AM
Hi,
Please use the FM: HR_READ_INFOTYPE with the employee number , Begin Date and End date.
After getting the resuklts in the internal table P0105,
Read table P0105 with key subty eq '0002'.
Please revert if u have any concerns on this.
Regards
Abhilash.
‎2008 Aug 13 11:17 AM
HI ,
go to PA30 transaction.
There give an active employee no,
infotype 0105 and subtype 0002.
Thewn press F5 or create button.
U can give a value in it and SAVE.
this value is stored in USRID field of pa0105 with subtype 0002
otherwise if u want to fetch data from PA0105, then
rp-provide-from-last p0105 '0002' '18000101' '99991231'.
IF pnp-sw-found = '1'.
MOVE p0105-usrid TO w_sparcustomer-usrif.
ENDIF.
‎2008 Aug 13 12:05 PM
Hi,
Use
Select single * from pa0105 into work_area where pernr = pernr and subty = '0002' and endda = '99991231'.
‎2008 Aug 26 8:07 AM