GET_RDN SAP Method Return RDN for a Person
Below is documentation, parameters and attributes of ABAP Method GET_RDN within SAP class IF_EX_HRLDAP_ATTRIBUTES. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_HRLDAP_ATTRIBUTES into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method GET_RDN can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_RDN
.| Name | Type | Data Type | Description | Default Value |
| DATA | Importing | TYPE HYBRALTAB | Table with Structure Names, Field Names + Types with Values | |
| LOGSYS | Importing | TYPE LOGSYS | Logical System (Source) | |
| OBJECTTYPE | Importing | TYPE LDAPSERVER-APPL | LDAP Application | |
| PERNR | Importing | TYPE BAS_PERNR | Personnel Number | |
| SERVERID | Importing | TYPE LDAPSERVER-SERVERID | Symbolic Name of LDAP Server | |
| RDN | Exporting | TYPE STRINGVAL | Key: Character Format | |
| XRDN | Exporting | TYPE XSTRINGVAL | Key: Hex Format |
Exceptions of Method GET_RDN
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_HRLDAP_ATTRIBUTES.
DATA: lv_DATA TYPE HYBRALTAB,
lv_LOGSYS TYPE LOGSYS,
lv_OBJECTTYPE TYPE LDAPSERVER-APPL,
lv_PERNR TYPE BAS_PERNR,
lv_RDN TYPE STRINGVAL,
lv_SERVERID TYPE LDAPSERVER-SERVERID,
lv_XRDN TYPE XSTRINGVAL,
lv_other TYPE c.
CALL METHOD lo_class=>GET_RDN(
EXPORTING
DATA = lv_DATA
LOGSYS = lv_LOGSYS
OBJECTTYPE = lv_OBJECTTYPE
PERNR = lv_PERNR
SERVERID = lv_SERVERID
IMPORTING
RDN = lv_RDN
XRDN = lv_XRDN ).
Links to Related Class(s)
IF_EX_HR...Full list of available SAP object classes
Search for further information about these or an SAP related objects