Listcube to Planning Area
Hello Experts,
While releasing the value from listcube to supply planning book ( via tx - /sapapo/rel_to_snp), an error pop-up.
"Characteristic combination XXXXXXX ( Mat. No) - XXXX ( plant No ) : Negative values set to Zero"
Any clue why is this happening ?
Please help..
Thank you
Regards
Rahul Chitte
Dear Rahul,
This is only an information message and not classified as error.
For the used material/location negative values in the used keyfigure occur, please see //sdp94 and the used planningbook/dataview/CVC.
Because negative values can not be released to SNP these values were set to zero.
Regards,
Tibor
Similar Messages
-
How is data loaded from Infocube to Planning area - need technical info
I would like to find out how data is loaded from cube to planning area ,
I know that CUBE has tables, but how does that get loaded to planning area , where is the mapping from which I can compare
data in CUBE and the same data that reaches planning area.
Say for example I have below values in the infocube
Prod1 --> Loc1 -
> available provisioning qty
AAA AB90 100
Then where do i check in the planning area tables ( are there any tables mapped) after running the TSINPUT program, i know it can be checked in the planning book , but i want to check in planning area tables if they exiHi ,
The data is loaded from infocube to planning area using update rules. The issue you have mentioned seems to be two requests are having data for the same CVCs in the cube.
Example: For the same CVC, two requests avilable in the infocube. When you copy the data using TSCUBE transaction, whatever data avilable in the cube for the CVC gets copied into Planning Area.
CVC1 - cube - Old Request - 100
CVC1 - cube - Actual Request - 200
CVC1 - Planning Area = 300 ( The value is supposed to be 200, but since the old request also contains data in the cube for the cvc, it gets copied as 300)
Issue : There might two request contains data for the same code
Solution : 1. Check the data in the cube using transaction LISTCUBE 2. Delete old request and check the data agian. 3. If it matches with your requirement, run the TSCUBE again.
Please let me know if you need additional information.
Thanks,
Jeysraj -
Planning area problem while running URGENT Please
Hi Gurus,
We are near by golive and today our users found that they are not able to see the history data to some of the products.
1,I had gone and checked the LISTCUBE and found the data is available in history cube for that product.Can anyone help me to solve this problem ?
2.Another User is seeing double records in the order history data in planning book.Can any one help me with this issues?
Is there any OSS note to see my planning area or any chances forming duplicates in planning area?
I will be very thankfull to you guys if you please give me your kind suggestions
Thanks a Lot
Regards,
RajHi Raj,
you have to bring the history data from the BW-Cube to the LiveCache first. There is a standard report to do this. (sapapo/rtsinput_cube)
If you have double values, then you have more than one request for the characteristic combinations in the cube. Make sure, that only one request is there.
regards,
kelpat -
Reading data form multi planning area
Hi Guys,
I bulit planning function type Exit on the multi planning area. I need to get the data from two planning areas(Underlying infocubes)
but my exit functions is not reading data from second Infocube(Planning area), my requirment is i need to get the one Keyfigure value from the second infocube .
My formula is
If fistcube-charactric(Marketing spend) = secondcube -charcsterstic ( marketing spend)
firstcube -keyfigure(CRM cost) = Firstcube-Keyfigure(CRMCIRC) * Secondcube -keyfigure(marketing spend rate).
the value for marekting spend rate is not getting populated , but i can see the keyfigure markeig spend in the structure.
Is there any other way i can get marketing spend keyfigure from the second infocube.
This part is not getting populated.
*Handling rate
ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486250'.
tmp_z_mksrate = <xdata>-s_kyfs-z_mksrate.
<xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_z_mksrate.
i tried to debug but i couldn't find out anything.
if anybody has experinced please share your ideas.
How to get value from second infocbue.
Here i am adding my code.
Data: lr_xdata type ref to cl_sem_planarea_attributes.
FIELD-SYMBOLS:
<xdata> TYPE /1sem/_ys_data_100ZCNA0001,
<t_xdata> type Hashed table.
Data: tmp_zcrm_circ type /BIC/OIZCRM_CIRC,
tmp_zcrmfacev type /BIC/OIZCRMFACEV,
tmp_z_mksrate1 type /BIC/OIZ_MKSRATE,
tmp_ZMKTSPED type /BIC/OIZMKTSPED.
**Get an instance of the planning area
call method cl_sem_planarea_attributes=>get_instance
EXPORTING
i_area = i_area
RECEIVING
er_instance = lr_xdata.
**create a table like xth_data
Data :lt_xdata type ref to data.
create data lt_xdata type (lr_xdata->typename_th_data).
assign lt_xdata->* to <t_xdata>.
clear: <t_xdata>.
SORT Xth_data.
Loop at Xth_data assigning <xdata>.
*Net Estimated Circulation
IF <xdata>-s_chas-ZMKTSPED = ''.
tmp_zcrm_circ = <xdata>-s_kyfs-zcrm_circ * ( <xdata>-s_kyfs-zcrmredr ) / 100.
tmp_zcrmfacev = <xdata>-s_kyfs-zcrmfacev.
Endif.
*Redemption
If <xdata>-s_chas-ZMKTSPED = '0000486213'.
<xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_zcrmfacev.
*Postage rate
ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486201'.
<xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * <xdata>-s_kyfs-z_mksrate.
*Processing rate
ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486230'.
<xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_zcrmfacev.
*Handling rate
ElSEIF <xdata>-s_chas-ZMKTSPED = '0000486250'.
tmp_z_mksrate = <xdata>-s_kyfs-z_mksrate.
<xdata>-s_kyfs-zcrmcost = tmp_zcrm_circ * tmp_z_mksrate.
ENDIF.
collect <xdata> into <t_xdata>.
ENDLOOP.
Refresh Xth_data.
INSERT LINES OF <t_xdata> INTO TABLE xth_data.
Endfunction.
Thanks in advance.
Best regards
SGHello SG,
first you can simplify your code by just defining <t_xdata> TYPE /1sem/_yth_data_100ZCNA0001. (No need for the dynamic type assignment).
The data of your second InfoCube needs to be a subset of the selection in your planning package. Check that the second area is also selected for example. Use the criteria in LISTCUBE (on the corresponding MultiProvider) to check that the selection works. Execute the planning function with trace. This shows you what data was selected.
Regards,
Marc
SAP CSA - Technology -
Planning area data not matching with backup cube / PSA
Hi friends,
while loading data from planning area to backup cube , for the key figure ( result of a macro),the data in planning area is not matching with PSA as well as with cube.
At the same time Data is matching at total level but not at disagregated level. And many times it disagregate in equal Proportion in cube/psa.
Pls its urgent.
Pts for sure.
Vishal.
9326179903make sure you have replicated the extraction of the data source. This is needed to ensure your backup cube gets the current data as in the planning area
if you got to /SAPAPO/SDP_EXTR then you can see this button
you can set this up as a program scheduled to run before the updation of your cube
As for the disaggregation, test at what level you are choosing your characteristic? ( i suppose you can choose the level)
Are you extracting at a detailed level or at the aggregated level
Is your macro saving the data into a Keyfigure or is it an auxilliary KF or something? -
Planning area data not updated in infocube in APO system
Hi all,
User is uploading a flat file using addon program to an infocube 1, from this infocube data for sales forecast KF is getting transferred to a planning area KF using standard program RTS_INPUT_CUBE. I can see the updated data in Planning book (which refer the same planning area) data views. In planning book the sales forecast data is also getting copyied to second KF 'Arrangement FC' and its correct.
Now there is a infocube 2 (second) which is getting data directly from this planning area (infocube also contains both KFs). But When i checked this infocube 2 , the updated data is availabe in Sales forecast KF , but arrangement forecast KF is having old data only and user is running query on second KF , so he is getting wrong report.
Since there is no data flow for this infocube 2, and it is getting data from planning area, I feel its remote infocube.
I have also found the datasource for this planning area but don't know how to move further to find why data is not updating properly? Please help on this.
I have information that 2 weeks before data was properly updated, but this time data is not updated,
system version is SAP SCM 4.0Hi Vivek
it is advisable to run the background jobs when the planning books are not being accesses by the users to prevent such inconsistencis. Hence i would advise you to run the jobs durng non-working hours. and if you have a global system, then you may restrict to run the jobs based on regional levels.
in addition, it is also a good practice to run consistency jobs before and after your have completed the background jobs. i hope you are using process chains to execute the sequeuce of jobs. if yes, then you can add consistency check jobs in the process chains.
some of the consistency check reports are :
/SAPAPO/OM17 - liveCache Consistency Check
/SAPAPO/TSCONS - Consistency Check for Time Series Network
/SAPAPO/CONSCHK - Model Consistency Check
and so and so forth..
you can find these conssistency jobs under APO Adiminstration --> Consistency checks in APO.
let me know if this helps.
Rgds, Sandeep -
Pension plans are not appearing under HRBEN0001
Hi All,
I have configured 3 pension plans and plan status for 2 plans are losed and one is open. I have set up everything correctly. But I am not able to see under Tcode HRBEN0001. Can anubody give me lights on this?
What I understood is closed status will not reflect via HRBRN0001. Am I right or wrong?
Regards,
PurnimaHi Sarah,
Yes, that person is eligible for that plan whose plan status is open. But when I am going through HRBEN0001 for that category of employee, I am not able to see that plan. I checked all configuration. Everything looks like OK. Can you please tell what I am missing?
Regards,
Purnima -
Load from cube to planning area
Hi,
We are facing a problem in loading data from Cube to planning area, we need to distinguish between the Zero and the blank values in planning area when loading data from cube to planning area.
Scenario is like this.
For a CVC u2013A on day D I am having key figure value as blank and on D1 is Zero and on D2 is 2, I want the same to appear as my planning area data If I load this data to cube my day D value will appear as Zero (but it was blank) and on D1 Zero and on D2 as 2 in cube.
I am using Std T-code /SAPAPAO/TSCUBE to load data from cube to planning area, in std T-code we are having option of ignore Zero, if I use this it will also stops the actual zero value(which I need) on day D+1 to come in to planning area which I donu2019t want.
I want my planning area data to be as blank on day D and Zero on D1 and 2 on D2 after loading data from cube to planning area..
Can any one put some light and help me out from this issue.
With regards,
SreeramaHi Seerama,
I am not sure to understand completely the issue: do you have an issue in the cube or in the planning area?
In order to differentiate a blank for a zero in the planning area, you need to set the flag "zero allowed" in the planning area settings. (in the tab keyfigure, click details, then for each key figure you can select or not the flag "zero allowed")
When you load the data, you should indeed not flag "ignore zero value"
If the issue you have is in your cube (between the file and the cube) then it is another matter...
Kind Regards,
Julien -
RE : BI APO Question Reg Data feeding from cube to Planning area.
Hi BW Experts,
iam working in an Implementation project for SCM in BW prcisely working with APO Bw..
For that I have taken historical data as a flat file and loaded it in to the external BW Infocube and its fine...
Second step I have created generate export datasource on topr of BW infocube and replicated in to Bw and used this export datasource as datasource for APO BW Infocube which is inbulit BW System from External Bw..
also I have created tranformations and data is loaded in the BW cube in APO system.Also Included Version charecterstics..
When I try to fed the APO Cube data to planning area Iam gettinga the following warning itsnot an error:
1.Key figure copy: InfoCube - planning area (DP) 01.01.2010 to 31.12.2010-- Successful
*2.No data exists for the selection made (see long text*
Diagnosis:Data could not be loaded from the Cube for the selection you made. Check whether the Cube actually contains data that is relevant for your selection.
For the second point I have time charecterstics filled in the infocube which Iam feding to a Planning area like 0CALMONTH,0CALWEEK,FiscVarnt,0CALMONTH
3.Characteristic assignment: No data copied --- Message
Can you please help me with your thoughts so that i wll try to corner the issue I will be highly obligedHi,
As I understood, you have loaded data from external BW cube to APO BW cube and now loading planning area from APO BW cube.
I hope your settings in /SAPAPO/TSCUBE transaction code would be correct and you have selected the correct planning version with correct cube.
Check if Data in APO BW cube is available for reporting or not and data is avilable for given selction (if any but I guess you are not giving any).
Thanks,
S -
Loading data from Cube to Planning area
Hi,
If I am loading data from a cube to a planning area using transaction TSCUBE,
does the system load data into planning area for the combinations that exist in the cube or does it load for all CVCs?
For example,
I have my CVC as Plant, Material, Customer
If there are 4 CVCs in the POS that were previously generated as
Plant--Material--Customer
01--M1--
C1
01--M2--
C3
01--M2--
C2
01--M4--
C5
If the cube has data like this:
Plant--MaterialCustomer----Qty.
01--M1C1--
10
01--M2C3--
20
01--M2C2--
5
(doesnot have the last combination), then if I use TSCUBE transaction to load data to Planning area from this cube,
is the data loaded as
Plant--MaterialCustomer----Qty.
01--M1C1--
10
01--M2C3--
20
01--M2C2--
5
Only for the 3 combinations that exist in the cube and not load anything for the last one
OR
is the data loaded as
Plant--MaterialCustomer----Qty.
01--M1C1--
10
01--M2C3--
20
01--M2C2--
5
01--M4C5--
0
Load all 4 combinations and send 0 as the cube doesnot have this combination?
Hope I am clear on this question.
Thanks.Thanks a lot Vinod, Srinivas and Harish. The reason why I am asking you is that we have a scenario where we get this situation.
We initially get data from R/3 to BW to APO like the below:
Plant--MaterialCustomer----Qty.
01--M1C1--
10
Later when the customer is changed or bought out by somebody C1 is changed to C2. Some times when the business doesnot know who the customer is initially they just put C1 as dummy and then after sometime replace it by C2. Then the new record coming in is as follows:
Plant--MaterialCustomer----Qty.
01--M1C2--
10
BW can identify changes in transaction data but not in Master data. What I mean by this is when Qty. 10 changes from 10 to 20, the system can identify it in deltas.
If the customer (master data) changes to C2 from C1, the system thinks it's a new record all together then if I use delta loads, it gets me the following:
Plant--MaterialCustomer----Qty.
01--M1C1--
10
01--M1C2--
10
If I am looking at Plant and Material Level, my data is doubled.
So we are planning to do a full load that works like this:
1. Initial data like the below:
Plant--MaterialCustomer----Qty.
01--M1C1--
10
The CVC is created and the planning area has Qty.10
Then we delete the contents of cube and do a full load into the cube with changed customer
Plant--MaterialCustomer----Qty.
01--M1C2--
10
This time a new CVC is created. Then we have another 10 loaded into Planning area.
If the system loads all CVCs, then the it would send
Plant--MaterialCustomer----Qty.
01--M1C1--
0
01--M1C1--
10
If the system loads only combinations in cube,
then it loads
Plant--MaterialCustomer----Qty.
01--M1C2--
10
But the system already has another 10 for Customer C1 duplicating the values.
We are trouble in the second case.
We had to go fr this solution instead of realignment as our business has no way pf knowing that C1 was replaced by C2.
Hope I am clear. -
Getting data in GATP Planning area on open Sales Orders yet to be PGI'ed
This is in context of allocation planning.
I understand there are two internal GATP relevant key figures AEMENGE (allocation) and KCQTY (incoming sales order quantity) which come over from R3. These two key figures are part of any allocation planning design to track consumption of allocation from sales orders.
We have a requirement to also get information on open sales orders not PGI'ed into GATP planning area. Is there a way to do this without configuring SNP and only core interface ? (Releasing data from SNP to GATP does not work since the levels are different)Hi
Just to correct you. The tcode is LBWQ and not LBQW.
Well as per your lines that it is not possible for 400 users to manually feed the data after changes .I totally agree.
To help get the same functionality we have v3 jobs or direct delta which serves the same job for you.
This is a job that runs at a regular interval as per you set it in the tcode LBWE.
If the Datasource is Delta Enabled then only these jobs would be available to run for those data sources and if incase the DS is Full then you dont need these jobs at all.
Thus once you set your DS as Delta. Go to LBWE select the DS you are working upon for delta
After finding the DS you see two options update mode and update.
Update mode -you can choose the type of update mode for example direct, queued and so on.. Generally we use Queued Detla
Update - you have to set here how do you want it to run and from wat date etc.clickin on job control gives you a window where in u can set all the fields as per ur requirement.
Once after these are done your job would automatically run and collect the changed records to the delta queue and from there you can pull the same using info pack.
Hope that clarifies your doubt to some extent.
Edited by: Puneet Chawla on Jan 29, 2010 8:52 AM -
How to use Different Calendars in one DP Planning Area
Hi Experts,
I would like to know that whether it is possible to use different calendars in single planning area ? Will explain the scenario in details as under
We have 3 plants having separate calendars (different weekly offs). Now using single planning area in DP, I have to plan the demand for all the 3 plants in weekly buckets.So I need to refer to 3 different calendars in single planning area. Is this possible in DP ? As far as I know, we can attach only one fiscal year variant to the planning area through storage bucket profile. Also in this case, the system do not refer to public holiday calendar there by assuming all day working except the weekly off.
Thanks in advance
Regards
SandeepThanks Sujay for immediate reply. The time bucket profile will just help me see the data in different buckets say Daily, weekly or monthly. However this still doesn't solve my problem. As only 1 Fiscal Year Variant is attached to the storage bucket profile, the system still will read the same profile for all the plants & will assume the same weekly off for all the plants which is not true in reality.
Any other suggestion for considering different weekly offs for different plants in the same planning area ?
Thanks & Regards
Sandeep -
Taking long time to initialize planning area.
Hi All,
Few questions on initalizing planning are. We have about 500000 CVC and 8 millions records in it. We have recently upgradd to SCM 7.0. I am noticing now that every time we run background job to create CVC and initialize planning are, I noticed that hob SAPAPO/TS_PAREA_INITILIZE is taking lont time about 1.5 hours . Dont know why is it something to do with Memory or can we do any setting to improve performance.
Also please advice if we have to initialize planning area every time we create CVC'c or Realignment. Or just during month end job.
Thanks
KV
Edited by: KVerma on Oct 30, 2009 5:22 PMHi KV,
1) Housekeeping of your existing data by archiving or deleting unwanted
data and keep your system free from all inconsistencies could be your
primary solution to resolve this issue
2) To keep the size of time series objects to a manageable minimum it makes
sense to initialize planning areas by scheduling background jobs that run
periodically. This is sometimes known as working with rolling horizons.
3) If you want the system to roll over periodically without scheduling the
same job repeatedly, you should use selection variables to enter relative dates.
The system then calculates the start and end dates each time the report is
executed. For instance, you specify that the initialization period should be
from 12 months in the past to 12 months in the future. If todayu2019s date is
July 1, 2003, this means that the initialization period starts on July 1, 2002
and ends on June 30, 2004. If the report is started anew on August 1, 2003,
change the dates to August 1, 2002 and July 31, 2004.
Regards
R. Senthil Mareeswaran. -
Taking long time to load from the planning area to the cube since cvc big?
Hi all,
We have a huge number of cvc for various countries, while we are planning to load the data from the planning area to the cube using those cvc it consuming 40 hours.
I happneed to check the cvc are more than 15,000 that is one reason. But i still need to improve the time taken to load the data from the planning area to the cube using the process chain.
I happened to split the process chain to load data respectively to the sales organisation but still the same!!
Can anyone help me nor recommend the sap process to improve the data loading from planning to cube in apo demand planning?
Thanks
PoojaHi Pooja,
15K is not huge at all. We have worked with 50k and still managed do the extract into cube in about an hours time.
Pls help me understand a few things, so that we can help you better.
1) Number of KF?
2) Number of Periods?
3) Key Figure Storage types - Is there any KF stored in Infocube rather than Time Series, this can be found in the Key Figure details in the Planning Area.
4) Pls explain your data flow like PA--> Datasource --> Communication Structure --> UPdate rules --> Cube???
5) Are you using Parallel extraction in your Datasource? This can be checked in Data Extraction tools from your Planning Area Screen.
Few general tips.
1) Parallelize your datasource.
2) Load into PSA and Infocube parallely.
3) Do not include KF stored in Infocube for your backup, use only KF stored in LC.
Thanks
Mani -
How to load the data from flat file ( ex excel ) to Planning area directly
Hi all ,
How can i load thedata fro m flat file directly to Planning area .
PLease help me in this.
Regards,
Chandu .download one key figure data from planning book ( interactive damand plan) and made some changes and need to upload the data back to same planning book
But, may I know why you are thinking of downloading, changing and uploading for just changing the figures for a particular key figure. You can do it in the planning book itself.
However, not all the key-figures can be changed. But, what type of key-figure you are speaking here? Is it like 'Forecast' for which the value is based on other key-figures, or is like a key-figure where some manual adjustments are to be done--so that it can be manually edited? However, in both the cases, the data can be changed in the planning book only. In first case, you can change the values of dependant key-figures and in the second case, you can change the key-figures directly.
And please note that you can change the values of the key-figures only at the detailed level. So, after loading the data in the book, use drill-down option, maintain the data at the detailed level, change the figures, and automatically, this gets reflected at the higher level.
In case you are unable to change the values, go to the 'Design' mode of the book, right-click your key-figure, under "Selected Rows", uncheck "Output Only" option. In case you are unable to see that option, then you are not authorised to change that. See if you can change the authorisations by going to the "Data View" tab in planning book configuration (/n/sapapo/sdp8b), and change the value of Status to 3.
Hope your query is answered with different solutions offered by many of the sdn colleagues here.
Regards,
Guru Charan.
Maybe you are looking for
-
What are the tables that my UI inserted
Hi, I have a UI and it's inserting data that I enter from UI into some tables. I don't know the table names. But I want to know the tables that are updated becoz of inserting a records any data dictionary tables that consist of information that in so
-
Not able to connect to the EAS using web application
Hello I've upgraded Essasbe from 11.1.1.3 to 11.1.1.4. Before the upgrade am able to login into the EAS web application using the But after the upgrade to 11.1.1.4 am not able to login using the above said hostname but rather with the the new My ques
-
I need a copy of AdobePDF.dll, can anyone help?
I need to get a copy of AdobePDF.dll from Windows Vista disk. I do not have any Vista Disks.and upgraded my PC to Windows 7 Home Premium. Any suggestions where I can get it? I was reinstalling Adobe CS3 Design Premium when the installation stopped
-
OSX 10.4.5 - power failure - had to reload system
Twice now I've had power failures which have required reloading the OS - both times has been with 10.4 (okay, I finally bought a UPS) - but I'd still like to know what was wrong.... Symptons - After the power failure - I started the system - it seeme
-
DatabaseError: ORA-02049: timeout: distributed transaction waiting for lock
Hi all There is script running in my database 'A' that will select some data from tables in other database through DBLINK and update some tables too. The script which 6 I am running for the past 6 monts succesfully. Yesterday I got error saying that,