Skip Headers
Oracle® Identity Manager Connector Guide for SAP Employee Reconciliation
Release 9.1.2

E11210-15
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

A Creating IDoc Extensions

To create an IDoc extension:

  1. Create a segment as follows:

    1. Enter transaction code WE31.

    2. From the Segment type list, enter a segment type and then click the Create icon.

      The following screenshot shows this page:

      Surrounding text describes set_segment_type.gif.
    3. In the Short Description field, enter a description for the segment. Enter the name of the field (custom attribute) and data element to be inserted in the segment.

      The following screenshot shows this page:

      Surrounding text describes set_field_name.gif.
    4. Click the Save icon. In the Person responsible and Processing person fields, enter the required details and then press Enter.

      The following screenshot shows this page:

      Surrounding text describes person_responsible.gif.
    5. In the Package field, enter a name for the package and then click the Save icon.

      The following screenshot shows this page:

      Surrounding text describes package_name.gif.
  2. Create the IDoc type as follows:

    1. Run transaction code WE30.

    2. Enter a name for the IDoc extension in the Obj name field, select the Extension option, and then click the Create icon.

      The following screenshot shows this page:

      Surrounding text describes object_name.gif.
    3. Select the Create new option, enter HRMD_A06 in the Linked basic type field, and then enter a description in the Description field.

      The following screenshot shows this page:

      Surrounding text describes create_extension.gif.
    4. Expand the tree, and then select the segment (for example, E1P0000) in which you want the extension segment to be inserted.

      The following screenshot shows this page:

      Surrounding text describes select_sgment.gif.
    5. In the Maintain Attributes dialog box, enter values in the Segm. type, Minimum number, and Maximum number fields. In the dialog box that is displayed when you save your entries, enter a name for the segment.

      The following screenshot shows this page:

      Surrounding text describes maintain_attributes.gif.

      The following screenshot shows this page:

      Surrounding text describes segment_extension.gif.
  3. Specify the output type.

    1. Run transaction code WE82.

    2. Click the Create new entries icon.

    3. Enter values in the following fields:

      • Message type: Enter HRMD_A.

      • Basic Type: Enter HRMD_A06

      • Extension: ZHR_EXT

      • Release: Enter the release for which the message type assignment is valid.

    4. Create a transport request, and then save the entries.

      The following screenshot shows this page:

      Surrounding text describes message_type.gif.
  4. Link IDoc type, message type, and function module.

    1. Run transaction code WE57.

    2. Link the FM, IDOC type, Extension, and Message Type as shown in the following screenshot. Specify the direction as either 2 (Inbound) or 1 (Outbound), and then save the entries.

      Surrounding text describes inbound_outbound.gif.
  5. Specify the segment in which the infotype is to be inserted.

    1. Run transaction code SM30.

    2. Select the infotype in which the segment is to be inserted, for example, 0000.

    3. Click the Details icon to add the segment.

      Surrounding text describes select_infotype.gif.
    4. In the 2nd IDOC segment field, enter the segment name and then click the Save icon.

      The following screenshot shows this page:

      Surrounding text describes second_segment.gif.
  6. Modify the partner profile.

    1. Run transaction code WE20.

    2. In the Partner no. field, enter the name of the receiver logical system (for OIMiDOC).

    3. In the Partner type field, enter LS.

    4. In the Outbound paramtrs table, select HRMD_A as the message type and then click the Details icon.

      The following screenshot shows this page:

      Surrounding text describes outbound_paramtrs.gif.
    5. In the Extension field of the Outbound Options tab, enter the name of the extension (for example, ZHR_EXT) and then click the Save icon.

      The following screenshot shows this page:

      Surrounding text describes outbound_params.gif.
  7. Implement BADI HRALE00OUTBOUND_IDOC for the enhancement.

    1. Run transaction code WE18.

    2. In the Definition name field, enter BADI HRALE00OUTBOUND_IDOC and then click Display.

      The following screenshot shows this page:

      Surrounding text describes hrale00outbound_idoc.gif.
    3. On the Interface tab, double-click Example Implementation Clasee.

      The following screenshot shows this page:

      Surrounding text describes implementation_clasee.gif.
    4. Double-click the IDOC_DATA_FOR_RECEIVER_MODIFY method.

      The following screenshot shows this page:

      Surrounding text describes receiver_modify_method.gif.
    5. Write the code in this method for activating the use of the extension.

      Note:

      An access key is required to perform this step.

      The following screenshot shows this page:

      Surrounding text describes method_code.gif.