DP Realignment - 1

DP realignment is a option to adjust data in planning area data as per business scenarios like changes in product hierarchy or sales hierarchy or a new product replacing old one. The main advantage of realignment over copy is that realignment creates the target CVC’s if they are not available in the POS.
Let us consider a master planning object structure TEST_POS as shown below.    (/sapapo/msdp_admin)
/wp-content/uploads/2012/04/image006_94160.jpg
A planning area  TEST_PA is created on the TEST_POS
/wp-content/uploads/2012/04/image001_93854.png
The planning area is initialized for 000 version.
/wp-content/uploads/2012/04/image003_93856.png
The POS has two CVC’s one each for product P1 and P2.
/wp-content/uploads/2012/04/image007_93858.png
Before realignment
As seen in the planning book ,sales history is available with the old product P1.But to generate the statistical forecast ,it will advisable to move all the sales history of Product P1 to product P2..
/wp-content/uploads/2012/04/image009_94161.png
/wp-content/uploads/2012/04/image011_94162.png
T-code for realignment  :/sapapo/rlgcopy
/wp-content/uploads/2012/04/image014_93864.jpg
Click on Create/ Change Table to select the characteristics for realignment .This is a one time activity .Once the realignment table is created ,click on Maintain entries tab.
/wp-content/uploads/2012/04/image015_94174.png
Delete Source option will result in deletion of source CVC’s
Copy factor can be used to make changes in the effect of realignment .The default copy  factor is 100 which is for 1:1 copy of data.
Business Scenario:
If a new product is expected to sell about half of the old product then the factor is changed to 50.
Copy logic: Copy logic=M is for overwrite the existing destination CVC  data with source CVC data  and Copy logic=A is for adding  the existing destination CVC  data with source CVC data.
Business Scenario:

If a company has two similar products P1,P2 and  P1 is being discontinued,then Copy logic =A can be used.This is due to the fact that sales of the discontinued product will be compensated by increased sales of P2  
Click on save and then the realignment step will be ready for execution.
/wp-content/uploads/2012/04/image017_93866.png
After that click execute  in the realignment main screen
/wp-content/uploads/2012/04/image019_94185.png
/wp-content/uploads/2012/04/image020_94184.jpg
As seen in the screen shot realignment could not be executed due to locking .When users are work in the edit mode planning book then POS gets locked.
This happens in large implementations when  users are working in different time zones.So to execute the realignment time window needs to be given by business.
After all the users are out of planning book or change to display mode  realignment can be executed and same is visible in the logs shown below.  
/wp-content/uploads/2012/04/image022_93868.jpg
As show below ,sales history has been copied to destination product P2.
/wp-content/uploads/2012/04/image023_93869.png
To address the issue of locking info-cube realignment can be used .
The additional step of info-cube realignment is creation of  planning area extraction flow which is explained below.
Goto S&DP Administration (/sapapo/msdp_admin)  and select planning area .Go to change planning area.
Click on Data Extraction tools as shown
25_a.PNG
Click on Generate Data Source.Give the name of the data source .All the planning area data sources will start with 9A.
27_a.PNG
Now select the fields for data selection and hide the ones that are not needed. Usually  proportional factors is not extracted from planning area.
/wp-content/uploads/2012/04/image029_93876.png
Planning area data source will be generated as show below.
/wp-content/uploads/2012/04/image031_93877.png
Click on Data backup
/wp-content/uploads/2012/04/image033_93878.png
Give the name of the backup cube and info-area
/wp-content/uploads/2012/04/image035_93879.png
Click No to exclude proportional factor.
/wp-content/uploads/2012/04/image037_93880.png
Info-cube will be successfully activated as show below
/wp-content/uploads/2012/04/image039_93881.png
Info-cube will be visible in the specified info-area in RSA1
/wp-content/uploads/2012/04/image041_93882.png
Now the 9A data-source has to replicated as show below.
/wp-content/uploads/2012/04/image043_93883.png
Data source needs to replicated either as BI7 data source or 3X data source
/wp-content/uploads/2012/04/image045_93884.png
The below screen shots are for BI7 flow
/wp-content/uploads/2012/04/image047_93885.png
If the data-source is inactive then activate the same.
/wp-content/uploads/2012/04/image049_93886.png
/wp-content/uploads/2012/04/image055_93887.png
Now transformations needs to be created from data source to the backup cube
/wp-content/uploads/2012/04/image057_93888.png
/wp-content/uploads/2012/04/image061_93889.png
Create DTP to load the data from PSA to backup info-cube
/wp-content/uploads/2012/04/image063_93890.png
Create Info package to extract the data from planning area to PSA.
/wp-content/uploads/2012/04/image067_93891.png
/wp-content/uploads/2012/04/image069_93892.png
As shown below 254 records are extracted from planning area to  PSA.
/wp-content/uploads/2012/04/image071_93893.png
Execute the DTP to load the data from PSA  to Info-cube.
/wp-content/uploads/2012/04/image075_93895.png
To use the  option of info-cube realignment ,click on choose info-cube and select the backup cube PA1. 
Untitled.png
Finally all the steps of cube realignment can be automated  with a process chain as shown below.
chain.JPG
The CVC Creation step in the process chain is needed as the realignment when executed in the info-cube does not make any changes in the POS or planning area. Also note that Delete Source option will not  delete of source CVC’s in the POS  but will make the data for source CVC’s in backup cube to zero.


Comments

Popular posts from this blog

Common CIF Errors

SO Deleted but appears in MD04

Automating CIF Delta Report Reprocessing