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

HR-Pa0105

Former Member
0 Likes
5,460

Hi,

How to get an entry in PA0105 table with subtype 0002

Thanks.

6 REPLIES 6
Read only

Former Member
0 Likes
3,036

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

Read only

Former Member
3,036

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

Read only

0 Likes
3,036

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.

Read only

Former Member
0 Likes
3,036

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.

Read only

Former Member
0 Likes
3,036

Hi,

Use

Select single * from pa0105 into work_area where pernr = pernr and subty = '0002' and endda = '99991231'.

Read only

Former Member
0 Likes
3,036

solved by self