DP Planning Area Load using Attributes

We have an APO DP Planning area that is comprised of two characteristics ("Material"; "Mill").  All the data are attributes of one of these characteristics.  We chose this for the flexibility of attributes as compared to characteristics and was under the impression this was "the best practice".
I have two questions regarding this:
1)  We now have a requirement to populate a new key figure in DP from our sales forecast that is done in BI-IP Planning.  The sales forecast is done at the "Brand" level which is above the "Material".  It appears I am unable to load my planning area with a cube that does not have matching characteristics.   Does anyone have an idea of how to load a planning area above the characteristic level?  I think this can be done using SDP94 and the "Save Locally" and "Upload file" options but would like to find a smoother way to do this so I can automate the load via a process chain...
The error I get when I try to load via TSCUBE is:
Planning area and InfoCube must have common characteristic
Message no. /SAPAPO/TSM272
Diagnosis
You are trying to load data from an InfoCube into a planning area. The planning area and InfoCube should be similar. This means that they should have at least one common characteristic. If they do not, it is impossible to map the data.
Procedure
Check the planning area and InfoCube. Make the necessary changes
===
2) Is using attributes to this level a bad thing from a performance and/or enhancement perspective?  I like the fact that things adjust automatically as attributes change but now I am worried we may have over used them... We do notice some speed issues when accessing data at times...
Thanks so much for any information or comments on this!

In TSCUBE transaction use the Characteristic Assignment option to map Brand characteristic of infocube to Brand characteristic in Planning Area.
Hope this helps.
somnath

