SAP LDAPSERVER LDAP Server Table data and field list

LDAPSERVER is a standard SAP Table which is used to store LDAP Server data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The LDAPSERVER table consists of various fields, each holding specific information or linking keys about LDAP Server data available in SAP. These include SERVERID (Symbolic name of LDAP server), DFAULT (LDAP server: Default server), HOST (Host name of LDAP server), PORT (Port number of LDAP server)... See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

LDAPSERVER table Technical Details:

Delivery Class: C - Customising table, maintenance only by cust
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP LDAPSERVER table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the LDAPSERVER table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
SERVERIDSymbolic name of LDAP server LDAP_SERVCHAR16LDAPSERVIDLDAP_SERV
DFAULTLDAP server: Default server LDAP_DFAUCHAR1CHAR1_X
HOSTHost name of LDAP server LDAP_HOSTCHAR255TEXT255
PORTPort number of LDAP server LDAP_PORTINT410
VERSIONProtocol Version (2 or 3) LDAP_VERSNUMC1LDAPVERS
BASEBase directory tree entry LDAP_BASECHAR255TEXT255
SYSUSERUser ID for System Logon LDAP_SUSRCHAR16LDAPUSERLDAPSUSR
RANONYMRead Anonymously LDAP_RANOCHAR1LDAPFLAG
PRODUCTProduct Name of the LDAP Server LDAP_PRODCHAR4LDAPPROD
APPLLDAP Application LDAP_APPLCHAR4Assigned to domainLDAPAPPL

Key field Non-key field



How do I retrieve data from SAP table LDAPSERVER using ABAP code

The following ABAP code Example will allow you to do a basic selection on LDAPSERVER to SELECT all data from the table
DATA: WA_LDAPSERVER TYPE LDAPSERVER.

SELECT SINGLE *
FROM LDAPSERVER
INTO CORRESPONDING FIELDS OF WA_LDAPSERVER
WHERE...

How to access SAP table LDAPSERVER

Within an ECC or HANA version of SAP you can also view further information about LDAPSERVER and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).