Show TOC

Background documentationData Replication of Supplier Master Data Using ALE

 

Replication of master data from the MDG hub to the connected systems and clients can be done using Application Link Enabling (ALE).

  1. Set up RFC connections (in both directions: hub to client and client to hub for ADRMAS and CREMAS)

    1. Set up the RFC connection: Run transaction SM59 (configuration of RFC connections) and provide the required RFC destination details.

    2. To define a logical system in Customizing for SAP Netweaver run transaction SALE and then choose Start of the navigation path Basic Settings Next navigation step Logical Systems Next navigation step Define Logical System End of the navigation path. Enter all target systems/clients as logical systems.

  2. Create Global Company code for ALE

    Run this activity in Customizing for SAP Netweaver under Start of the navigation path Application Server Next navigation step IDoc Interface / Application Link Enabling (ALE) Next navigation step Modelling and Implementing Business Processes Next navigation step Global Organization Units Next navigation step Cross-System Company Codes End of the navigation path. Create cross system company codes and map all company codes in use to the global company code defined.

  3. Maintain distribution model in SAP ERP (Outbound) for the distribution of Vendor Master using ADRMAS and CREMAS

    1. Run transaction SALE (Display ALE Customizing) and choose Start of the navigation path Modeling and Implementing Business Processes Next navigation step Maintain Distribution Model and Distribute Views End of the navigation path. Alternatively, run transaction BD64 (Display Distribution Model).

    2. In change mode, create a new model. Choose Create Model View. Enter a short text and a technical name.

    3. Choose Add Message Type for the newly created model.

    4. Enter names for the logical source and destination systems and choose message type CREMAS.

    5. Choose Add BAPI for the newly created model.

    6. Enter the logical sender system and receiver system. In the Obj.Name/Interface field, enter AddressOrg and in the Method field, enter SaveReplica.

  4. Create partner profile

    1. Run transaction SALE and choose Start of the navigation path Modeling and Implementing Business Processes Next navigation step Partner Profiles Next navigation step Generate Partner Profiles End of the navigation path. Alternatively, run transaction BD82 (Generate Partner Profile).

    2. Select the newly created model and in the Partner System field, enter the logical destination system.

    3. Enter the ALE-User and the following values in the corresponding fields, and execute.

      Field

      Value

      Version

      3

      Pack Size

      100

      Output Mode

      Transfer IDoc immediately

      Inb. Parameters: Processing

      Trigger immediately

    4. To verify your settings, run transaction WE20 and from the Partner Profiles menu, choose Partner type LS. Verify that Partner type LS is the logical destination system.

    5. In the detail screen, the chosen message types ADRMAS and CREMAS must appear as outbound parameters.

  5. Distribute model view to receiving system.

    1. Run transaction SALE and choose Start of the navigation path Modeling and Implementing Business Processes Next navigation step Maintain Distribution Model and Distribute Views End of the navigation path. Alternatively, run transaction BD64.

    2. Select the new model and choose Start of the navigation path Edit Next navigation step Model view Next navigation step Distribute End of the navigation path.

    3. Verify that the correct receiving system is marked and choose Enter.

    4. Verify within the receiving system that the model view was created.

      1. Run transaction SALE and choose Start of the navigation path Modelling and Implementing Business Processes Next navigation step Partner Profiles Next navigation step Generate Partner Profiles End of the navigation path. Alternatively, run transaction BD82.

      2. Select the distributed model and the partner system.

      3. Enter the ALE-User and the following values in the corresponding fields, and execute.

        Field

        Value

        Version

        3

        Pack Size

        100

        Output Mode

        Transfer IDoc immediately

        Inb. Parameters: Processing

        Trigger immediately

      4. To verify your settings, run transaction WE20 and from the partner profiles menu, choose partner type LS. Verify that partner type LS is the logical destination system.

      5. In the detail screen, the chosen message types ADRMAS and CREMAS must appear as inbound parameters.

  6. Replication ALE Using the Data Replication Framework (DRF)

    Prerequisite: Receiving systems/clients are defined in the SLD (system landscape directory). For more information, see Customizing for Master Data Governance under Start of the navigation path General Settings Next navigation step Data Replication Next navigation step Overall Information End of the navigation path.

    1. Define technical settings for business system under Start of the navigation path General Settings Next navigation step Data Replication Next navigation step Define Custom Settings for Data Replication Next navigation step Define Technical Settings Next navigation step Define Technical Settings for Business Systems End of the navigation path

      1. To define a new business system and to maintain the logical system for the receiving systems, choose New Entries.

      2. Enter a business system, for example ABC_123 and a logical system, for example ABCCLNT123, select the Define Bus. Systems, BOs view, and enter the BO Type 266 (Supplier).

      3. Make sure that under Start of the navigation path General Settings Next navigation step Data Replication Next navigation step Enhance Default Settings for Outbound Implementations Next navigation step Define Outbound Implementations End of the navigation path in the line 986_4 (MDG Vendor via ALE) the Sup. Key H (Support Key Harmonization) flag is set.

      4. Mark the BO Type 266 (Supplier), select the Define Bus. Systems, BOs, Communication Channel view, enter the C. Channnel Replication via IDoc, and select the value Key Mapping for the Key Harm. field.

        Note Note

        If you select Harmonized IDs (no key mapping) for Key Harm. you have to use ALE inbound. It is not possible to import data using MDG DIF (Date Import Framework).

        End of the note.
    2. Define replication model (replication of vendor) under Start of the navigation path General Settings Next navigation step Data Replication Next navigation step Define Custom Settings for Data Replication Next navigation step Define Replication Models End of the navigation path

      1. Using New Entries, define a new replication model and enter a description.

      2. Mark the line and choose Assign Outbound Implementation. Create a new entry and enter the following values using the input help:

        • Outbound Implementation: 986_4 MDG Vendor via ALE

        • Communication Channel: Replication via IDoc

        • Filter time: Filter After Change Analysis

      3. Mark the line and choose Assign Target Systems for Repl. Model/Outb.Impl. Create a new entry and enter the business system name for the receiving system created in the step before.

      4. Choose Assign Outbound Parameter. Create a new entry, enter the following values, and save.

        • Outb. Parameter: PACK_SIZE_BULK

        • Outb. Parameter value: 100 (example value)

      5. Return to the Define Replication Model view. Optionally, you can also add an expiration time for the log.

      6. Choose Save to save your entries.

      7. Mark the newly-created replication model, and choose Activate.

      For more information, see Customizing for Master Data Governance under Start of the navigation path General Settings Next navigation step Data Replication Next navigation step Define Custom Settings for Data Replication Next navigation step Define Replication Models End of the navigation path.

  7. Enable monitoring of IDOC posting (ALE Audit)

    1. In the hub system: Run transaction BD64 to maintain a distribution model and define the direction MDG client to MDG hub.

      For more information about distribution models, see Distribution Model.

    2. Open transaction WE20 and navigate to the partner profile for the client system.

    3. Enter the following inbound parameters without changing further data:

      • Message type: ALEAUD

      • Process code: AUD2

    4. Replicate the distribution model to the target system using transaction BD64..

    5. In the client system: To generate a partner profile open transaction SALE and choose Start of the navigation path System Monitoring Next navigation step IDoc Confirmation in Receiving System (ALE Audit) Next navigation step Distribution Model for ALE Audit End of the navigation path. Then select Start of the navigation path Environment Next navigation step Generate Partner Profiles End of the navigation path.

    6. Open transaction WE20, navigate to the partner profile and enter the outbound parameter ALEAUD.

    7. To configure the replication of audit documents open transaction SALE and choose Start of the navigation path System Monitoring Next navigation step IDoc Confirmation in Receiving System (ALE Audit) Next navigation step Confirmation of Audit Data Next navigation step Define Variant End of the navigation path.

      You can schedule the report RBDSTATE as a background job to run on a regular base.