SAP ABAP IMG Activity W_DF_EK_0170 (BAdI: Extend IDoc Preparation)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   LO-MD-RA-ASL (Application Component) Assortment List
     WBBCN (Package) Assortment List: Enterprise AddOn
IMG Activity
ID W_DF_EK_0170 BAdI: Extend IDoc Preparation  
Transaction Code S_ALN_01001103   (empty) 
Created on 20020215    
Customizing Attributes W_DF_EK_0170   BAdI Attribute 
Customizing Activity W_DF_EK_0170   BAdI: Extend IDoc Preparation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name ASSORTMENTLIST_UPD    

Use

This Business Add-In (BAdI) enables you to extend IDoc preparation for the assortment list.

The BAdI contains the methods "PREFETCH_ALL", "PREFETCH_SITES" and "CHANGE_IDOC".

By implementing the BAdI yourself, you can efficiently read additional data for the materials and then using this data, you can change and extend the IDocs as you wish.

Requirements

You use transactions WDBI_HPR, WDBU_HPR or WDBM_HPR to create assortment lists.

Standard settings

The BAdI "ASSORTMENTLIST_UPD" does not come ready-implemented.

Previous read functions for the material data that is contained in or can be selected in the standard system are already implemented outside the BAdI in accordance with the logic of this BAdI. Therefore, for the material data contained in the standard system, you do not need to implement this BAdI.

Activities

Implement the BAdI "ASSORTMENT_UPD" with the three methods it contains.

Example

You want to read the data for all materials from a customer-specific table "Z_EX" and include the data in an extra segment Z_E1WBB in the assortment list IDoc. To do this you implement methods PREFETCH_SITES and PREFETCH_ALL and perform mass access to the database table.

You place the results in an internal table, which you access in your implementation of method CHANGE_IDOC to insert the new segment into the IDoc.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20020215 
SAP Release Created in 110