Entering content frameBackground documentation Service Provider for HR Infotypes Locate the document in its SAP Library structure

The service provider for HR infotypes can integrate information types (infotypes) and subtypes from the SAP Human Resources application (HR) into records. Infotypes are sets of content-related data grouped together for an employee. Infotypes can have multiple subinfotypes. Infotypes are uniquely identified by a four-digit number. To facilitate reporting on past employee data, infotypes can be stored according to date.

You can use the service provider for infotypes to create an electronic personnel record. In this record you can display documents, together with all the infotypes and subtypes maintained for a person, in one view.

SP POID Parameters

INFOTYPE: Infotype number

PERNO: Personnel number

SELECTDATE: Selection date

SUBTYPE: Subtype number

Connection Parameters

RFC_DESTINATION (optional)

Enter the RFC destination of the HR system. To determine an RFC destination, or to create a new one, choose the following in the Implementation Guide (IMG): SAP Web Application Server ® Application Link Enabling (ALE) ® Sending and Receiving Systems ® Systems in Network ® Define Target Systems for RFC Calls.

If HR and Records Management are running in the same system, do not enter a value.

Context Parameters

INFOTYPE: Infotype number

By entering values for the parameter, you can restrict the user selection options for inserting infotypes at this model node. You can enter any number of values for the parameter. If you enter only one value for the parameter and assign an infotype number, this infotype is then displayed in the dialog box for inserting infotypes. If you enter more than one value for the parameter and assign several infotypes, only these infotypes are displayed in the input help for the Infotype field.

Example: You enter the value 0001 for the parameter INFOTYPE. When a user in a record of this model type wants to insert an infotype for the model node, the infotype 0001 is already displayed in the infotype dialog box.

RECORD_DOC_ID: Unique ID of the record

You cannot manually enter values for this context parameter, or the context parameters RECORD_VAR_ID and RECORD_VER_ID. The system automatically enters these values. The values are used to identify the relevant personnel record. This identification is required to enable automatic display of the personnel number in the search dialog after the user has already entered the first infotype. When entering further infotypes, the user does not have to re-enter the personnel number.

RECORD_VAR_ID: Variant of the record

See RECORD_DOC_ID.

RECORD_VER_ID: Version of the record

See RECORD_DOC_ID.

Authorization Concept

Users who access infotypes starting from a record have the same authorization that they have in the HR system. Because the current user has connected to the HR system using an RFC call, they are logged on to the HR system with their user data maintained in that system. Prerequisite: The RFC destination has been set up so that it is always the current user who is put through to the called system.

Before the infotype is displayed as a node in the overview tree in the record, the HR system checks that the current user has authorization for this infotype. If the user does not have authorization for the infotype, this infotype is hidden in the overview tree. If the infotype has further subnodes, the whole subtree is hidden. In this way, you can structure the record model so that the visibility of further nodes is coupled to authorization for the infotype.

Note

In the standard setting, the service provider for infotypes can only be used with an HR system with a status of Enterprise 4.7 or above. If you are using an HR system below 4.7, you can run Records Management in a separate system and access the HR system remotely to integrate infotypes. In this case, you need to make the following adjustments in the HR system:

  1. Create a function module called HR_CHECK_INFOTYPE_SUBTYPE.
  2. This function module should check, for a personnel number and a selection period, whether a particular infotype or subtype is maintained in the HR system, and whether the user has the authorization for this infotype or subtype. The interface of this function module is as follows:

    IMPORTING

    pernr TYPE pernr_d

    infty TYPE infty

    subty TYPE subty

    begda TYPE begda

    endda TYPE endda

    EXPORTING

    subrc TYPE sysubrc

    EXCEPTIONS

    databasetable_not_found.

    The return parameter subrc can accept the following values: 0 = Infotype exists for the personnel number and the user has authorization, 4 = The user does not have authorization for this infotype, 8 = The infotype does not exist for the current personnel number.

  3. Make the function module RH_INFTY_SUBTY_TEXTS remote-capable.
Leaving content frame