One BR to copy data in two plan type

Hi, I encountered this problem with the business rules.
In order to run the what-if scenario analysis, I would like to be able to copy the data from one version to another version using a business rule. However, currently I have two plan type within one planning application. And I have to use two business rules (with run-time prompt) to make the data copy. The run-time prompt for the 2 BRs are the same, for example, same entity, samel copy-from version, and same copy-to version.
I would like the users to just run one business rules (or maybe a sequence) with one set of RTPs to choose, and it allows them to copy both plan type. I have tried to use the sequence, but it seems that the sequence would require the 2 sets of RTPs to be input.
Any advice is appreciated.
THANKS

Alp,
Yes. I have tried to use the global variables, with the BR sequence. However, since the two BRs are for two different plan type (essbase cubes), when I choose the merge variable option, it did merge the global variable, and also limit the database name selection to one. (I can not choose the "hide" for the database).
Any other suggestion?
Thanks

Similar Messages

  • 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? ;-)

  • Copy data of two rows together into a new row

    Hello everyone.
    I have a question about copying data of two existing rows together into a new third row.
    See this short example:
    This is the current situation. The rows STATE_1 and STATE_2 contain different separated information.
    In the past data were saved randomly in one of those rows.
    This is the table State:
    ID
    Cust_ID
    STATE_1
    STATE_2
    STATE_3
    1
    88
    Customer is waiting.
    Call from yesterday.
    2
    11
    Mr. Smith, no answer.
    Waiting until December
    3
    11
    Pls create PO.
    Old PO was cancelled
    4
    5
    No access to system.
    From now on everything has to be saved to the empty STATE_3 but I also need the old entries from the past which also have to be copied together into STATE_3
    like this:
    ID
    Cust_ID
    STATE_1
    STATE_2
    STATE_3
    1
    88
    Customer is waiting.
    Call from yesterday.
    Customer is waiting. Call from yesterday
    2
    11
    Mr. Smith, no answer.
    Waiting until December.
    Mr. Smith, no answer. Waiting until December.
    3
    11
    Pls create PO.
    Old PO was cancelled.
    Pls create PO. Old PO was cancelled.
    4
    5
    No access to system.
    No access to system.
    Is there an easy SQL-command?
    Thanks for any help.

    Hi,
    DB2000 wrote:
    Hello everyone.
    I have a question about copying data of two existing rows together into a new third row.
    See this short example:
    This is the current situation. The rows STATE_1 and STATE_2 contain different separated information.
    In the past data were saved randomly in one of those rows.
    This is the table State:
    ID
    Cust_ID
    STATE_1
    STATE_2
    STATE_3
    1
    88
    Customer is waiting.
    Call from yesterday.
    2
    11
    Mr. Smith, no answer.
    Waiting until December
    3
    11
    Pls create PO.
    Old PO was cancelled
    4
    5
    No access to system.
    When you say "row", do you mean "column"?
    DB2000 wrote:
    Because in this case STATE_1 and STATE_2 are only text of a log file/history.
    So I think 1NF isn't really violated and because of performance of the database in this case it's better to put obsolete rows together.
    Why do you think that?
    The definition of First Normal Form is that every column of every row contains 1 piece of information, not a variable number of pieces.  Whether or not that data is only text of a log file/history has nothing to do with it.
    You might claim you have good reasons (such as performance) for violating First Normal form, but you can't say that you're not violating it.

  • Copy: Level-by-level planning type

    Hi,
    I was wondering if someone has carried out a copy in SOP from one Info structure with Level-by-level planning type to a second Info structure also with Level-by-level planning type.
    This kind of copy is not supported by the SAP standard.
    Thanks in advance and best regards.

    Try OLIX transaction

  • 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

  • Copying data between two tables with different structures

    I have two tables. second table has three extra fields at the end. How can I copy data from first table to the other? I tried the following but it does not seem to work:
    INSERT INTO second_table ((select * from first_table),'text','text',5)
    Please help. Thanks

    INSERT INTO second_table SELECT col1, col2, col3, .., 'text', 'text', 5 FROM first_table;
    Cheers!
    r@m@

  • How to copy data between two tables row by row

    Hi All,
    I have three tables TableA and TableB and TableC
    I wanted to write a stored procedure to copy data row by row from TableA to TableB and then update TableC by replacing any record that has the old id (before copying) to the new id after copying the data.
    here is the steps 
    iterate throw all the rows in tableA ( probably with a foreach)
    in each iteration we will do the following:
    Get current ID (identity) for each record in TableA ( will call it @oldID)
    Insert the row in TableB
    Get the new ID for the row from TableB will call it (@NewID)
    find rows in tableC that has the (@oldID)
    replace all ids in tableC with @oldID to @NewID
    Thanks in advance

    0
    TableA and TableB are identical they should have the same columns 
    TableC columns will be ( ID, TableA_ID , Notes)

  • Copying data to its corresponding type folder is mandatory...?

    hey ...if we copy data into our playbook from other source....than we must copy it to its corresponding folder
    for ex. if want to copy video into PB than we have to copy it into the videos folder of the PB ....why is it so..?no alternative is there...? 
    Solved!
    Go to Solution.

    Install a proper file manager like Files and Folders or My File Manager and copy them from downloads to where you want. Or use wifi connection to playbook from your computer and move them with the computer. They will usually go to downloads or the normal location first. 
     there are only three possible sources to copy from, internet, email or your computer. Can't copy in from usb.
    Sarah.

  • Can anyone recommend a Mac-compatible reader proven to successfully read SIM cards? Amazon doesn't seem to have anything with easily-installable software (mini-CDs) that allows one to actually copy data on SIM to computer.

    Thank you in advance for leads.

    Thank you!
    Kappy     Nov 24, 2014 3:01 PM 
      Re: Mac Pro's (early 2008) Back up plan towards a possible OS upgrade to Yosemite  in response to Juan Huerta      
    All new drives need to be partitioned GUID and formatted Mac OS Extended, Journaled before they can be used.
    OK, is that an option I'll be prompted to by the OS or do I have to "tell" that to...Disk Utilities (?)
    If cloning is your purpose then use Disk Utility's Restore option. It will clone the drives and their Recovery HD partitions automatically.
    I didn't know that Disk Utility had an option for cloning a bootable drive...is it better than CCC? (I have used neither one) I really would like to save $40 and avoid downloading additional software/applications...please if you don't mind...what option would that be once I click on "Disk Utility"? If you know of a good link or reliable article on the topic that will work for me too.
    Test a clone be trying to boot the computer from it.
    Any bootable drive in any bay can be used to boot the computer. Use Startup Drive preferences to set the desired boot volume.
    Erase the target and try again.
    But if the computer fails to start because I didn't create a good copy, how do I go back? Keyboard shortcuts? I keep reading that a wired keyboard must be used...and that's scary. If that's true, could I hook up any of my Windows based keyboards via USB?
    Erase the drive and install OS X. You cannot use any software installed by the prior owner that was purchased via the App Store including OS X. You must start from scratch. (this actually is 5B rather than item 6.)
    Well, he created an Admin account for me and I have been handling updates and everything with the new password he created for me. I wonder if I could access the Apple Store with my ID though...it's all under my name in that computer though, so I figure that at the Apple Store I'd just enter my ID...I guess, I have not tried that yet
    Yes.

  • Copy PO with Invoice Plan

    Hi guys,
    is there any function or way to copy a PO with Invoicing Plan?
    If I try to create a new PO by copying from an existing one, everything is copied unless the Invoice Plan.
    Who can help me?
    Thanks.
    Fabio

    Hi,
    An Enhancement is required in PO, whereby we can should explore the possibility to use two custom buttons, one at PO line item level for copying the Invoicing Plan from the current PO line item to any other desired PO line item, and other button at the PO header level for copying the Invoicing Plan from the current PO line item to all the PO line items. This requirement will be possible if we get a Screen exit to create some custom sub-screens & add these buttons in that sub-screen to meet our Business requirement, the logic for which can be coded in the Screen Exit. For meeting this requirement, there is a Screen Exit in the below enhancement from T-Code SMOD 
    Enhancement: MM06E005 - Customer fields in purchasing document
    Screen Exit: SAPLXM06. For more clarity refer the below link. I hope it will resolve your issue. Thanking you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/100675db-2464-2e10-319c-fb9f37c41abe?quicklink=index&overridelayout=true

  • Is it possible to make several copy actions to a plan in COPA?

    Hi Experts,
    In COPA, we would like to copy actual data from last year to the planning we made for reference use. The user should then adjust these actual figures to plan data.
    Since we would like to copy contract data and invoice data (which was sent to COPA via SD) to the plan we need to have two copy actions:
    1. copy actuals with record type A (contract data)
    2. copy actuals with record type F (billing data)
    The problem is now that the data from the second copy action overwrites the data from the first copy action.
    Is there a way to have copy different data to the plan without the data being overwritten?
    And, is it possible to copy data to the plan for only 2 months instead of for the whole year? Now the system says that the period to be copied should be equal to the period from the planning package.
    Best regards,
    Stephan

    Never ever presume that your web page must take up my entire screen.  That's considered rude.   My browser settings and preferences are my choice; not yours.
    If you want to design web pages that fill the end-user's available viewport without scrollbars, use a liquid or semi-liquid layout in percentages.
    http://alt-web.com/TEMPLATES/3-col-semi-liq-layout.shtml
    Alternatively, you can use multiple style sheets & progressive enhancement techniques (media queries) to target specific devices by their width. This is how modern developers are able to support different layouts for smartphones, tablets and desktops.
    http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Copy data between cubes

    I need to copy data between two cubes (through a business rule). Can I do it using Partition/Replication? If so, does anyone have an example on how it is done? I'm currently using @XREF, but that does not transfer data for blocks that don't already exist in target database.
    I'm very new to this so a detailed description will help.
    Thanks for your help.

    Yes, partitions are great. I like to use replicated partitions because I can control the data, and deal with integrity issues etc. Your usage may vary.
    Basically, you go to your "Source" database, go to the partitions menu, and "Create New Partition". You then walk through each of the tabs in the partition menu
    Type Tab: Choose the type. Let's say a "replicated" partition.
    Connection Tab: Choose what databases will be connected with the partition
    Areas Tab: I like to check the "Use Text Editor" to just type out the formulas. Also check the "Show Cell Count" to have some confidence your formulas are working as planned. Here you define what data moves from source to target. For example I might setup the following
    Source:
    ("Actuals Data"),
    @LEVMBRS("Province",0),
    @GENMBRS("Company",2)
    Target:
    ("Actuals Data"),
    @LEVMBRS("Province",0),
    @GENMBRS("Company",2)
    If the names don't match, you can adjust that in the advanced properties or mapping properties. (If you have multiple slices of data - use the advanced mapping).
    Now validate and save

  • 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

  • Sharing accounts across 2 plan types  - Planning 9.3.1

    This is my first attempt to share accounts across 2 plan types and I am not getting expected results. In the setup, account 1234 was assigned to both Plan A and plan B with the "source plan type" as Plan B. When I create a form for Plan B, everything looks good and I can input data into account 1234. Then I created a similar form for Plan A using the same account. With all other dimensions being the same, I expect that I would see the data input for Plan B, account 1234 in the Plan A form as a read only field.
    Are my expectations incorrect? If so, then I don't understand the benefit of sharing accounts across multiple plan types.
    Any insight is greatly appreciated.

    One benefit would be how you use the same data in one plan type against the other. A simple example:
    Let's say in your example Plan B represents Revenue and Plan A represents Expense - one way some people design Planning applications. Let's also say that your company calculates expense as a percent of revenue.
    The revenue group enters revenue figures into acct 1234 into the Plan B form.
    When the expense group pulls up the Plan A form, which also shows acct 1234 (but as read-only), they can now calculate against it. So an expense user can enter % values into some other acct in Plan A, "Exp % Rev", and have it calculate against the read-only acct 1234 being x-ref'ed from Plan B.
    Plan B Form:
    ___________Jan__Feb
    "acct 1234"_100__100 (input)
    Plan A Form:
    ____________Jan___Feb
    "acct 1234"___100__100 (read-only)
    "Exp % Rev"__5%___5% (input)
    "Rev Exp"_____5____5 (calculated)
    The benefit here is that no data movement or copy is necessary between plan types for this to work, assuming the x-ref is dynamically calculated. Users can see data in both places.
    This is just a simple example, however, and may not make sense in all situations.
    Hope that helps!
    -O

  • Can we add more plan type to EPMA or Classic planning App once deployed.

    Hello Gurus,
    I have EPMA planning application ABC with two plan types enabled i.e Plan1 and Plan2. Application is already in deployed stat. so now is it possible to enable more plan types for same application.
    All help is highly appreciated.
    Thanks
    Yash

    once gain thanks for the quick reply, it was really helpful.
    and just for curiosity same applies for classic application?
    Thanks
    Yash

Maybe you are looking for