SAP ABAP IMG Activity WRF_DEP_STORE_BA_002 (BAdI: Additional Department Store/Shop Checks (Maintain Plant Master))
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   LO-MD-MM (Application Component) Material Master
     WRF_DEPARTMENT_STORE (Package) Department Store / Shops
IMG Activity
ID WRF_DEP_STORE_BA_002 BAdI: Additional Department Store/Shop Checks (Maintain Plant Master)  
Transaction Code S_XB4_60000148   (empty) 
Created on 20040514    
Customizing Attributes WRF_DEP_STORE_BADI   BAdIs for Department Store/Shops 
Customizing Activity WRF_DEP_STORE_BA_002   BAdI: Additional Department Store/Shop Checks (Maintain Plant Master) 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WB0X_CHECK_SHOP_E    

Use

You can use this BAdI to run a consistency check between shops and the higher-level department store. You can check, for example, that the total floor space of the shops is not greater than the floor space of the department store.

The following three methods are available.

  • CHECK_SHOPDATA
  • CHECK_SHOPNAME
  • CUSTOMER_CHECK

Requirements

To use this BAdI, your SAP R/3 System has to be configured as an SAP Retail system.

Standard settings

This BAdI is not active in the standard system. No default or example coding is provided or executed if the customer does not create an active implementation.

The BAdI is not filter-dependent.

The BAdI does not support multiple use.

Activities

When you start the IMG activity, you initially see a dialog window, in which you can enter the name for the implementation

If implementations already exist for this BAdI, a dialog box containing the names of the existing implementations appears. Click Create in this dialog box and continue as follows:

  1. Enter a name for the implementation of the BAdI in the Implementation field and then click Create

    The initial screen for creating BAdI implementations appears.

  2. Enter a short text for the implementation in the initial screen, in field Short Text for Implementation
  3. Select the Interface tab page.

    The Name of the Implementing Class is already filled in the tab page, because the system assigns a class name based on the name of your implementation.

  4. Save your entries and assign to a package.
  5. Position the cursor on each method and double-click to process the method.
  6. Enter the desired coding for your implementation between the statements method <Interface-Name>~ <name of method> and endmethod.
  7. Save and activate your coding, and go back to the Change Implementation screen.
  8. Save in the Change Implementation screen.

Note: You can also create a BAdI for the implementation and activate it later. In this case, end processing now.

  1. Choose Activate.

Now, when the application program runs, the coding you defined in the method also runs.

Example

Also see

Method CHECK_SHOPDATA

Method CHECK_SHOP_NAME

Method CUSTOMER_CHECK

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