SAP ABAP IMG Activity SIMG_CFMENUOLSDPCB03 (BAdI for Reading the Material in an Item)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   SD-EDI (Application Component) Electronic Data Interchange
     VPRI (Package) Application Development R/3 Retail/CP EDI messages
IMG Activity
ID SIMG_CFMENUOLSDPCB03 BAdI for Reading the Material in an Item  
Transaction Code S_PLN_16000309   (empty) 
Created on 20020506    
Customizing Attributes SIMG_CFMENUOLSDPCB   Attributes for BAdIs in PRICAT 
Customizing Activity SIMG_CFMENUOLSDPCB03   BAdI for Reading the Material in an Item 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PRIREADMATERIAL    

You can use the BAdI PRIREADMATERIAL to enter your own data in the fields of the price catalog. You can use this Add-In to enter data in the catalog fields that cannot be supplied with data from the ERP standard system, but for which there is data in customer-defined tables or in enhancements. The BAdI can also be used to read conditions or BOMs in a logic different to that of the price catalog, and to integrate the data from these with the price catalog.

The Add-In consists of five methods:

  • READ_MATERIAL
    Basic data can be enhanced here.
  • READ_BOM
    Enhancements can be implemented to read BOMs. The method is called for each material (even if no BOMs can be found in the system for that material). This enables BOM information to be read individually and stored in K007.
  • READ_CONDITION
    Enhancements can be implemented to read conditions.
  • READ_CONDITION_COMPLETE
    Conditions can be changed/enhanced here too. Unlike the READ_CONDITION, this method has a greatly enhanced interface. The BOM information is much easier to access using this method.
  • READ_BOM_COMPONENTS
  • This method is called in the routine for BOM access and enables you to process the BOM components that have been determined immediately. The system can only call a BOM if a material actually has a BOM. This method allows you to change the BOM components.

Example

Requirements

Standard settings

Recommendation

Activities

Further notes

The return value is evaluated differently in each of the three methods. If an error occurs in the method READ_MATERIAL, then the reading of the item is canceled. In the other methods, a message just appears in the log.

The tables that have been transferred contain the values that were already determined for the item.

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  20020506 
SAP Release Created in 110