Mapping SAP Data Fields to Directory Attributes

Procedure

  1. In transaction LDAP, choose Server.

    The system displays the Display "Server" View: Overview screen.

  2. Switch to change mode.
  3. Select the directory server for which you want to map fields to attributes.
  4. 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.

  5. To create your own schema mapping, or to add entries to imported mappings, choose Add Entry.

        • If you have created the new SAP-specific attributes in your directory service with a generated schema extension, the attributes of the directory service are known. If you have also specified the product name of your directory service, we provide a mapping proposal that you can copy with Import Proposal.
        • To copy the mapping that already exists on another LDAP server, choose Copy Mapping from Another Server. A dialog window appears. Specify the name of the LDAP server and copy this mapping proposal by choosing Copy.

If you import a proposal or copy a mapping, you can immediately Set the Synchronization Indicators as the next step.

  1. In the Object Classes field, specify the structured directory object class to which the object should be assigned.
  2. Choose Add Entry ().

    The Mapping Details screen appears.

  3. 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

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)

  1. 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)

  1. 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.
  2. Leave the Mapping Overview by choosing Back.

Your entries are checked and saved.

Result

You have created the mapping and can now set the mapping indicators as described in the Setting Mapping Indicators procedure.