on 08-21-2012 10:31 PM
We have two SCM system. One is running on SCM5.1 and other is on SCM4.0.
SCM5.1 is mainly used for Forecast Planning and SCM4.0 is for SNP Planning.
We have built a custom interface Program that transfer Forecast data from SCM5.1 to SCM4.0
Sequence of the execution in this program are below ( program runs in SCM5.1 )
1. It Delete All the CVCs from SCM4.0 system.
2. Then it read All CVC ( Product and Location ) from SCM 5.1
2. Program then save this ( Product and Location combination info ) in a file and place it on application server
3. Then it read the file from application server for SCM4.0 to Load CVCs
4. And Finally it Load the CVC in SCM4.0
5. Then program Load the Key Figure Value into Planning Book in SCM4.0 for Forecast data that we are transferring from SCM5.1
Problem that we are facing ...
Most of the time after Loading CVc step in the program is done ...it create inconsistency in SCM4.0...So when this program try Loading the Key figure Value we get the error message No LiveCache Error Found ( Since there is inconsistency for some set of Matertial and Location combination at the time of CVC Load in SCM4.0 )....
In Order to Avoid this error from the program itself we are trying to execute Consistency Check Program /sapapo/ts_lcm_cons_check with the repair , Log and Check Livecache Anchor Flag On.
But what we noticed while debugging this issue is...calling /sapapo/ts_lcm_cons_check using submit and return statement from the program does not seems to be working...but when we run /sapapo/ts_lcm_cons_check it mnaually in SCM4.0 then it works....
Please advise if there is a way we can read consistency check Log Information through some standard FM or Program ...specially the Inconsistent CVCs Combination ( Product & Location Combination) that we see when we run Consistency Check Program...So we can re run the interface program for those set of CVCs again to transfer the forecast
Please advise how we can execute /sapapo/ts_lcm_cons_check from the program itself since Submit and return statement that we are calling in the program does not seems to be working...
Regards,
Manoj Tiwari
Hello Manoj,
I don't want to comment on your operations. But changes on CVCs without deactivating the planning area is not a proper operation in APO system. The said inconsistencies will sure to happen.
You'll need to deactivate the planning area in SCM4.0 first, then copy the CVCs, and then reinitialize the planning area again.
If you need to keep the data in planning are before copy, you need to perform a backup to BW before deinitialization.
Best Regards,
Ada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ada,
I agree with you but this is an exisitng interface that we are modifying...previous interface uses delta CVC upload so we use to run PA initialization before this interface starts....
As you said in order for us to delete CVC and then load it every time we need to de initialize PA first , then load cvc and then initialize the PA again....
I did that ...but i end up having another issue where i need help...
I ran the de initialization program /SAPAPO/TS_PAREA_DE_INITIALIZE
I ran it in background.
Program ran for almost for 6 hrs and did not finished…..
Then I killed the job….
I ran /SAPAPO/TS_PAREA_INITIALIZE to initialize the PA ...after killing that job
then I Ran consistency check program /sapapo/ts_lcm_cons_check that show error “Key figure description for key figure <xyz> does not exist in liveCache” as you see below…
As per the description it say we need to run PA initialization again ....I did that..... but its not working….
How to correct this error Key figure description for key figure 9ADFCST does not exist in liveCache
when i go to planning book to load the data for any material i get No live cache anchor found....
Please advise....
Regards,
Manoj
Hi Manoj,
Try these three things, I believe one of them should work in your case:
1. Run /sapapo/ts_lcm_cons_check with only repair flag on. Do not check other flags like Log and Check LiveCache Anchor.
2. Leave one CVC (which is not used for any planning) in SCM 4.0 MPOS and then try de-initializing, upload CVCs and initialize the planning area again.
3. Make sure that the "Adjust Time Series Objects automatically" checkbox is flagged in the variant of create CVCs program.
Thanks,
Jagjeet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.