SAP ABAP IMG Activity WRF_DEP_STORE_BA_001 (BAdI: Number Assignment: Department Store/Shop)
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_001 BAdI: Number Assignment: Department Store/Shop  
Transaction Code S_XB4_60000147   (empty) 
Created on 20040514    
Customizing Attributes WRF_DEP_STORE_BADI   BAdIs for Department Store/Shops 
Customizing Activity WRF_DEP_STORE_BA_001   BAdI: Number Assignment: Department Store/Shop 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SET_STORE_NUMBER_E    

Use

This Business Add-In (BAdI) makes it possible to change the internal number assignment for department stores and shops, in case custom numbering logic is required here and the default number assignment is inadequate.

Two methods are available here:

  • BUILD_WH_SHOP_NUM
  • CONVERT_NUMBER

Requirements

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

Standard settings

The BAdI is not active in the standard system. There is no default or example coding that is executed if the customer has not defined an active implementation.

The BAdI is not filter-dependent.

The BAdI does not support multiple use.

Activities

When you start this IMG activity, you first see a dialog box in which you enter a name for the implementation.

If implementations for this BAdI have already been created, a dialog box containing the existing implementations appears. Select Create in this dialog box and proceed as follows:

  1. Enter a name for the BAdI implementation in the Implementation field and then cilck Create.
    The initial screen for creating BAdI implementations appears.
  2. Enter a short text for the implementation in field Short Text for Implementation.
  3. Select tab index Interface
    Field Name of the Implementing Class in the tab page is filled automatically, because the system assigns a class name based on your implementation.
  4. Save your entries and assign them to a package.
  5. Position the cursor on each method and double-click to navigate to method processing.
  6. Enter the desired coding for the implementation between the statements <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: It is possible to create an implementation for a BAdI first and activate it later. In this case, end processing now.
  9. Click Activate.
    When you run the application program, the coding defined in the method is now run.

Also see:

Method BUILD_WH_SHOP_NUM

Method CONVERT_NUMBER

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