Ansicht
Dokumentation

RPLDAP_EXTRACT - Extraction of HR Data to an LDAP Directory

RPLDAP_EXTRACT - Extraction of HR Data to an LDAP Directory

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Use

You use this report to start the LDAP data extraction of employee data records from an HR system to the LDAP directory.

If you want to update the the data in your LDAP directory at regular intervals, you can plan to run the report as a regular background job.

Features

Selection

On the selection screen a group box groups the selection options according to content. Through the group box, the system provides the following selection options:

Under Person Selection you can enter personnel numbers in the Personnel Number field. For those numbers the system reads data from the HR system and transfers it to the LDAP directory.

Under LDAP Connection you can restrict your selection using the LDAP Connector and LDAP Server fields.

When you execute the report for the first time (initial run), you can improve performance by setting the Optimize for LDAP Initial Run flag. The system tries to create new data records directly in the LDAP directory, and only updates the data records if it cannot create new data records. For example, one thing that prevents the system from creating a new data record is if an entry already exists for the key of that data record in the LDAP directory.

When you execute the report again, do not set the flag. The usual system procedure is that the system first updates the existing records in the LDAP directory. To do that, it checks whether comparable data records already exist in the LDAP directory. After this check, the system updates the existing data records in the LDAP directory or creates new data records.

Under Data Source you can enter an SAP query or an ABAP report as the source for your data transport.

If you use an SAP query as your data source, set the SAP Query flag.

In the following fields you can specify the SAP query in more detail:

  • Global Work Area (Flag)
  • User Group
  • Name
  • Variant

Note that the SAP query must be based on a PNP InfoSet and must contain the Personnel Number field (P0000-PERNR) as an identifier.

If you use a report as the data source, set the ABAP Report flag.

In the following fields you can specify the report in more detail:

  • Name
  • Variant

Note that the ABAP report must fulfil the following prerequisites:

When you start the ABAP report, it must import the parameters selected in the scheduler (for example, LDAP server) from the memory to the report. To do this, the report must call the function module HR-LDAP: Import Parameters (LDA_IMPORT_PARAMS).

After this data retrieval, the attributes must be transferred to the LDAP connector for further processing. This is done through the function module HR-LDAP: Receive Attributes (SPLDAP_RECEIVE_ATTRIBUTES)

With the ABAP report HR-LDAP: Extraction of Manager Attribute (RPLDAP_MANAGER) we deliver an example report that fulfils these prerequisites.

Under Options you can delete employee data records for employees with a particular employment status from the LDAP directory. This function is only available if you use an SAP query as your data source. The function is useful, for example, if you want the LDAP directory to contain only active employees (that is, employee data records for employees with employment status 3).

Activities

Example






ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 4320 Date: 20240520 Time: 111131     sap01-206 ( 78 ms )