SAP ABAP IMG Activity WRMA_SHRKP_INV_PER (BAdI: Adjustment of Planned Shrinkage in Periods with Inventory Count)
Hierarchy
BI_CONT (Software Component) Business Intelligence Content
   BW-BCT-ISR-RSL (Application Component) Retail Stock Ledger
     RS_AA_WRMA (Package) Analytical Application RMA - Retail
IMG Activity
ID WRMA_SHRKP_INV_PER BAdI: Adjustment of Planned Shrinkage in Periods with Inventory Count  
Transaction Code S_B75_08000031   (empty) 
Created on 20091014    
Customizing Attributes WRMA_SHRKP_INV_PER   BAdI: Adjustment of Planned Shrinkage in Periods with Inventory Count 
Customizing Activity WRMA_SHRKP_INV_PER   BAdI: Adjustment of Planned Shrinkage in Periods with Inventory Count 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WRMA_SHRKP_INV_PER    

Use

With this Business Add-In (BAdI), you can include a planned shrinkage in the RMA in periods with inventory count. This may be useful if you want to accrue the expected shrinkage for the remainder of the period, from the date of the inventory count to the period end.

Requirements

The structure IS_WRMA_COMM that was transferred to method CALCULATE_PLANNED_SHRINKAGE contains information on the RMA valuation level, the calculation schema used, and the currently processed access condition type.

The table IT_RAW_DATA contains information on the raw data that the system has read for the current RMA calculation.

Standard settings

Activities

SAP recommends that you implement either this BAdI, or BAdI WRMA_SHRKP_ADJUST.

Example

You can determine the shrinkage access sequence from the access condition type by using the method READ_WRMA_SHRK_KOZGF for class CL_WRMA_SHRINK_CUST. From this, you can derive the shrinkage percentage valid for the RMA valuation level by using method GET_SHRINK_PERCENTAGE for class CL_WRMA_SHRINK_PERCENT. You can read the sales for the current period from table IT_RAW_DATA by accessing the corresponding condition (for example SALE).

If the raw data contains information on the date of the inventory count, you can delimit the calculated planned shrinkage for the entire period. This requires an enhancement of the standard content.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG WRMA_SHRKP_INV_PER 0 ARS0000023 Business Content and Extractors 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20091014 
SAP Release Created in 705