Process of the Distribution of Dangerous Goods Master Records

Purpose

This process describes how you distribute dangerous goods master records between different systems. Source and target systems are usually SAP systems. If non-SAP systems are used, these systems must function in the same way as an SAP system. You can use the distribution of dangerous goods master records to control which dangerous goods master records and which fields of a dangerous goods master are distributed to which target systems.

See also: Update Model

Prerequisites

  • You have edited Customizing for Distribution (ALE).

  • You have edited Customizing for Dangerous Goods Management under Start of the navigation path Dangerous Goods Interfaces Next navigation step Distribution End of the navigation path.

    You can use the Customizing activities Specify Checkbox Structure for Dangerous Goods Master and Specify Checkbox Structure for DG Packing Requirement to define which fields of the dangerous goods master are to be distributed from the target systems.

Process

  1. You start distribution by sending the dangerous goods data from the source system. You can specify the following selection criteria: Material, dangerous goods regulation, selection date, and logical system. You can specify intervals for the criteria material, dangerous goods regulation, and logical system.

    Note Note

    • If you want to distribute all dangerous goods master records (initial distribution), set the selection date as 01/01/0001.

    • You can set the time of distribution, for example, immediately after a change or periodically by scheduling a batch job.

    End of the note.
  2. The SAP system selects and reads the data records from the dangerous goods master and transfers the data to the appropriate IDoc of the type DANGEROUSGOOD.

    Note Note

    • Multiple change states can exist before and after the selection date in the target system and in the source system. The system generates a change number on the selection date. The data records remain unchanged in the target system until the selection date; the data records from the source system are transferred for the period after the selection date. If necessary, temporarily occurring identical change states will be matched up by the system.

    • You have the option of first simulating the distribution from the source system to the target systems. When the distribution of dangerous goods master records is simulated, the master records determined for distribution are displayed in the source system but not distributed to the target systems.

    • To display logs for the distribution, in the target system, choose Dangerous Goods Management ToolsImport LogCheck Logs from the menu.

    End of the note.
  3. The IDoc of type DANGEROUSGOOD is sent by means of ALE to the systems that you selected.

    Note Note

    The SAP system uses the methods BAPI_DANGEROUSGOOD_REPLICATE and BABI_DANGEROUSGOOD_SAVREPMUL that are stored in the Business Object Repository (business object BUS1078: Dangerous Goods) to distribute the dangerous goods data.

    End of the note.
  4. The update module is triggered in the target systems. This makes sure that the SAP system identifies the dangerous goods data records and the old data is matched up with the new data, depending on how you have edited the checkbox structures in the Customizing activities Specify Checkbox Structure for Dangerous Goods Master and Specify Checkbox Structure for DG Packing Requirement.

    Note Note

    The application document is posted during distribution.

    End of the note.

    If data does not yet exist in the target systems, it is automatically created.

    Note Note

    Data can be lost if you have edited data manually in the target systems since the last data distribution and this data is not present in the source system. Data can also be lost if you have not processed the checkbox structures correctly in Customizing for Dangerous Goods Management.

    End of the note.
  5. In the target systems, you can monitor the data from the ingoing IDoc using IDoc monitoring.

  6. The SAP system writes a log for the data distribution. You can view this log in the target systems.

Result

Data Processing
  • While sending complete data, the dangerous goods master is locked for changes. If this lock cannot be set, you cannot edit the dangerous goods master.

  • If a dangerous goods master cannot be found in the target systems, the system creates the dangerous goods master with the key that was transferred from the source system.

  • If there is a dangerous goods master in the target systems, its data is formatted.

Administration

To check the data distribution, go to ALE Administration.