Multi-planning area when updating an infocube

Hi,
I work on a multi-planning area based on a transactionnal cube (C1) and a standard cube (C2). I have to add a characteristic in the standard cube.
Since this change, a planning level has problems : it is only used by calling a function module : API_SEMPS_GETDATA. This function returns no data whereas the cube contains data for the selection filters of the level.
It's all the more surprising as I have another multi-planning area based on another transactionnal cube (C3) and the same standard cube (C2), and for the level of this multi-planning area, the data are returned from the API_SEMBPS_GETDATA function.
The multi-planning area has not changed. I can't understand where the problem comes from.
Has anyone had already dealt with a problem like that?

Hi Agnes,
double check your selection criteria when you define the planning level or package. If you call API_SEMBPS_ADHOCPACKAGE_SET then selection needs to be passed in external representation which might be different in your case.
Regards,
Marc
SAP NetWeaver RIG

Similar Messages

  • Problem in developping Multi Planning area

    Hi, experts,
    I have a question regarding as the multi planning area ->
    I have created a mullti planning area which include two basis area:
    A for plan data (transactional cube)---> Charateristic: Material, 0CALYEAR/ KF: Price
    B for actual data (non-trans cube)---> Charateristic: Material, Fiscal year/period/ KF: Quantity
    My requirement is:
    I would like to display the the quantity for a certain material for  Fiscal year/period= [001.2009,012.2009] from Cube B, at the same line, i should be able to input the Price for 0CALYEAR 2010 into Cube A.
    My question is:
    how should I define  the value of these two characteristics which restrict these two KF respectively ?
    Thanks in advance.

    Hi,
    As per my experience,you get  this error message "Characteristic combinations cannot be assigned to any basic area",only when you have any characteristic present in one cube and not in another and then you try to post some values for it in the cube where it doesn't exist.With your example I guess there could be an issue with 0CALYEAR and Fiscal year/period.
    Secondly you cann't post data to non transactional cubes which I guess you are trying to do so ,when you say post in same line mean the granularity of the record which you want to write can be like:-
    FrmCubeA/BFrmCubeBFrmCubeAFrmCubeBFrmCubeA
    Material1Fiscal year/period0CALYEARQuantityPrice   
    The above scenario where u are trying to get the data from both the cubes and post value to Cube A for price is not possible,as cube is non-transactional cube.
    You can Include the Fiscal year/period and quantity in your real time cube CubeA ,copy the data using multiprovider into CubeA from CubeB for material and then u can plan price.
    FrmCube AFrmCube AFrmCubeAFrmCubeAFrmCubeA
    Material1Fiscal year/period0CALYEARQuantityPrice   
    Hope it may be helpful.
    Edited by: Indu Sharma on Nov 18, 2010 5:36 AM

  • STS Limitation for Multi Planning Areas

    Is there a problem when using multi planning area based applications in the STS?
    Thanks
    Tim

    Hi
    in SAP-libary under Customizing the Status and Tracking System /Prerequisites you have the following text:
    The planning area of the characteristics and key figures that you access in the Status and Tracking System must be a basic planning area. You cannot use multi-planning areas in the Status and Tracking System.
    Hope this helps
    Maryon

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

    Hello 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

  • How to use a non cumulative key figure in a multi planning area

    Hi
    I'm new to bps, my problem is
    I need to read the last stock quantity and value at plant and material level to do further calculations in a fox formula, so i made a planning area for the cube 0rt_c36 and another for my tc cube where the results should go, then i combine these areas in a multiplanning area.
    problems arise when selecting the key figure in the ratios tab of the multi area, the ratios 0CPTOTSTOBU (last stock) and 0CPTOTSTOPV (last stock purchase value) are not available, only the inflow and outflow ratios are 0CPTOTREBU and 0CPTOTREPV.
    I know when reporting, the actual value for stock is calculated by  bex, namely, there is no data store at database level, so the question is:
    How to obtain last stock for using in bps??
    thank you for any help
    regards
    A. Garduñ

    Hi Azael,
        In the How to Papers, you will find a Guide on how to take a Sanpshot view of the Stocks(How To Handle Inventory Management Scenarios in BW). Basically if you implement the Guide, you will have another cube called ICSNAP1, which will contain stock quantities /values at the end of each month. You will therefore have to take stock at the end of the last month from that cube and add up the relevant receipts and issues to arrive at the current Stock or Stock as on a particular date.
    Hope this helps!
    Regards
    Sriram

  • Characteristic doesn't exist in planning area when running hierarchy STS.

    Hi All,,
    Could anybody help me regarding this problem please ???
    In STS Customizing - IP, i'd like to determine Hierarchy for Subplan, but I always get this message: " Characteristic ZSTSHIER doesn't exist in planning area ZPA01".
    Prior to determine Hierarchy, I've already defined Subplan, Planning Session. I also have already created Planning Area containing characteristic: ZSTSHIER (but I only create for planning area).
    In the prompted window of determining hierarchy, after I define the planning area, I can see the respective Hierarchy Characteristic.
    But when I execute it, It always says " Characteristic ZSTSHIER doesn't exist in planning area ZPA01" .
    Could somebody help me please ??
    Is it SAP Bugs / Do I miss one thing to do ?
    Thanks a lot
    Best regards,
    Daniel N.

    Hi Andrey,
    Thanks so much for your respond.
    The "execute it" means when i'm determining Hierarchy for Subplan.
    It always says "Characteristic ZSTSHIER doesn't exist in planning area ZPA01".
    However, I can see the hierarchy ZSTSHIER in Planning Area inside Master Data tab. I have already created the Hierarchy within ZSTSHIER using RSA1.
    The weird thing that I'm able to define Hierarchy Basic Characteristic and Hierarchy Name within under respective Planning Area.
    Would you kindly help me please ?
    What's going wrong here ? Is that something missing yet to be done ?
    Really need your guidances.
    Best regards,
    Daniel Nurindra.

  • Multi planning area

    Hi Gurus,
    I have no access to the system at the moment.
    Can I create a new multiplanning area using an existing cube used in another multiplanning area already ?
    Please advise.
    Thanks
    Sanjay

    Dear sanjay,
    as above mentioned, you can go for what you want exactly.
    actually, for one cube you can have only one planning area.
    with help of multiplanning area you can use the same cube multiple times.
    hope this will help you.
    Regards
    Vinay

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

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

  • Regenearate Planning area

    Hi Friends,
    Please calrify the following issue.
    Let me explain my problem.
    When we exucute the planning folder in the developement system we are getting short dump in the SAP generated program. It is running fine in the Quality and Production system.
    I contacted SAP they suggested me follow the OSS note: 781371
    SAP suggested me:
    You regenerate the planning area which you are using in the planning
    folder for which you are getting this dump.
    OSS note: 781371 Steps:
    1. Execute the UPC_DELETE_CLASSES function module in transaction SE37. The function module has the I_AREA parameter, which you must enter. Here you must enter the technical key of the planning area.
    2. Execute the UPC_GENERATE_AREA function module in transaction SE37. The function module has the I_AREA parameter, which you must enter. Here you must enter the technical key of the planning area.
    So my question is:
    If  i execute the both above function modules i need to give the plannin area.
    So my planning folder is using the Multi planning area which includes 7 basic planning areas.
    shall i proceed with thses steps or not.
    My main concern is it is multi planning area . If i regenerate the multiplanning area does it any impact on others in other objects.
    Please suggest me whether i can regenerate the multi planning area?
    I f regenerate what are the things i need to take care before regenerating the multiplanning area?
    Please suggest me how to handle this issue.
    Please provide me your valuable suggestions.
    It would be great help for me.
    Will assign the points.
    Thanks
    SAP

    If i execute the both above function modules i need to give the plannin area.
    So my planning folder is using the Multi planning area which includes 7 basic planning areas.
    shall i proceed with thses steps or not.
    I suggest you execute this for the areas on which your objects in the folders are developed from; if they are from the multi areas, then run this is for multi area.
    My main concern is it is multi planning area . If i regenerate the multiplanning area does it any impact on others in other objects.
    It may.
    I suggest you send a message back to SAP seeking whether to run the FM for the basic area or for multi area.
    Ravi Thothadri

  • 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

  • Release DP- SNP Can't choose target Planning Area rather than 9ASNP02

    Hi SAP Expert,
    I tried to release from DP to SNP with TCode: SAPAPO/MC90 Rlease Demand Planning to Supply Network Planning.
    When I press button: "Release: Extended" --> In "Target Version" area, system display one more  parameter: "Planning Area". But it selects Planning Area "9ASNP02" as fix value. We could not choose any other.
    Actually, because I need to work in my own created Planning Area in SNP, (let's call "Z_9ASNP02") so that created it by coppying from the Standard Planning Area "9ASNP02". Now I want to release DP to my own Planning Area "Z_9ASNP02", not 9ASNP02.
    Please show me the solution for this problem.
    Thanks very much for your help!
    Duyennx

    When you release forecast from DP to SNP, planning area does not matter anyways. The release transaction creates orders in order livecache from the time series key figures in DP planning area. Order livecache is only version specific. Once you create an order in version 000, you can view that order in any planning area that is initialized in version 000.
    So, you dont really have to specify the planning area when you release from DP to SNP. 'Release extended' helps you map a key figure in DP to a key figure in SNP without worrying about the order category. In other words, It only shields you from selecting order categories. If you know which order category you want use, you should use the standard release instead of 'Release Extended'.
    Even if you dont want to use the standard release, you can continue using 'Release : Extended'. Even though the planning area is hard coded as 9ASNP02, you will be able to see data that you release in your planning area Z_9ASNP02, provided you have some key figure in Z_9ASNP02 mapped to order category.
    Hope that helps.

  • 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

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

Maybe you are looking for

  • Ajax in Web dynpro java

    Hi experts, Please clarify about the usage of AJAX in webdynpro java ce7.2. The doubt is how to use ajax in ce 7.2 certain document says that ajax is embeded in 7.2 . All what I found is navigation API's and implementation of TLN, DLN etc using AJAX

  • Command Button on selection screen application tool bar

    Hi All, I want to add command Button on selection screen application bar. it is my z progarm . please suggest one sample code . regards, Ajay reddy

  • New computer where are my songs?

    I have a new computer but when l sign into itunes my songs are not there??  Where are my song?

  • Query on Index of BSIK table

    Hi , I am using a query which extracts data from BSIK table with where condition on budat(Posting Date in the Document). When i checked in SQL Trace (ST05) the select query is executed with index BSIK~4 ( Index 4) where Index 4 does not contain BUDAT

  • HT201272 Re-downloading

    Is there a way to redownload a song after it's been purchased?  I bought a couple of albums recently and one song off the album doesn't play at all and another song off another album plays halfway then stops for the remainder of the song?