Ansicht
Dokumentation
HR_READ_INFOTYPE - Read Employee/Applicant Data From Infotypes
CPI1466 during Backup TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Functionality
This function module reads the data records of an HR infotype that exist for a person (employee or applicant). It does so in accordance with the specified selection criteria.
Data is returned to an internal table, the structure of which corresponds to the infotype table concerned (such tables can be declared in the calling program by the INFOTYPES statement, for example). The system selects infotype records whose validity interval overlaps with the specified time interval.
The INFTY_NOT_FOUND exception is set if the infotype cannot be accessed for technical reasons.
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.
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 run for these personnel numbers. If you do not cancel the payroll run, the payroll 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, the returned infotype records usually suffice because telephone lists that depend on the user's authorizations are not normally a problem.
Parameters
BEGDABYPASS_BUFFER
ENDDA
INFTY
INFTY_TAB
LEGACY_MODE
PERNR
SPRPS
SUBRC
TCLAS
Exceptions
INFTY_NOT_FOUNDINVALID_INPUT
Function Group
HRACROGBILLS - Synchronize billing plans Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 2527 Date: 20240523 Time: 101342 sap01-206 ( 44 ms )