Show TOC

Distribute ALE Master Data

In this step, you define the controls for the ALE distribution of QM master data.

Here, a distinction is made between the initial distribution and a change distribution.

Example

An ALE distribution is possible for the following master data in the QM component:

Requirements

The systems involved are already prepared for the ALE. The logical systems involved must be defined.

Standard Settings

The standard system is also already prepared for the distribution of QM master data, as far as possible.

Recommendation

The technical ALE settings are normally made for several components in the SAP System and not just for the QM component. Therefore, for details on ALE distribution, see the general documentation for ALE, in particular the ALE Implementation Guide.

Have an expert, who has experience of ALE in the R/3 System make the required settings.

Activities

General settings

a) Check whether the general settings for the distribution of QM master data exist. These settings are required for the initial distribution and the change distribution. For general information, see the ALE Implemetation Guide , sections "Distribution Model" and "Configuring Systems in a Network".
Note

: Data is distributed in Quality Management using BAPIs (special function modules). Since a different technology is used than with the distribution of material master data, you must maintain your own model view in the distribution model.
Thedistribution model must be maintained. This involves at least one model view for the BAPI "SaveReplica" for the affectedobjects. You specify the source and target system in the model view. The following objects are involved:

Object Usage
MatInspectionControl Inspection setup for material
InspectionMethod Inspection method
MasterInspectionChar Inspection characteristic
CodeGroup Catalog/code group
b) If required, you must also maintain a dependency between the "SaveReplica" method and a message type (for example, MATMAS)(transaction BD48). Such dependencies are not normally required.
This dependency affects receiver determination for the BAPI. The receiver determination only finds receivers that are allowed or planned for the BAPI or the assigned message type. For example, if a BAPI is assigned to the message type MATMAS, it is no longer possible in the distribution model for this BAPI to enter a filter for the material as an object value.
c) You must also generate a
partner profile for the model view, if this has not already been done by other applications that use ALE. You create this profile in the distribution model as described above in a).
a) You must also define the
target systems for RFC calls , if this has not already been done by other applications that use ALE.
b) You must maintain a process code in the inbox, if this has not already been done by other applications that use ALE (transaction WE42). The standard value for the distribution with the BAPI is the process code BAPI. A function module is assigned to this process code (in the standard, BAPI_IDOC_INPUT1). The system uses the following message types to find and call a suitable function module in table TBDME:
Message type Usage
MATQM Inspection setup for material
QSMT Inspection method
QPMK Inspection characteristic
QPGR Catalog/code group
c) You must maintain an inbound and outbound parameter for the message types, if this has not already been done by other applications that use ALE (transaction WE20).
For the relevant logical systems (sending and receiving systems), you must also maintain the corresponding message type with its basic type and receiver port (-> partner profile) in the inbound and outbound parameters. You must enter the process code. The default value is BAPI.

Settings for the distribution of changes

The procedure is dependent on whether change documents can be written automatically for objects that should be distributed using ALE.

1. Changing the inspection setup for the material
Change documents are written for the the inspection setup of the material. Check whether the settings for the change distribution have been defined and if the QM component has been taken into account in these settings. Perform the following steps:
a) The writing of change pointers/indicators (or change documents) must be active in the general system settings.
b) Activate the change pointers for each individual inspection setup of a material.
For this, all fields from the "inspection setup" table (QMAT) must be entered in the distribution table "DQMAT" for the message type MATQM.
c) Activate the writing of change pointers for the corresponding message type.
d) Maintain the additional data for the message type. Select the relevant message type in this table and process the related data. Enter the function module, (here: MASTERIDOC_CREATE_SMD_MATQM), which prepares both the change pointers and the data to be sent using IDOCs.
2. No change documents are written for master inspection characteristics, inspection methods, and code groups. The changes are distributed in the following way:
a) In the
, you set the indicator Distribute master inspection characteristic , Distribute inspection method , or Distribute code groups .

Further Notes

Data is distributed using ALE because of the following problems:

Take measures to prevent any unwelcome effects from these factors.