Mapping SAP Data Fields to Directory Attributes
Procedure
-
In transaction LDAP, choose Server. The system displays the Display Server View: Overview screen.
-
Switch to change mode.
-
Select the directory server for which you want to map fields to attributes.
-
Choose the Mapping option from the dialog structure tree by double-clicking it. The system displays the Mapping Overview screen (transaction LDAPMAP). The name of the selected logical directory server automatically appears in the Server Name field.
-
To create your own schema mapping, or to add entries to imported mappings, choose Add Entry.
-
In the Object Classes field, specify the structured directory object class to which the object should be assigned.
-
Choose Create entry. The Mapping Details screen appears.
-
To create a mapping, enter the required data:
Column
Meaning
Table Name
Logical name of the ABAP structure, such as ADDRESS
Field name
Logical name of the field in the ABAP structure, for example: LASTNAME
Function module that performs the mapping
Parameters
Parameters for the function module that performs the mapping; such as a separator character
Attribute
Name of the attribute in the directory, such as sn (surname = last name)
-
Choose Back. Your entries now appear in the Mappings group box in the following columns:
Column
Meaning
Number
Automatically inserted line numbering that shows lines that belong together for mappings with several lines
Structure
ABAP structure, such as ADDRESS
Field
Name of the field in the ABAP structure, for example: LASTNAME
Attribute
Name of the attribute in the directory, such as sn (surname = last name)
-
To change an existing field to attribute mapping, go to the Mapping Details screen by choosing Display Details or by double clicking the appropriate line.
-
Leave the mapping overview by choosing Back. Your entries are checked and saved.
Results
You have created the mapping and can now set the mapping indicators as described in the Setting Mapping Indicators procedure.