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.

  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:

    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

    Mapping with a Function Module (Linking Type)

    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)

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

  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.

Results

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