Show TOC

Procedure documentationMapping SAP Data Fields to Directory Attributes Locate this document in the navigation structure


  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.

    Note Note

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

    End of the note.
  6. In the Object Classes field, specify the structured directory object class to which the object should be assigned.

  7. Choose Create entry. The Mapping Details screen appears.

  8. To create a mapping, enter the required data:



    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

    Mapping with a Function Module (Linking Type)

    Function module that performs the mapping


    Parameters for the function module that performs the mapping; such as a separator character


    Name of the attribute in the directory, such as sn (surname = last name)

  9. Choose Back. Your entries now appear in the Mappings group box in the following columns:




    Automatically inserted line numbering that shows lines that belong together for mappings with several lines


    ABAP structure, such as ADDRESS


    Name of the field in the ABAP structure, for example: LASTNAME


    Name of the attribute in the directory, such as sn (surname = last name)

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

  11. Leave the mapping overview by choosing Back. Your entries are checked and saved.


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