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

Doubt about abap hcm function.

ronaldo_aparecido
Contributor
0 Likes
705

Good Afternoon.

I'm working with abap hcm and i have one question:

When i use :

CALL FUNCTION 'HR_READ_INFOTYPE'

EXPORTING

pernr           = e_employee-key-personnel_number

infty           = cc_0006

TABLES

infty_tab       = t_0006

EXCEPTIONS

infty_not_found = 1

OTHERS          = 2.


He returns only a valid record or return all historic?


he make a distinction the subinfotype?



thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
663

Hi Ronaldo

This FM has BEGDA and ENDDA as importing parameter, if you don't pass de dates, the default will be from 01.01.1800 to 31.12.9999, in the case that you post the result will be all the records available.

For subtype selection you can use HR_READ_SUBTYPE

Regards,

Felipe

4 REPLIES 4
Read only

Former Member
0 Likes
664

Hi Ronaldo

This FM has BEGDA and ENDDA as importing parameter, if you don't pass de dates, the default will be from 01.01.1800 to 31.12.9999, in the case that you post the result will be all the records available.

For subtype selection you can use HR_READ_SUBTYPE

Regards,

Felipe

Read only

0 Likes
663

thanks for reply Felipe

And he filters subinfotypes?

Read only

0 Likes
663

Yes, the fm HR_READ_SUBTYPE reads the valid infotype and subtype records according to the date range provided.

Read only

0 Likes
663

Thanks Mr.