Copy Key figure data between two planning area with different storage bucket profile

Hi,
I have a DP planning area ' PA1' with monthly storage bucket profile data view 'PA1M' ( monthly TBF) and I want to copy the data to another planning area 'PA2' whose storage bucket is weekly. This would need me to write a custom program which will split monthly to weekly and then populate 'PA2'.
However, In 'PA2', I created two data views 'PA2W' (with weekly time bucket profile) and 'PA2M' (with Monthly Time bucket profile). If I am able to copy the data from PA1 (PA1M) to PA2(PA2M), it will automatically splits monthly to weekly in PA2W.
So my question is if there exists a way I can copy key figure data from PA1M to PA2M? Any BAPI?

Hi Rakesh,
You can use COPY/Version Management Function to do this.
Path: Demand Planning > Environment >Copy/ Version Management
The system takes into account only those periodicities that are common to both planning areas.
For example, if the data is saved in months in the source planning area (PA1) but in months and weeks in the target planning area (PA2)
the system copies to months in the target planning area and then Disaggregates the data to the storage buckets in accordance with the Time-based Disaggregation.
hope this wil help to understand the basic concept.
Kapil

Similar Messages

  • Performance between two partitionned tables with different structure

    Hi,
    I would like if there is a difference between two partitionned tables with different structure in term of performance (access, query, insertions, updates ).
    I explain myself in detail :
    I have a table that stores one value every 10 minutes in a day (so we have 144 values (24*6) in the whole day), with the corresponding id.
    Here is the structure :
    | Table T1 |
    + id PK |
    + date PK |
    + sample1 |
    + sample2 |
    + ... |
    + sample144 |
    The table is partionned on the column date, with a partionned every months. The primary key is based on the columns (id, date).
    There is an additionnal index on the column (id) (is it useful ?).
    I would like to know if it is better to have a table with just (id, date, value) , so for one row in the first table we'll have 144 rows in the future? table. The partition will already be on the columns (id, date) with the index associated.
    What are the gains or loss in performance with this new structure ( access, DMLs , storage ) ?
    I discuss with the Java developers and they say it is simpler to manage in their code.
    Oracle version : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Thanks & Regards
    From France
    Oliver
    Edited by: 998239 on 5 avr. 2013 01:59

    I mean storage in tablespaces and datafiles on disk.
    Can you justify please and give me concrete arguments why the two structures are equivalent ( except inserting data in T(id, date,value))
    because i have to make a report.i didnt say any thing like
    two structures are equivalent ( except inserting data in T(id, date,value)i said
    About structure : TABLE1(id, date, value) is better than TABLE1(id, date, sample1, .... sample144)because
    1) oracle has restriction for numbers of column. Ok you can have 144 columns now but for future if you must have more than 1000 columns , what will you do?
    2) Restrictions on Table Compression (Table compression is not supported for tables with more than 255 columns.)
    3) store same type values on diffrent columns is bad practise
    http://docs.oracle.com/cd/B28359_01/server.111/b28318/schema.htm#i4383
    i remember i seen Toms article about this but now i cant find it sorry ((( if i found i will post here

  • One Key FIgure in more than one column with different restrictions

    Hi,
      I am using a key figure in more than one column with different restrictions, but restriction in one column is affecting the result in other column. What shall i do to make it independent from one another??

    Hi Pravender Chauhan,
        If you want in Single column different value for different Rows based on same Key Figure, you can create Structure where you can define different logic for each row but using same key figure.
    If you want to use different Key figures then you should have to Restricted Key Figure and for any calculation you can use calculated Key figure.
    Assign points if Useful.
    Regards,
    Rajdeep.

  • 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

  • Does Fixing Key figure be part of Planning area?

    Hi,
          I saw the post by David and this question popped from there. The answer may be simple but I just want to confirm it.
    If I am fixing a key figure A and storing the fixing information in another key figure B. I specify the Key Figure B in Key figure A definition (RSD1) as the fixing key figure.
    I also know that both key figures A and B are APO key figures.
    Now the question is: Do we need to include both A and B in the planning area and planning book even though I need only key figure A?
    Thanks.

    We can wait for more people to respond, however here is my view.
    Fixed TS Key Figures actually maintains the fixed component of the primary key figure. It can have its own disagg logic and in most business cases, it will be same as the primary key figure. It needs to be intialized for the same time zone as that of the primary keyfigure which is only possible if both the keyfigures co-exist in a planning area. Figuratively take the Fixed Key Figure as a twin of the primary Key Figure which holds only a certain portion of the primary determined as fixed. The fixing logic will not work correctly if its configuration is not similar to the one of primary.

  • DB Copy (MSSQL) between two SAP systems with different level and Components

    Hi,
    we have a SAP system release mysap 2004 SR1 and for "the upgrade project  to SAP ECC 6.0 " we installed a new mysap 2004 in a new hardware (sap03) where we have also solution manager running. The new installed Mysap 2004 SR1 is alos running fine in the new hardware.
    Now we would like to do DB copy from the old system (sap02) to the the new system sap03 and then we will do the upgrade to SAP ECC 6.0.
    After I compared the two systems I have following questions:
    1) there are 4 Software Components which are not in the new system (sap03). This are:
    PI
    FIN_BLERP
    BP_INSTRASS
    Is this necesary for the DB copy or we do not need this to be able to do the DB copy?
    2) The Software Components Level is not the same. Should we have the same level to do the DB Copy?
    Thanks in advance
    Best regards
    HanseAtik

    Hi Juan, hi Clas,
    just to be clear and to not stuck on the the way:
    The systems are as follow:
    1) the source system:
                         - Windows Server 2003,
                         - MSSQL Server 2005 with 32 bit.
                         - Mysap 2004 SR1
    2) Target system:
                       - Windows Server 2003
                       - MSSQL Server 2005, with 64 bit.
                       - Mysap 2004 SR1 (with less Support package level and no PI, FIN_Basis, BP_BLERP and BP_INTASS coponents)
    I hope this will work. could you post the link the DB Copy guide we are talking about?
    By this way we will be sure that we are talking about the same DB Copy. Otherwise any mistake in this step will cost more work and time.
    Thanks in advance
    Best regards
    HanseAtik

  • How do I share music between two iPads each with different apple ids?

    I have an iPad retina display and my son has the iPad mini. We have different ids. How do i send my iTunes music to him? My iTunes doesn't seem to have a menu that says file or preferences. Also what is home share? We don't have a desk top. Just the iPads

    Home Sharing allows you to share music from a computer to another computer or device, it doesn't work between just devices, it needs a computer.
    Home sharing : http://support.apple.com/kb/HT3819
    You could potentially log in with your account on his iPad and re-download your music (if you are in a country where music can be re-downloaded), but you risk tying his iPad to your account for 90 days (so it's probably not worth it) : http://support.apple.com/kb/HT4627

  • 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

  • Copy data between planning area with function module

    Hi gurus!
    I'm involved in a consumer products project
    In my multiplaning area i copy "catalog code" from act to fct after a preliminary selection in a authorization layout..
    Due to increase performance I'm in need to convert the FOX which copies data from actual plan area to fct plan area after the authorization check, into a formula exit...
    This fox works fine but as you can imagine it takes a lot of time to execute cause it has to read every catalog code form the transactional data...
    here follows gross summary of the code.
    this FOX copies ACT catalog code into FCT catolg
    code by CALQUARTER  according to Catalog code
    authorization stored in AUTH version
    DATA PER TYPE 0CALQUARTER.
    DATA ENDPER TYPE 0CALQUARTER.
    DATA KEYF TYPE KEYFIG_NAME
    PER = VARV(variable)
    ENDPER = TMVL(per,4).
    catalog code is present in the level selection
    with no filter
    AUTH is the version used for set up the
    authorization in data copy (no quarte info is needed)
    IF {KEYF,AUTH,#,PLAN1}>0.
    PLAN1 I the FCT plan area, PLAN2 is the Act plan area
    DO.
    {KEYF,FCT,PER,PLAN1}={KEYF,ACT,PER,PLAN2}.
    IF PER = ENDPER.EXIT.ENDIF.
    PER=TMVL(PER,1).
    ENDDO.
    ENDIF.
    I've found many example in the forum but nothing which refers to different planning areas data copy with exit.
    I'll be gratefull to any of you who can help me to compile this function module.
    Best regards
    M91

    Hi Rakesh,
    You can use COPY/Version Management Function to do this.
    Path: Demand Planning > Environment >Copy/ Version Management
    The system takes into account only those periodicities that are common to both planning areas.
    For example, if the data is saved in months in the source planning area (PA1) but in months and weeks in the target planning area (PA2)
    the system copies to months in the target planning area and then Disaggregates the data to the storage buckets in accordance with the Time-based Disaggregation.
    hope this wil help to understand the basic concept.
    Kapil

  • How to copy data from one planning area to other planning area

    Hi ,
    I need to copy data from one planning area to other planning area, the MPOS for two planning areas are differant and  here my scenario is one planning area having extra key figures.
    First i need to release forecast data to CIP planning area and then,  i load the data from infocube  to MPS planning area and copy the data from CIP planning area. here both MPS and CIP planning areas having different MPOS .
    Please help me in this. Please give me the stepls i need to follow.
    Thanks in advance.
    Regards,
    Chandu

    Hi,
    You can use the transaction /sapapo/tscopy.
    In this you can configure your source plng area and destination plng area. You also have an option to map your KF. There is no problem if the MPOS are different as long as you are able to map the characteristics between the 2 MPOS.
    Alternatively, you can create an Infocube which shares common ground between the 2 planning areas and extract data from CIP plng area into the infocube and then copy teh data from infocube to MPS plng area using the the transaction /sapapo/tscube.
    Hope this helps.
    Thanks
    Mani Suresh

  • Different ways to copy data between two schemas in one instance

    Hi there,
    I am searching a good way to copy data between two schemas in the same instance.
    Both schemas have an identical structure such as triggers, tables, views and so on. The only difference is the purpose: one is the productivity system and one is for development.
    I looked at datapump but I do not explicit want to export / import. I want to keep the data in the productivity schema as well as copy it to the other schema. Any ideas? I found out there is a copy statement but I dont't know how that works.
    Thank you so far,
    Jörn

    Thank you for your replies!
    I also thought of creating a second instance for development and move the dev - schema to it. I just don't know whether our server can handle both (performance?). Anyway the idea is to have a possibility to quickly rebuild the data inside a schema without indixes or triggers, just pure data. I thought the easiest way would be to copy the data between the schemas as they are exactly the same. However if you tell me DataPunp is the best solution i won't deny using it :).
    When you export data a file is created. does that also mean that the exported data is deleted inside the schema?
    best regards
    Jörn
    Ps: Guido, you are following me, aren' t you? ;-)

  • Copying Key figures between flexible sop info structures

    Shall we use mcsz or olix to copy key figures between the infostructures planned with level by level planning. or Defining user methods and copy profile is mandatory??

    Hello,
    What was the correct transaction?
    I am trying to accomplish the same.
    I'm not sure to use MCSZ or MC7M to create the copy method.
    Thanks,
    Heidi
    Edited by: Heidi Morosini on Feb 25, 2009 6:32 PM

  • How can I copy large amount of data between two HD ?

    Hello !
    Which command could I user to copy large amount of data between two hard disk drives ?
    How Lion identify the disk drives when you want to write some script, for example in Windows I sue
    Robocopy D:\folder source\Files E:\folder destination
    I just want to copy files and if the files/folders exist in destination the files should be overwritted.
    Help please, I bougth my first MAC 4 days ago.
    Thanks !

    Select the files/folders on one HD and drag & drop onto the other HD. The copied ones will overwrite anything with the same names.
    Since you're a newcomer to the Mac, see these:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac,
    Mac 101: Mac Essentials,
    Mac OS X keyboard shortcuts,
    Anatomy of a Mac,
    MacTips,
    Switching to Mac Superguide, and
    Switching to the Mac: The Missing Manual,
    Snow Leopard Edition.&
    Additionally, *Texas Mac Man* recommends:
    Quick Assist,
    Welcome to the Switch To A Mac Guides,
    Take Control E-books, and
    A guide for switching to a Mac.

  • Transferring data from one planning area to other within the same system

    Hi,
          We have two planning areas setup and the corresponding planning books in the same system. Now I have to save the results of first book and transfer the results in the other. They have common key figures. Is the data saved to the key figure after saving show up immediately in the second one or do I need to load?
    Thanks.

    Visu,
    If I understand your requirement correctly, you should be able to use transaction /SAPAPO/TSCOPY (Copy/Version Mgmt) to send the data from the one planning area to the other.  Please let me know if I misunderstood the requirement.
    Sean

  • Key Figure Display in Interactive Planning

    Hello,
    I am unable to display some of the key figures in  SNP Interactive Planning. All these Key Figures are present in Planning book and are also included in the data view.
    Is there any setting wherein I can control the display of Key figure although that key figure is present in Planning book and data view. For Example I have my "safety stock" key figure in my planning book and data view, but I am unable to see the "safety stock" key figure in SNP interactive planning.
    Would really appreciate your help.
    Thanks,
    Sarath.

    Hi Visu,
    Your answer is really helpful, thanks for that. But while I am trying to hide some key figures it is not allowing me to do so. It is either hiding all the key figures or unhiding all. Please let me know if why the system is behaving like this.
    Thanks

Maybe you are looking for