SAP Reports / Programs

RSLDAPTEST SAP ABAP Report - LDAP Function Module Basis Test







RSLDAPTEST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

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


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 RSLDAPTEST. "Basic submit
SUBMIT RSLDAPTEST AND RETURN. "Return to original report after report execution complete
SUBMIT RSLDAPTEST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: LDAP Function Module Basis Test


INCLUDES used within this REPORT RSLDAPTEST

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:

LDAP_SERVERID_F4 CALL FUNCTION 'LDAP_SERVERID_F4' IMPORTING serverid = p_server.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = lf_progress.

LDAP_CHECKIN_RFCDEST CALL FUNCTION 'LDAP_CHECKIN_RFCDEST' EXPORTING newdest = p_conn EXCEPTIONS not_alive = 1 other_error = 2 OTHERS = 3.

LDAP_SIMPLEBIND CALL FUNCTION 'LDAP_SIMPLEBIND' EXPORTING serverid = p_server usr_string = lf_user_string pwd_string = lf_pwd_string EXCEPTIONS no_authoriz = 1 config_error = 2 nomore_conns = 3 ldap_failure = 4 not_alive = 5 other_error = 6 OTHERS = 7.

LDAP_DELETE CALL FUNCTION 'LDAP_DELETE' EXPORTING dn_string = lf_dn subtree = 'X' EXCEPTIONS no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 not_alive = 4 other_error = 5 OTHERS = 6.

LDAP_DELETE CALL FUNCTION 'LDAP_DELETE' EXPORTING dn_string = lf_dn subtree = 'X' EXCEPTIONS no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 not_alive = 4 other_error = 5 OTHERS = 6.

LDAP_CREATE CALL FUNCTION 'LDAP_CREATE' EXPORTING entry = ls_entry EXCEPTIONS no_authoriz = 1 conn_outdate = 2 param_error = 3 ldap_failure = 4 hexval_error = 5 not_alive = 6 other_error = 7 OTHERS = 8.

LDAP_READ CALL FUNCTION 'LDAP_READ' EXPORTING base_string = lf_dn scope = 0 filter_string = '(objectclass=*)' IMPORTING entries = lt_entries_read EXCEPTIONS no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 not_alive = 4 other_error = 5 OTHERS = 6.

LDAP_DELETE CALL FUNCTION 'LDAP_DELETE' EXPORTING dn_string = lf_dn EXCEPTIONS OTHERS = 0.

LDAP_RENAME CALL FUNCTION 'LDAP_RENAME' EXPORTING dn_string = lf_dn new_rdn_string = g_newrdn new_parent_string = lf_newp delete_old = 'X' EXCEPTIONS no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 not_alive = 4 other_error = 5 OTHERS = 6.

LDAP_RENAME CALL FUNCTION 'LDAP_RENAME' EXPORTING dn_string = lf_dn new_rdn_string = g_rdn new_parent_string = lf_newp delete_old = ' ' EXCEPTIONS no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 not_alive = 4 other_error = 5 OTHERS = 6.

LDAP_DELETE CALL FUNCTION 'LDAP_DELETE' EXPORTING dn_string = lf_dn EXCEPTIONS OTHERS = 0.

LDAP_RENAME CALL FUNCTION 'LDAP_RENAME' EXPORTING dn_string = lf_dn new_rdn_string = g_newrdn new_parent_string = '' " --> rename without move delete_old = 'X' EXCEPTIONS no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 not_alive = 4 other_error = 5 OTHERS = 6.

LDAP_UPDATE CALL FUNCTION 'LDAP_UPDATE' EXPORTING entry = ls_entry EXCEPTIONS no_authoriz = 1 conn_outdate = 2 param_error = 3 ldap_failure = 4 hexval_error = 5 not_alive = 6 other_error = 7 OTHERS = 8.

LDAP_READ CALL FUNCTION 'LDAP_READ' EXPORTING base_string = lf_dn scope = 0 filter_string = '(objectclass=*)' attributes = lt_attr_in IMPORTING entries = lt_entries_read EXCEPTIONS no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 not_alive = 4 other_error = 5 OTHERS = 6.

LDAP_UPDATE CALL FUNCTION 'LDAP_UPDATE' EXPORTING entry = ls_entry EXCEPTIONS no_authoriz = 1 conn_outdate = 2 param_error = 3 ldap_failure = 4 hexval_error = 5 not_alive = 6 other_error = 7 OTHERS = 8.

LDAP_DELETE CALL FUNCTION 'LDAP_DELETE' EXPORTING dn_string = lf_dn subtree = 'X' EXCEPTIONS no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 not_alive = 4 other_error = 5 OTHERS = 6.

LDAP_READ CALL FUNCTION 'LDAP_READ' EXPORTING base_string = lf_dn scope = 0 IMPORTING entries = lt_entries EXCEPTIONS no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 not_alive = 4 other_error = 5 OTHERS = 6.

LDAP_UNBIND





CALL FUNCTION 'LDAP_UNBIND' EXCEPTIONS conn_outdate = 1 ldap_failure = 2 not_alive = 3 other_error = 4 OTHERS = 5.



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 RSLDAPTEST or its description.