SAP Program RPLDAP_EXTRACT - Extraction of HR Data to an LDAP Directory

Use
You use this report to start the LDAP data extraction of employee datarecords from an HR system to the LDAP directory.
If you want to update the the data in your LDAP directory at regularintervals, you can plan to run the report as a regular background job.

Features

Selection
On the selection screen a group box groups the selection optionsaccording to content. Through the group box, the system provides thefollowing selection options:
Under Person Selection you can enter personnel numbers in thePersonnel Number field. For those numbers the system reads datafrom the HR system and transfers it to the LDAP directory.
Under LDAP Connection you can restrict your selection using theLDAP Connector and LDAP Server fields.
When you execute the report for the first time (initial run), you canimprove performance by setting the Optimize for LDAP Initial Runflag. The system tries to create new data records directly in the LDAPdirectory, and only updates the data records if it cannot create newdata records. For example, one thing that prevents the system fromcreating a new data record is if an entry already exists for the key ofthat data record in the LDAP directory.
When you execute the report again, do not set the flag. The usualsystem procedure is that the system first updates the existing recordsin the LDAP directory. To do that, it checks whether comparable datarecords already exist in the LDAP directory. After this check, thesystem updates the existing data records in the LDAP directory orcreates new data records.
Under Data Source you can enter an SAP query or an ABAP reportas the source for your data transport.
If you use an SAP query as your data source, set the SAP Queryflag.
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 containthe Personnel Number field (P0000-PERNR) as an identifier.
    If you use a report as the data source, set the ABAP Reportflag.
    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 selectedin the scheduler (for example, LDAP server) from the memory to thereport. To do this, the report must call the function moduleHR-LDAP: Import Parameters (LDA_IMPORT_PARAMS).
      After this data retrieval, the attributes must be transferred to theLDAP connector for further processing. This is done through thefunction 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 theseprerequisites.
      Under Options you can delete employee data records for employeeswith a particular employment status from the LDAP directory. Thisfunction 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 tocontain only active employees (that is, employee data records foremployees with employment status 3).