Hierarchy

⤷

⤷

IMG Activity
ID | WRB_BADI_002 | Read Stock and Calculate Statistics for Out-of-Stock Situations |
Transaction Code | S_AX8_68000369 | IMG Activity: WRB_BADI_002 |
Created on | 20030124 | |
Customizing Attributes | WRB_BADI_002 | Read Stock and Calculate Statistics for Out-of-Stock Situations |
Customizing Activity | WRB_BADI_002 | Read Stock and Calculate Statistics for Out-of-Stock Situations |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | WRBX_OUT_OF_STOCK |
Business Add-In WRBX_OUT_OF_STOCK
Use
The Business Add-In WRBX_OUT_OF_STOCK
is used in the function modules WRB_RFC_VENDOR_GET_OUTOFSTOCKS and WRB_RFC_GET_OOS_OVERVIEW to read stock levels in stores and distribution centers to obtain an overview of out-of-stock situations. Module WRB_RFC_GET_OOS_OVERVIEW
calls module WRB_RFC_VENDOR_GET_OUTOFSTOCKS
internally to calculate an overview of out-of-stock situations per vendor, aggregated for stores, distribution centers and all materials.
The out-of stock data is displayed in the iViews VendorOutOfStocks
(all materials at vendor level, aggregated by distribution centers and stores) and OutOfStocksOverview
of the Retail Buying Business Package.
The following can be implemented using the BAdI:
- Authorization check for executing the module
- Initialization of the BadI class to be implemented
- Check whether the material group transferred is valid
- Vendor name displayed in the iView
- Determination of the plant list (distribution centers and stores)
- Determination of the material list
- Calculation of the out-of-stock situation at vendor-material level
- Calculation of the out-of-stock situation at vendor level aggregated across the materials considered
The defined BadI methods are called by the above-mentioned modules in a specific order, thus creating an overview of the out-of-stocks in several individual steps. The order in which the methods are called and the functions which are to be implemented are described in the documentation for the function modules WRB_RFC_VENDOR_GET_OUTOFSTOCKS
and WRB_RFC_GET_OOS_OVERVIEW.
Requirements
Standard settings
Activities
Example
For more information, see the documentation on the following program objects:
- Function module WRB_RFC_VENDOR_GET_OUTOFSTOCK
- Function module WRB_RFC_GET_OOS_OVERVIEW
- BAdI WRBX_OUT_OF_STOCK
- BAdI interface IF_WRBX_OUT_OF_STOCK
- BAdI standard implementation, class CL_DEF_IM_WRBX_OUT_OF_STOCK
The standard implementation can also be the starting point for customer-specific developments, by using the standard implementation as a super class and therefore being able to use the functions already implemented.
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 | 20030124 |
SAP Release Created in | 2002_1_46C |