Ansicht
Dokumentation

DRF_OIF_MAINTAIN - Define Outbound Interface Models

DRF_OIF_MAINTAIN - Define Outbound Interface Models

BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Replication Interface Framework helps you to create an interface model that contains the entities and attributes from a data model that you want to replicate from the Master Data Governance hub to one or more target systems. It also generates interfaces (RFCs and service interfaces) that can be used for such a data replication.

In this Customizing activity, you can:

  • Create new outbound interface models
  • Display existing outbound interface models
  • Display a list of all the outbound implementations where an interface model is used
  • Delete outbound interface models

If you want to use outbound interface models to replicate data you must also integrate the Outbound Interface Framework with the Data Replication Framework. This is described under Activities.

If you want to use outbound interface models for data replication, you need to make settings in Customizing for the Data Replication Framework to integrate Replication Interface Framework with Data Replication Framework:

  1. You have defined replication models in Define Replication Models.
  2. You have created a filter object in Define Filter Objects and assigned it to the business object for which you want to create the interface model under Assign a Filter Object to Business Object.

Additional settings are required if you want to replicate configuration data (an option under Header Data.)

Creating an Outbound Interface Model

A task-based user interface guides you through all the necessary steps for creating a new outbound interface model:

Enter Header Data

  1. Enter the following mandatory data:
  • Interface Model ID

  • Interface Model Description

  • Object Type Code

  • Package Name

  • Function Group Name

  • Function Module Name

  • Function Module Description

If you want trigger the creation of a function module enabling the storage of data in Customizing tables of the target systems select Configuration Data.
  1. Choose Next.

Select Entity Types and Attributes

  1. In the tree structure, select the entity types and attributes that you want to include in the interface model and that are to be replicated from the central system to one or more receiver systems.
  2. Choose Name ABAP Dictionary Objectsand enter names for the resulting ABAP Dictionary objects.
    Enter a prefix for the names of the structures and table types to be created and choose OK.
    The system enters the technical names of the objects into the selection overview list, all beginning with the prefix that you have chosen.
  3. Choose Next.

Review and Submit

  1. In the overview list, check that your interface model contains all the required ABAP Dictionary objects. If not, choose Previous to go back and add what is missing.
  2. If you are satisfied, choose Next.
  3. The system asks you to create a transport request.
  4. After you have confirmed the transport request, the system displays the message Interface model created.

Confirm

  1. Choose Application Log for OIFand check that all the ABAP Dictionary objects have been created and activated.
  2. Then choose OKand close the guided procedure.

You have created a new outbound interface model.

Integrating the Outbound Interface Framework with the Data Replication Framework

Filter object:

  1. In Define Filter Objects, select the filter object that was created and assigned as described under Prerequisites, step 2. Then choose Assign Filters.
  2. Create a new filter with the following entries:
  • Filter: Assign a unique name to the filter.

  • Description: Enter a description for the filter.

  • Filter Type: Select 2 Explicit Complex Filter.

  • General Filter Parameter: Provide a structure that comprises all the subsets of the fields of the highest entity of the business object for which you want to define the filter.
    Note: The filter is supported for the highest entity of the business object only.

  • Filter Class: Select the generic implementation class CL_MDG_OIF_DRF_FILTER.

Outbound implementation:

  1. In Define Outbound Implementations, add a new entry with the following details:
  • Outbound Implementation: Assign a unique name for the outbound implementation.

  • Description: Enter a description for this.

  • Outbound Implementation Class: Select the generic implementation class CL_MDG_OIF_DRF_OUTBOUND_IMPL.

  • Communication Channel: Select 4- Replication via RFC.

  • Business Object: Select the business object for which you have created the interface model.

  • Filter Object: Select the filter object that has been assigned to the business object.

  • Outbound Interface Model: Provide the outbound interface model that you want to integrate with DRF.

Displaying Outbound Interface Models

If you want to display an existing outbound interface model, select the model and choose Display.

To return to the interface model overview list, choose Close.

Deleting Outbound Interface Models

If you want to delete an outbound interface model, the system checks whether the selected interface model is used in other outbound implementations. If so, the system displays the respective outbound implementations in the Where Used overview list.

If the interface model is not used elsewhere, the system deletes it after you have confirmed the deletion for a second time. The system then asks you to create a transport request so that the deletion is replicated from the central system to all relevant receiver systems.






TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 8961 Date: 20240523 Time: 154954     sap01-206 ( 93 ms )