SAP Reports / Programs

RPLDAP_EXTRACT SAP ABAP Report - Extraction of HR Data to an LDAP Directory







RPLDAP_EXTRACT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to start the LDAP data extraction of employee data records from an HR system to the LDAP directory...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPLDAP_EXTRACT into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

HRLDAP_EXTRACT - HR LDAP Data Extraction


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RPLDAP_EXTRACT. "Basic submit
SUBMIT RPLDAP_EXTRACT AND RETURN. "Return to original report after report execution complete
SUBMIT RPLDAP_EXTRACT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_DELETE = Delete Person in Directory
Selection Text: P_LDEST = LDAP Connector
Selection Text: P_LSERV = LDAP Server
Selection Text: SELPERNR = Personnel Number
Selection Text: SELSTAT = with Employment Status
Title: Extraction of HR Data to an LDAP Directory
Text Symbol: 014 = Variant
Text Symbol: 015 = Optimization for LDAP Initial Run
Text Symbol: 016 = Options
Text Symbol: 001 = Person selection
Text Symbol: 002 = LDAP connection
Text Symbol: 003 = Data Source
Text Symbol: 004 = SAP Query
Text Symbol: 005 = Global Work Area
Text Symbol: 006 = User Group
Text Symbol: 008 = Variant
Text Symbol: 012 = ABAP Report
Text Symbol: 013 = Name


INCLUDES used within this REPORT RPLDAP_EXTRACT

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

LDA_CHECK_LDAP_QUERY CALL FUNCTION 'LDA_CHECK_LDAP_QUERY' EXPORTING WORKSPACE = P_WSPACE USERGROUP = P_UGROUP QUERYNAME = P_QNAME QUERYVARIANT = P_QVAR CHECK_MAPPING = 'X' EXCEPTIONS QUERY_NOT_FOUND = 1 INFOSET_NOT_FOUND = 2 PERNR_MISSING = 3 VARIANT_NOT_FOUND = 4 MAPPING_INCOMPLETE = 5 QUERY_NOT_GENERATED = 6 OTHERS = 7.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING REPORT = P_RNAME VARIANT = P_RVAR IMPORTING R_C = SUBRC EXCEPTIONS NOT_AUTHORIZED = 1 NO_REPORT = 2 REPORT_NOT_EXISTENT = 3 REPORT_NOT_SUPPLIED = 4 OTHERS = 5.

RSAQ_REPORT_NAME CALL FUNCTION 'RSAQ_REPORT_NAME' EXPORTING WORKSPACE = P_WSPACE USERGROUP = P_UGROUP QUERY = P_QNAME IMPORTING REPORTNAME = QUERYREPORT EXCEPTIONS OTHERS = 0.

LDA_EXPORT_PARAMS CALL FUNCTION 'LDA_EXPORT_PARAMS' EXPORTING WORKSPACE = P_WSPACE USERGROUP = P_UGROUP QUERYNAME = P_QNAME LDAPDESTINATION = P_LDEST LDAPSERVER = P_LSERV LDAPINITIALRUN = P_LINIT DELETE_FLAG = P_DELETE TABLES DELETE_STATES = DELETE_STATES EXCEPTIONS OTHERS = 0.

LDA_EXPORT_PARAMS CALL FUNCTION 'LDA_EXPORT_PARAMS' EXPORTING * WORKSPACE = * USERGROUP = * QUERYNAME = LDAPDESTINATION = P_LDEST LDAPSERVER = P_LSERV LDAPINITIALRUN = P_LINIT * DELETE_FLAG = * TABLES * DELETE_STATES = EXCEPTIONS OTHERS = 0.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RPLDAP_EXTRACT or its description.