Use
In Customizing for Distribution (ALE), you can define filter values for each receiving system and for specific business application programming interface (BAPI) parameters (IDoc segments). You do this in the activity Maintain Distribution Model. The system then filters the data records for the corresponding BAPI parameter, distributing only those with the defined filter values.
Features
The BAPI parameters have a hierarchical structure. You can display these dependencies from the ALE Development screen by choosing BAPI
® Hierarchy maintenance for table params and entering BUS1001001 as the object type and CLONE as the method. Due to these hierarchical dependencies, data for subordinate parameters is also filtered automatically if data for the higher-level parameter is filtered out.You want the sending system to send only distribution-chain-specific data to the receiving system for the following distribution chains:
In the distribution model, this requires you to set filters below the method RetailMaterial.Clone for the receiving system as follows:
Filter: sales data |
|||
Filter group |
|||
Sales organization |
|||
0001 | |||
Distribution channel |
|||
01 | |||
02 | |||
Filter group |
|||
Sales organization |
|||
0002 | |||
Distribution channel |
|||
01 |
The first filter group ensures that sales data is distributed for distribution chains 0001/01 and 0001/02.
The second filter group ensures that sales data is distributed for distribution chain 0002/01.
If you want the receiving system to receive only data for certain sites, be sure to filter the valuation data for the sites concerned in addition to the actual site-specific data since valuation is normally at site level. If site-specific POS data is also maintained, you must set the filters accordingly.
You want the sending system to send only site-specific data to the receiving system for the following sites:
In the distribution model, this requires you to set filters below the method RetailMaterial.Clone for the receiving system as follows:
Filter: site data |
|||
Filter group |
|||
Site |
|||
0001 | |||
0002 | |||
Filter: valuation data |
|||
Filter group |
|||
Valuation area |
|||
0001 | |||
0002 | |||
Filter: POS data |
|||
Filter group |
|||
Site |
|||
0001 | |||
0002 | |||
<blank> |
The first filter group ensures that site-specific data is distributed for sites 0001 and 0002.
The second filter group ensures that valuation data is distributed for sites 0001 and 0002.
The third filter group ensures that site-specific POS data is distributed for sites 0001 and 0002. The filter value <blank> is necessary to ensure that all distribution-chain-specific POS data continues to be distributed.
Do not filter data for reference sites since this data is created in the target system automatically if no data is distributed via the IDoc. Filtering data for reference sites can otherwise cause discrepancies between the data of the reference site and the data of the dependent sites in the target system since the data for the reference site is then created in the target system on the basis of the reference article.
If other data (such as listing conditions or purchasing info records) is distributed in addition to the actual article master data, you must define filter values for this additional data accordingly.