Scheduling Jobs for Master Data Distribution in SAP S/4 HANA in Integration Hub

Scheduling Jobs for Master Data Distribution in SAP S/4 HANA in Integration Hub

This section describes how to schedule jobs for the periodic creation of intermediate documents (IDocs) for master data. You schedule the jobs for each defined variant, hence, for each message type. For example, if you want to distribute customer master data, plan a job for the message type, for example, MATMAS that periodically checks changes and generates IDocs.

Procedure

Business Partner

  1. From the IMG menu, choose SAP NetWeaver  Application Server  IDoc Interface / Application Link Enabling (ALE)  Modeling and Implementing Business Processes Master Data Distribution  Replication of Modified Data  Create IDocs from Change Pointers  Define Variants.

Alternatively, call the RBDMIDOC transaction.

  1. In the ABAP Editor: Initial Screen window, enter the following: 

Field Name

Field Value

Description

Program

RBDMIDOC

This is the program to distribute changes for customer master data.

  1. To define a job, choose System Services  Jobs  Define Jobs.
  2. In the Define Background Job window, enter the following:

Field Name

Field Value

Description

Job name

<Job name> 

Example: MDD_CUSTOMER


Job class

<Job class>

Select the priority according to your requirements.

This is a classification of background jobs according to priority and job type.

Exec. Target

<host name>_<SAP System name>_<SAP System number>

Name of an SAP instance where the system executes the background job.

Host name is the name of the server computer on which the instance runs. The system profile parameter SAPLOCALHOST contains this information.

The name of each instance is specified in the system profile parameter rdisp/myname.

  1. Choose Start Condition, and in the Start Time window, select the following:
    1. The required starting time, for example, Immediate.
    2. The Periodic job checkbox
    3. The required Period values option, for example, Hourly.
  1. Save your entries.
  2. Choose Step, and in the Create Step 0 window, enter the following:

Field Name

Field Value

Description

Variant

<Variant name> 

For example: MDD_CUSTOMER

This is the name of the previously created variant for sending IDocs for the DEBMAS message type.

  1. Save your entries and save the job


Product

  1. From the IMG menu, choose SAP NetWeaver  Application Server  IDoc Interface / Application Link Enabling (ALE)  Modeling and Implementing Business Processes Master Data Distribution  Replication of Modified Data  Create IDocs from Change Pointers  Define Variants.

Alternatively, call the RBDMIDOC transaction.

  1. In the ABAP Editor: Initial Screen window, enter the following: 

Field Name

Field Value

Description

Program

RBDMIDOC

This is the program for distributing changes for customer master data.

  1. To define a job, choose System Services  Jobs  Define Jobs.
  2. In the Define Background Job window, enter the following:

Field Name

Field Value

Description

Job name

<Job name> 

Example: MDD_PRODUCT


Job class

<Job class>

Select the priority according to your requirements.

This is a classification of background jobs according to priority and job type.

Exec. Target

<host name>_<SAP System name>_<SAP System number>

Name of an SAP instance where the system executes the background job.

Host name is the name of the server computer on which the instance runs. The system profile parameter SAPLOCALHOST contains this information.

The name of each instance is specified in the system profile parameter rdisp/myname.

  1. Choose Start Condition, and in the Start Time window, select the following:
  2. The required starting time, for example, Immediate.
  3. The Periodic job checkbox
  4. The required Period values option, for example, Hourly.
  5. Save your entries.
  6. Choose Step, and in the Create Step 0 window, enter the following:

Field Name

Field Value

Description

Variant

<Variant name> 

For example: MDD_PRODUCT

This is the name of the previously created variant for sending IDocs for the MATMAS message type.

  1. Save your entries and save the job.


Next Step: Setting System Type-Specific Properties for the Subsidiary SAP Business One System(s) in SAP Integration Framework 2.0 for Master Data Distribution