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

Getting the data for the infotype 0006 and Subtype 4 in HR ABAP

Former Member
0 Kudos
254

Hi All,

I need to get the data from the info type 0006 and the subtype 4 , only i need to fetch the data in communications . Could you any one tell me best way to fetch that data.

Thanks,

SAP SAR.

1 REPLY 1
Read only

Former Member
0 Kudos
139

Write a select single on PA0006 for the given pernr begin and end dates and for subtype 4 ...

select single * from PA0006

where pernr = p_pernr

and SUBTY = '0004'

and ENDDA >= s_date-low

and BEGDA <= s_date-high.