Ansicht
Dokumentation
/SAPAPO/PDEM_DEMHIS_DELETE - Program for Demand History Data Deletion
CPI1466 during Backup Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
Purpose
This report deletes records from the DEMAND HISTORY. The DEMAND HISTORY is stored in tables /SAPAPO/DEMHIS and /SAPAPO/DEMBOD (future BOD).
This report can be used for housekeeping. You can delete data records that are older that a certain number of months. For example, you can delete demand data that is older than 48 months.
Starting from the date of execution, the number of months is used to calculate a date in the past.
The date in the past is converted into a Period depending on the actual Forecast Periodicity setup (Day/Month/Year). All Demand History older than this Period is removed from the database tables.
You can use this report to reset the demand history data completely. For example, in case
you changed the DEMAND HISTORY data storage from 'Persisted' to 'Virtual' it is advisable to clear the DEMAND HISTORY. See note 2912255 'eSPP Capture and Manage Demand' for further explanation.
You can use this report to delete all demand for a range of products. The report removes all demand history from table /SAPAPO/DEMHIS and /SAPAPO/DEMBOD that have these products as original product in the raw demand.
The RAW DEMAND (table /SAPAPO/RAWDEM) itself is not affected by this report.
You can recalculate and restore the DEMAND HISTORY from the RAW DEMAND by the execution of the Demand Alignment Service.
Features
Selection
- Delete by Num.of Months - with this Selection Option you can specify the parameter 'Deletion older that Number of Months'.
- Delete all data - with this Selection Option you erase all data from the DEMAND HISTORY
- Delete by Product Selection - with this option you erase all demand for these products
Standard Variants
Processing Mode
The Test Mode produces a log file and informs on the data volume. No data is updated.
Vendor Master (General Section) TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2116 Date: 20240427 Time: 052230 sap01-206 ( 41 ms )