Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HR_READ_INFOTYPE not returning results...

Greetings!

I know there is a 167 record for this pernr. It has a begda of 1/1/2008 and an endda of 12/31/9999. Why is the call to HR_READ_INFOTYPE not returning it?

CALL FUNCTION 'HR_READ_INFOTYPE'
    EXPORTING
      pernr           = '00003667'
      infty           = '0167'
      endda           = '99991231'
    IMPORTING
      subrc           = p_subrc_out
    TABLES
      infty_tab       = p_infty_tab
    EXCEPTIONS
      infty_not_found = 1.

Thanks!

Tags:
Former Member
Former Member replied

Hello Steve,

whats the value of SUBRC ?

The SUBRC return value indicates whether and why infotype records are not returned by the function module. The following values are possible:

0 All infotype records are returned by the FM.

4 Some infotype records are not returned by the FM because

authorizations are missing.

8 There are no infotype records in the selection period.

You can respond to this value in the same way as SUBRC = 0.

12 The FM does not return any infotype records because

authorizations are missing.

Regards

Prabhu

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question