Similar Messages

  • Need to Lock Planning Area by using Enque and Deque Technique.

    Hi Experts,
    My problem is I have to lock the planning area till the Batch program complete and I have to unlock the planning area once the batch job is completed. if any one of the user is login  i.e. accessing planning book while batch job is running then batch job getting Failed.
    we can check the lock in SM12
    We have a custom program to send message to user to come out of the planning area but it does hit upto the mark.
    we are expecting some solution to lock and unlock the plannig area till the job completes.
    I was using some functional module to lock the planning area but it does not helped us. Kindly provide some help to acheive this situation
    The below functional modules I used to lock the Plannning area ZDP31. I have given the input while executing the Function module  PAREAID = ZDP31 (our Planning area Name)
    1) ENQUEUE_/SAPAPO/E_PAREA  
    2) /SAPAPO/TS_DM_LOCK
    3) /SAPAPO/TS_DM_UNLOCK_NEW
    4) /SAPAPO/TS_DM_LOCK_UNLOCK
    Please help me its in high prioity for us.

    Hello Balaji,
    Here are the needful function modules where you can use to lock the PA by enque & deque technique..
    a) ENQUEUE_READ Pass Planning Area value as GARG and PAREAID as GNAME to get information about lock entries for selected planning area.  GUNAME corresponding to GNAME = /SAPAPO/DM_PAREA_LOCK and GOBJ = /SAPAPO/E_PAREA entries provides user id (s) locking the planning area displayed in the field GTARG.
    b) TH_POPUP to send out popup messages to the users locking the Planning Area.
    c) TH_DELETE_USER to kick off users (GUNAME) who have been locking the planning area.
    I hope this helps...
    Cheers !!
    Regards
    Rahul Chitte

  • Multiple keyfigure from different planning area based on attribute value

    Multiple keyfigure from different planning area based on the attribute value of Cost element charac.
    I need to obtain the value of the attribute in a fox function. Let me explain it further.
    Background :
    Planning area -
    Charac----
    KF
    area1 -
    Payscale group--- Amount
    Cost element------AmountVR
    area2--Payscalegroup----KF1
    KF2
    KF3
    Cost Element has an attribute "Type"
    Value for attribute "Type" = 1,2,3
    Based on the value of the attribute, the corresponding KF needs to be multiplied.
    Logic :
    If type = 1.
    AmountVR = Amount * KF1.
    elseif type = 2.
    AmountVR = Amount * KF2.
    elseif type = 3.
    AmountVR = Amount * KF3.
    endif.
    The problem I'm facing is that I'm not able to read the data of attribute "Type". None of the below statement retrieve the value of the "Type".
    TYPE = ATRV(Attribute,COSTELEMENT,CO_AREA)
    or
    TYPE = ATRV(Attribute,COSTELEMENT)
    Could you please help me in reading from a time dependent compounding InfoObject?
    Regards,
    Raghu

    Hi..
    Thanx Bindu..
    I have actual data for Month days..if i am craeting in same layout it is too large.
    that's why i am creating two layouts.
    below example for better undersatnding.
    Actual:
    D1 :D2: D3  :D4 : D5  :D6 : D7   :  FULLACT (sume of C(1)  sum of d1 to d7))
    10  :8  :12 :  10 : 14   : 6  : 10    :  70     
    Plan:
    D1EST : D2EST: D3EST :D4EST :D5EST: D6EST: D7EST:  FULLEST (sum of d1 to d7)
    10         :10        :  10      :  10      :10       :    10    :     10  :         70
    How can i read FULLACT value and that value i have to distribute  equally in planing layout and always FULLEST is equal to FULLACT.if not equal i have to throug error message hoe can i setup if you have sample code can you send it to me.
    what is your idea....
    Edited by: Eyda rose on Jun 4, 2008 4:59 PM

  • 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.0

    Hi 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

  • Issue with loading a Planning Area using TSCUBE

    Hi All:
    I tried to load the data in production PA into QA PA (two different systems). 
    Steps I followed were:
    1.  Create a DataSource of the Production PA
    2.  Download the data from the DataSource into an Excel spreadsheet for specific range of date.
    3.  Then save the excel in .csv format.
    4.  Create a DataSource in QA and load data from .csv file. checked for data
    5.  Created an InfoCube matching the PA and loaded data from DataSource in QA.
    6.  Created CVC based on this InfoCube.
    7.  Loaded the PA in QA system using this InfoCube.
    I found that the PA had data for all the KF excepting the Sales History and Invoice History.  I checked the InfoCube and it had hsitory data.  Not sure why history is not loaded.  I have Proportional factor in the Infocube and I have mapped the UOM to the sales history.
    Not sure why.  Could anyone pl. help understand?
    Thanks much in advance.
    narayanan

    Did you map the key figure of the cube to the key figure in the planning area?

  • Use of planning characteristics vs navigation attributes in APO DP

    I am using APO DP V5.
    I have a product characteristic.
    Products are grouped into 'product groups'.
    I want to be able to run stat forecasts at the 'product group' level, and also adjustments via key figures at the 'product group' level.
    For the 'product group', I could set up a planning characteristic or a navigation attribute.
    What are the pros/cons of setting up a planning characteristic or navigation attribute, bearing in mind the need to forecast and make adjustments at this level?
    Thanks in advance...

    Hi,
    The pros for using navigatyion attribute are quite easy: it will give you far more flexibility.
    For example in case of change of hierarchy, you will not need to run realignment.
    It simplify in the same way the data loading.
    Now the cons: there is still some limitations: you can without any problem run stat forecast and adjustment for a navigation attribute. The only limitations I can remember are for promotion and store the assigment of a forecast profile to a selection (see /SAPAPO/MSDP_FCST2 - Assign Forecast Profiles to a Selection ).
    this point might, or not, be the issue for you: do you plan to use the automatic forecast profile selection? If yes, then I suggest you to test it with navigation attributes; but as far I know it will fail. (note: I think there is workaround with a badi implementation, but can't remember which one now)
    I hope it helps
    Julien

  • Error /SAPAPO/TSM 041 when loading from InfoCube to SNP planning area

    I am using APO V5.1.
    I have a 'backup' InfoCube with characteristics 9ARNAME and 9AVERSION which I'm loading to an SNP planning area via trans /SAPAPO/TSCUBE. The InfoCube is itself populated from the 9ARE aggregate of the SNP planning area.
    But I get error /SAPAPO/TSM 041when I run the load, suggesting absence of a required characteristic or navigation attribute in the Cube. Do I need 9ALOCNO for instance?
    Can anyone advise me here?...

    Hi,
    I am not very sure about the 9ARE aggregate (haven't used it in backups), but RTSCUBE is used to copy time Series (TS) KF data from cube to planning area (SNP or DP).
    Are you trying to restore some time series data from your backup cube to the planning area? If yes, then do a mapping of characteristic from cube to planning area in RTSCUBE, and also map the TS KF between cube and planning area.
    If your KF is not a time series KF, then you can't copy it from cube to planning area. You could get data to cube for some reporting, otherwise I am not sure what use the backup is for you. For SNP, most of the data would be received from R/3, so there's not much point in having a backup.
    Hope this helps.
    Thanks - Pawan

  • APO DP - loading InfoCube data into a planning area

    I am using APO DP V5.
    In my planning object structure I have planning characteristics, some of which have 'navigation attribute' characteristics. For example, my planning characteristic 'product' has navigation attribute 'product group'.
    In the standard transaction to load data from an InfoCube to a planning area, can the characteristics used in this transaction be 'navigation attribute' characteristics? (or do they have to be plannng characteristics?)
    So, for example, could I load data at 'product group' level?
    Thanks,
    Bob Austin, Atos Origin

    am not sure if you can load data from cube to a navigation attribute (product group)
    you might need to maintain it in the Admin workbench and also assign values there. Am not sure if you will get the attribute characterisitics in yout TSCUBE loading screen

  • 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,
    Sreerama

    Hi 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

  • 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.

  • 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
    Pooja

    Hi 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.

  • APO DP - loading from InfoCube to planning area

    I am using APO DP V5.
    I have the following situation:
    1. I am extracting sales history data at the end of each day from a connected ECC system into an InfoCube, using delta logic, so in the Cube I just have the new sales history transactions (despatches) for the day
    2. I am then loading data from the Cube to my DP planning area via transaction /SAPAPO/TSCUBE
    I assume I must have the 'add data' flag set for each key figure in this transaction, to ensure I see the consolidated sales history in the planning area.
    Is this the 'best practice' approach for regular loading of sales history? I assume it's better to have a 'delta' approach for the Cube, for improved performance.
    Thanks, Bob Austin

    Hi,
            Good questions!
    1. What does the 'period' really refer to? Is it referring to the date of a particular key figure? Or the 'date of data being added to Cube'?
    A: Both are same
    The date is generally the date in your cube like the calendar day, month etc. This date is again based on a time stamp in the format DDMMYYYYHHMMSS. The calendar day is part of this field as DDMMYYYY. Also the system recognizes the changes by the same time stamp. So, if a customer changes the qty 05/15 at 3.30 pm, then the time stamp is 15052007153000. The calendar day in your cube or your key figure date is 15052007 and the delta is recognized by the changes in time stamp, between last load at the current system time. So , you are talking about the same time field.
    Check in your system if this is the same case you got. let me know if not.
    2. Suppose original dispatch qty = 100 (two weeks ago), and 'today' the customer returns a qty of 60; how does system handle this - I would want this posted to the original date of two weeks ago.
    A: The data from your ECC system is generally brought to an ODS first. The reason is we overwrite the data there if there is any data that has the same key. If your key for the ODS is Customer and division. Then you overwrite the customer qty for that division whenever the value changes. If you need it by time, lets say per month, include it in the key. The system over writes the value for that month only. For next month, it's a new record.
    In your case, if the qty. is 100 2 weeks back and now it's 60, if the time stamp is not in key, the system overwrites it to 60 and you have only 60 when you load it to your ODS and thereby to your PA as it overwrites. Delete the delta in your ODS and it shows the same 100 again. Then load it to PA. This is not a good option. The alternative is to include time stamp like calweek in your ODS key and load it over to cube. That way you have two records.
    I hope I answered all your questions.  Please feel free to ask more. I would love to answer that way I can also brush things up that were unused.
    Thanks.

  • APO DP - load from InfoCube to a 'fixed' cell in planning area

    I am using APO DP V5.
    Suppose I have a key figure which is fixed for a particular time bucket cell.
    If I try and load data into this cell from an InfoCube, what will be the effect? I assume that the cell will NOT be udpated.
    Regards,
    Bob Austin, Atos Origin

    Hi,
    Fixing information will be
    extracted when saving the data into an InfoCube and will be reloaded
    when using transaction /SAPAPO/TSCUBE to load the data back into the
    planning area. If you load the data back only on the level of the
    basis planning object structure, the data will be aggregated to the
    level of the aggregates but no fixing information will then be
    available on the level of an aggregate.
    and also /sapapo/tscube doesn't check fixing info in LC when data is written to LC. In case there is fixed data in iCube, that fixing info will be loaded into LC.
    You can also refer the note  1057308.
    Regards,
    Srikanth.

  • Loading data from APO-BW cube into DP planning area

    Hello,
    Please explain to me how to load data from an infocube within APO into the DP planning area.  So far, I generated the data mart, created the update rules for the DP planning area (cube) and replicated data sources.  The problem that I am having is that when I create the infopackage, there is no data targets on the data target tab.  How can I get the data targets to display?  All the other actions appear to be set up correctly (confirmed by BW experts).  Can data be loaded from an APO-BW cube directly to the DP planning area cube?
    Thanks

    Hi James,
    Loading of data from an InfoCube to a Planning Area is done using transaction /SAPAPO/TSCUBE (program /SAPAPO/RTSINPUT_CUBE). You just specify the InfoCube, target Planning Area, Selection condition, Infocube Key Figure to PA KF mapping, etc).
    Have you tried this transaction already?
    Hope this helps.

Maybe you are looking for

  • I just bought a new computer and want to transfer my itunes music from my old pc to my new pc. How should i do it?

    I want to transfer my entire music library from one computer to another without using a usb drive or cds. How can i transfer the music without using either a cd or a usb?

  • Help!!! Stateful session bean clustering

              I posted this message on interest.clustering.in-memory-replication. But there is           no answer at all. Could anyone give me           some hints? Thanks a lot. I am a student and this work is part of my course project.           It is

  • 160 MB for simple EPS image

    I used R to create an PDF file containing a simple plot. I loaded the pdf into Illustrator and attempted to save it out to EPS. The eps version of the file is ~160MB. It should be about 2. Any idea what is going on here? Thanks, Dale

  • 10.5.3:  Can't Create  Mobile Account

    I have a MacBook Pro that authenticates to Active Directory. When I try to create a Mobile Account [ System Preferences --> Accounts --> Mobile Accounts:Create ] I get prompted to "*Enter your password to create a mobile account*" However, it does no

  • ElGamal Cryptosystem

    Dear All, I have a problem with encrypting a message that contains 5 letters The word WEIRD for example has 5 letters.I convert each letter to Hexadecimal using the ASCII table. W = 127(Hexadecimal) E = 105(Hexadecimal) I = 111(Hexadecimal) R = 122(H