Introduction
Characteristic Value Combinations (CVC) is basically master data for Demand Planning. It is nothing but a combination of characteristics with which we need to plan and forms the basis for aggregation and disaggregation.
CVCs are planned for corresponding Master Planning Object Structure (MPOS) which in turn can be used to one or more planning areas.
Transaction for Creation, Display and Deletion of CVCs - /SAPAPO/MC62
Due to changing business requirements and change in planning options, one may need to purge CVCs which are either no longer required or are those against which no planning process is going to happen in near future. This not only helps to keep only relevant data in planning books but also helps in performance optimization of planning area backup jobs.
Options to Delete CVCs in Demand Planning -
This option is good, if we want to delete only few CVCs as only one CVC could be deleted at a time.
Disadvantage - With this option one can delete only one CVC at a time from the MPOS, as there is no option available to give multiple values in any of the selection field
With this option, one can delete multiple CVCs at a time as you have the option of selection condition as shown in above screenshot to give multiple values for any of the selection field
Disadvantage – No option of execute the program in background. So, if one wants to delete huge number of CVCs, it can only be done through foreground mode through this option
3. Program - /SAPAPO/TS_PSTRU_CONTENT_DEL
Disadvantage – Through this option, entire CVC is deleted but time series data is also deleted and the planning area becomes red (inactive) thereby loss of data.
4. Custom Approach – Realignment Option
Scenario - Suppose we have around 10k CVCs which we need to delete from planning area. Assumption here is that for these 10K CVCs there are 10K unique values for particular characteristic.
Since we do not have option of giving 10k values in selection field for any characteristic and run the job in background, we will use realignment option. So, instead of first deleting these 10K CVCs we would “realign” these 10K CVCs and then delete.
Objective –
Steps –
1. Maintenance of the Realignment Table
To access the realignment/copy functions choose Demand Planning->Data Administration ->Data Realignment.
Enter the name of the master planning object structure and choose Create.
2. Maintain Entries
In our example, we are creating an excel filw with source characteristic containing the value and making the destination characteristic as "TEST"
3. Import File and Execute the Realignment Job
4. Delete CVC
Advantage –
Deleting CVC from Infocube
CVCs with value ”TEST” are still in Infocube and will appear whenever the Planning book will get executed. In order to remove these unwanted CVCs completely from the system, it is required to remove them from Infocube
a) Transaction - LISTCUBE
Here, based on selection criteria - it will list out all the CVCs in Infocube with Dummy value as assigned during Realignment Process
b) Transaction - RSA1
This will end the CVC deletion process.
Summary –
As discussed in this document, we have multiple options to carry out the deletion process for CVCs in DP. Depending on how much CVC needs to be deleted, one can use different option available.
One of the limitations is that, there is no single transaction to carry out deletion of chunk of CVCs in background mod. For this, realigning the data before deleting helps as discussed above
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
4 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |