Functionality This function module reads the data records of an HRinfotype> that exist for a person (employee or applicant). It does soin accordance with the specified selection criteria. Data is returned to an internal table, the structure of whichcorresponds to the infotype table concerned (such tables can bedeclared in the calling program by the INFOTYPES>statement, for example). The system selects infotype records whosevalidity interval overlaps with the specified time interval. The INFTY_NOT_FOUND> exception is set if the infotype cannot beaccessed for technical reasons. The SUBRC> return value indicates whether and why infotyperecords are not returned by the function module. The following valuesare 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.Examples
- If the FM does not return all of the infotype records during a payroll
run because authorizations are missing, you must cancel the payroll runfor these personnel numbers. If you do not cancel the payroll run, thepayroll results are dependent on the user's authorizations.
- If the FM does not return all infotype records in a program for
creating telephone lists because authorizations are missing, thereturned infotype records usually suffice because telephone lists thatdepend on the user's authorizations are not normally a problem.
|