Ansicht
Dokumentation

WRMA_SHRKP_INV_PER - BAdI: Adjustment of Planned Shrinkage in Periods with Inventory Count

WRMA_SHRKP_INV_PER - BAdI: Adjustment of Planned Shrinkage in Periods with Inventory Count

Vendor Master (General Section)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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.

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

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.






PERFORM Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1503 Date: 20240523 Time: 195628     sap01-206 ( 49 ms )