Copy Function with Single selection of row

I want to copy necessary Planning items in my Input ready query from period 1 to remaining periods based on variable entries.  To achieve this I have created a copy planning function to copy amount entered in period 1 (variable) to range of posting period variable entries (e.g. 2 -12 or 6-12).
I have created structure for GL accounts and I want to copy from period 1 to 2 - 12 for one row at a time.
I have created WAD template, I selected in behavior section of Analysis item, single with command option and assigned Planning sequence (consisting of copy function) as command.
On execution of WAD, I select single row in my input ready query and instead of one row getting copied over to the range of posting period, all rows consisting of Planning Items with amount are getting copied over, which I am not expecting with single selection option.
How can I have only one row getting copied over?
Am I am missing something?
Your suggestions are highly appreciated.
Regards,
Sachin

Hello Gregor,
Thanks for your response.  I tried what you have suggested and also followed the documentation, not sure why it is not working as expected
In my variable I have characterictis such as:
Version
Fiscal Year
Fiscal Year Variant
Profit Center
In my rows:
Planning Item
Columns:
Period
Amount
In behavior I have selected Row Selection Single.  I am using Button group and assigned following:
Command: Execute a Planning Function -> In Data Binding -> Selection Binding -> Characteristic -> Planning Item -> Binding Type -> Item Characteristic -> Web Item Selection -> Item Binding -> Query (Analysis Item) -> Characteristic -> Planning item.
For Variable I have defined nothing.
Do you think my settings are correct?
Regards,
Sachin

Similar Messages

  • "Dynamic List Box with Single Selection" Survey Suite in CRM 6.0

    Hi
    I am using CRM 6.0. There in Survey Suite there are 2 answering options "Dynamic List Box with Single Selection" & "Dynamic List Box with Multiple Selection". I am able to make out, how we can assign values to this. I have seen example "Example_Dynamic_survey" also.
    I believe we have to use programming for populating this. But how do we have to carry that out.
    Thanx and Regards
    Hitesh

    Hi Hitesh,
    There is no need of programming for populating values for Answer category 'List Box with Single Selection' or 'List Box with Multiple Selection'. You have to follow the following steps to populate values for those:
    - In the Answer Category select List Box with Single Selection from drop down list
    - Then on left hand side tree, right click on Answer and select Insert Answer Option (Answer->Insert Answer Option)
    - Then on right side, provide Text for the answer (value)
    - To add more values, repeat the process Answer->Insert Answer Option and providing text for those answers in the right side.
    Similarly you can populate values for 'List Box with Multiple Selection' also.
    This has to be done in the transaction CRM_SURVEY_SUITE.
    Hope this is clear to you
    regards
    Srikantan

  • INSERTED Table - When it gets populated with single or multiple rows?

    Hi,
    I'm trying to create a trigger which then insert to a table. i'm wondering when does the INSERTED table gets populated with single or multiple rows?
    Should I always assume that the INSERTED Table will contains several rows? What does the scope of the INSERTED table in the trigger, isn't based on the user session?
     The reason why i asked this is because as far as i know inserted table may contain several table when the trigger fires which is why I use cursor to insert  records in the table ( there's a behind why i use cursor).
    But if the inserted table will only contain a single record during the session of the trigger then i can avoid the cursor.
    Thanks.

    But since we control the transaction process and we know for a fact that user will only be able to save a record one at a time, do we still expect multiple rows? I just want to have a clear concept on the INSERTED table.
    ...and then the DBA or someone else sees fit to enter a number of rows directly from a query window. And don't laugh. That is bound to happen sooner or later.
    However, just because this can (and will) happen does not mean that you need to handle it on equal footing with the normal case user entering data through the application. What you cannot permit yourself to is to drop the DBA case on the floor, that is write
    the trigger as if there would either be single-row inserts and produce incorrect results for multi-row inserts.
    But, yes, allowing yourself to use a cursor, if you want to reuse the existing stored procedure is feasible. That is also the more drastic solution suggested by Tom to add an explicit check that disallows multi-row inserts.
    Finally, permit me to comment on this:
    Additionally, it's  difficult to use the code below as i need to pass the identity id of tbl_A to tbl_B
    You can use the OUTPUT clause to capture the values, but that requires that you have something you can map the identity values to in the columns you insert, and this is not always the case. However, there is a lot simpler solution to the problem: don't
    use IDENTITY. IDENTITY is one of these over-used and over-abused features in SQL Server. You need it when you want to support high-concurrency inserts, because rolling your own requires a serialisation point. But with a moderate insertion frequency, IDENTITY
    only gives you headache.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Copy-function: Where to select data-target?

    Hi experts,
    First, I worked on a cube for consolidation and created several input ready queries.
    Second, I have buid-up a second cube for disribution planning. (Because there are lots of additional dimensions being used; such as country, region, products[...]).
    Now, I want to copy planned turnover in distribution cube to consolidation cube. In other threads I've read, that it would be possible to copy data from cube to cube.
    The problem is that I don't find any properties defining the data-target.
    So. what needs to be done to reach my goals? Do I have to buid-up a multiprovider as well?
    Thanks a lot for your hints!
    Regard, Martin

    Hi Martin,
    copy function can only copy from a char value to another value. It can not copy between key figures.
    For this you need a fox formula.
    Copy functions in BI IP will always overwrite the values that were in the target before it is run.
    Fox functions usually will also overwrite the values that were there before the function is run. If you want to do it different, your fox code would have to include some checks and so on.
    if you do not change other characteristics, you take only the 0Info_prov into the fields to be changed and make a formula like:
    {keyfigtarget, infoprovtarget} = {keyfigsource, infoprovsource}.
    when including the function button into a web template you can choose:
    planning function simple - you will need a data provider type filter or query to fill info the selection binding
    planning function - you can choose you "filter" by naming each individual char that has to be restricted while running the function
    planning sequence - aggrlevel, filter and function are fixed in the sequence
    I usually prefer sequences (I trust them more than the selections for individual functions)
    regards
    Cornelia

  • Need to write with single select statement

    NAME
    SAL
    GENDER
    X    10000    M
    X    9000    F
    Y    8000    M
    Y    7000    M
    Z    6000    F
    Z    5000    F
    A    4000    M
    A    4000    F
    1) How to write a query that displays the name that exist in both male and female gender. using single select statement
    I tried this one
    SELECT NAME FROM EMPL WHERE NAME IN (SELECT NAME FROM EMPL WHERE GENDER='F') AND GENDER='M';
    It worked fine
    But when i converted to single select statement it didn't work . You can find the query below. can i rewrite in any possible ways(using single select statement).
    Select name from table_name where gender='M' and gender='F'
    thanks in advance

    If a Name does not exist with same gender
    i.e
    Name     Gender
    X              M
    X              M    
    if above sceniorio not exist in ur data than following query will work
    select name from table_name
    group by name
    having count(name) > 1

  • PARM error (shows as mrap) with multiple selections, no error with single selection

    Hello all,
    I am new to Illustrator scripting this is my first script. I am getting a this error " Error 1200: an Illustrator error occurred: 1346458189 ('MRAP'): line 50" which is the line:
    var next_board = doc.artboards.add([next_board_L, next_board_T, next_board_R, next_board_B]); 
    It only occurs when I have multiple selections and never when I have only one selection. After a little research I have found the error is actually PARM, but I don't see any uninstantiated variables or other  issues that could be throwing this error. I am on a mac Illustrator CC. I would appreciate any help on the matter. Below is the full script.
    #target Illustrator
    // This script was made to take all selected objects
    // Create a new arboard for all Selected objects
    // At a user specified width and height then
    // Scale the object to the artboard size and center
    var doc = app.activeDocument;
    var select = doc.selection;
    if (select.length > 0) {
         var title = "Fit Selected Object(s) to Artboard(s)";
         var msg = "Enter the width and height of artboards (single number)";
         var board = Number(Window.prompt (msg, 0, title));
         for(var i = 0; i < select.length; i++) {
              var selectW = select[i].width;
              var selectH = select[i].height;
              if(selectH >= selectW) {
                   if(board > selectH) {
                        scale = board/selectH*100;
              } else {
                   scale = board/selectW*100;
              var boardIdx = doc.artboards.getActiveArtboardIndex();
              var boardSrc = doc.artboards[boardIdx];
              var boardSrc_L = boardSrc.artboardRect[0];
              var boardSrc_T = boardSrc.artboardRect[1];
              var boardSrc_R = board;
              var boardSrc_B = -board;
              var moveX = 10;
              var next_board_L = boardSrc_R + moveX; 
              var next_board_T = boardSrc_T; 
              var next_board_R = next_board_L + (boardSrc_R - boardSrc_L); 
              var next_board_B = boardSrc_B;
              var next_board = doc.artboards.add([next_board_L, next_board_T, next_board_R, next_board_B]); 
              select[i].resize(
                  scale, //this is a percentage of current width 
                  scale, //this is a percentage of current height 
                  true, // changePositions 
                  true, // changeFillPatterns 
                  true, // changeFillGradients 
                  true, // changeStrokePattern 
              var selPosX = select[i].left;
              var selPosY = select[i].top;
              var selBoardDiffX = next_board_L - selPosX;
              var selBoardDiffY = next_board_T - selPosY;
              var toCenter = 0;
             select[i].translate (
                       selBoardDiffX,
                       selBoardDiffY,
                       true,
                       true,
                       true,
                       true
             var boardH = next_board.artboardRect[2] - next_board.artboardRect[0];
              var boardW = next_board.artboardRect[3] - next_board.artboardRect[1];
             if( boardH > select[i].height ) {
                  toCenter = (boardH-select[i].height)/2;
                      select[i].translate (
                                0,
                                -toCenter,
                                true,
                                true,
                                true,
                                true
             var NegSelectW = select[i].width * -1; //Must be a negative number
             if ( boardW < NegSelectW ) {
                  toCenter = (boardW+select[i].width)/2;
                      select[i].translate (
                                -toCenter,
                                0,
                                true,
                                true,
                                true,
                                true

    Ah I finally understand. I looked into that post a little more an started experimenting. I used the function posted to create my artboards. Its a lot easier if you can think
    (x, y, width, height). So yes the issue was with my variable but not in the way I was thinking.
    for those who need it here is the function posted in that thread
    var newRect = function(x, y, width, height) { 
        var l = 0; 
        var t = 1; 
        var r = 2; 
        var b = 3; 
        var rect = []; 
        rect[l] = x; 
        rect[t] = -y; 
        rect[r] = width + x; 
        rect[b] = -(height - rect[t]); 
        return rect; 

  • Oracle Function with a select into problem

    Here is one that I cannot figure out. I'm trying to select the median of a set of events in a purchase qty. I have the selects working in SQL. It returns the correct answer for several sets of test data. However, when I put this into a function to be able to call during more complex queries it doesn't work. I've tested the function several different ways and it's looking like the select median into v_median2... is not working. Please help!
    Here is the code... When this is run what ever is in v_plant is returned. IE: If you pass 1122 into with getmedian('4567','12345678-0001') this returns 4567 at the output. I've bypassed the v_plant and v_material in the select part below and it still output 4567.
    If you run the select (with test data put in place of v_plant and v_material in a sqlplus window without the INTO v_median2) it would return a 12.
    If you run this function as is it would return 4567.
    Here is the output from the dbms_output tests.
    4567
    12345678-0001
    4567
    12345678-0001
    4567
    WHY?
    CREATE OR REPLACE FUNCTION getmedian(v_plant IN VARCHAR2, v_material IN VARCHAR2)
    RETURN NUMBER
    AS
    v_median2 NUMBER;
    BEGIN
    DBMS_OUTPUT.PUT_LINE(v_plant);
    DBMS_OUTPUT.PUT_LINE(v_material);
    SELECT MEDIAN INTO v_median2
    FROM (SELECT ROWNUM as rownums,MEDIAN
    FROM (SELECT abs(quantity_in_unit_entry) AS MEDIAN
    FROM tbl_transactions
    WHERE plant = v_plant
    AND material = v_material
    AND movement_type IN ('961','261','201')
    ORDER BY quantity_in_unit_entry DESC))
    WHERE ROWNUMs = ( select round(COUNT(1)/2,0) AS TOTAL2
    from tbl_transactions t
    WHERE plant = v_plant
    AND material = v_material
    AND t.movement_type IN ('961','261','201'));
    DBMS_OUTPUT.PUT_LINE(v_plant);
    DBMS_OUTPUT.PUT_LINE(v_material);
    DBMS_OUTPUT.PUT_LINE(v_median2);
    RETURN v_median2;
    END;

    It looks like another one of those cases where the pl/sql engine doesn't yet handle everything that the sql engine does. The usual solution is to execute the part that only works in sql dynamically. Try this:
    CREATE OR REPLACE FUNCTION getmedian
      (v_plant    IN VARCHAR2,
       v_material IN VARCHAR2)
      RETURN         NUMBER
    AS
      v_rownums      NUMBER          := 0;
      v_sql          VARCHAR2 (4000) := NULL;
      v_median2      NUMBER          := 0;
    BEGIN
      SELECT ROUND (COUNT (1) / 2, 0)
      INTO   v_rownums
      FROM   tbl_transactions
      WHERE  plant = v_plant
      AND    material = v_material
      AND    movement_type IN
             ('961', '261', '201');
      v_sql :=
      'SELECT median
       FROM   (SELECT ROWNUM AS rownums,
                      median
               FROM   (SELECT   ABS (quantity_in_unit_entry)
                                    AS median
                       FROM     tbl_transactions
                       WHERE    plant = :v_plant
                       AND      material = :v_material
                       AND      movement_type IN
                                (''961'', ''261'', ''201'')
                       ORDER BY quantity_in_unit_entry DESC))
       WHERE  rownums = :v_rownums';
      EXECUTE IMMEDIATE v_sql INTO v_median2
      USING v_plant, v_material, v_rownums;
      RETURN v_median2;
    END getmedian;

  • How to reduce functions with simple select query?

    I have a function to identify the root parent of a particular id. I use this in function in select query,which invokes function for every row in table.I need to merge the function inside the query itself.Please suggest  me.
    Function
    CREATE OR REPLACE FUNCTION fnroot(v_id int ) return int as
    v_left int;
    v_right int;
    v-result int;
    begin
    select left,right into v_left,v_right from sam where id=v_id;
    select id into v_result from sam
    where id in (select id from mst m where m.depth=2 )
    and left < v_left and right > v_right;
    return v_result;
    end
    query:
    select fnroot(s.id) from master s;

    Hi,
    Ramin's idea is very good. You must use joins in function as below
    CREATE OR REPLACE FUNCTION fnroot(v_id int ) return int as
        v_result int;
    Begin
    select  s.id into v_result
      from sam s on s.id = v_id
               left join sam s2 on (s2.id in (select id from mst m where m.depth = 2) and s2.left < s.left and s2.right > s.right)
    return v_result;
    End;
    Regards
    Mahir M. Quluzade

  • With out selecting the Row, display Dropdown for a perticular column

    Hi,
    i have a requirement to display dropdown to perticular column in a Tableview.
    is it posible.....?
    Regards,
    Brahmaji

    Hi,
    The value of the TextEdit inside a Tableview, can be got by using the same method that you use it outside the tableview.
    If you know the id of the Textview, then you could get the data inside the textview easily.
    All the form fileds will be stored in form_fields table that is stored in the request object.
    This also implies that the textedit value will also be stored inside the form_fields array.
    The textedit value can be read from this internal table using the below syntax.
    The syntax for reading the textedit value is below...
    data: lv_string type string,
             lv_te_iid type string.
    lv_te = 'te1'.
    lv_string = request->get_form_field( NAME =  lv_te ).
    The id of the textedit should be assigned  by you, during the factory method. Say for example te_1_1 i.e. te_<row_number>_<column_no>
    Later in the event handler based on the no. of questions, you could loop and form the id of the text_edit and get the value of the text edit and store the value of the textEdit in the internal table based on the row index.
    Hope it helps.!
    Regards,
    Maheswaran
    Edited by: Maheswaran B on Nov 6, 2009 10:00 PM
    Edited by: Maheswaran B on Nov 6, 2009 10:02 PM

  • Selecting multiple rows in alv grid

    my requirement is i want to send the data from alv grid to smartforms using check boxes from report output but without using either oo framework or layout-box_fieldname.can anybody give me the solution?

    in fieldcatalog you have to use CHECKBOX = 'X'  INPUT = 'X' and EDIT = 'X' for the columns which ever you want to be check box .
    You need use the Function moduel in the user command to get the updated data with checked value.
    GET_GLOBALS_FROM_SLVC_FULLSCR
    follow the sample code.
    REPORT ZTEST_ALV_CHECK MESSAGE-ID ZZ .
    TYPE-POOLS: SLIS.
    DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
    IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
    L_LAYOUT TYPE SLIS_LAYOUT_ALV,
    X_EVENTS TYPE SLIS_ALV_EVENT,
    IT_EVENTS TYPE SLIS_T_EVENT.
    DATA: BEGIN OF ITAB OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    CHK(1),
    color(4),
    END OF ITAB.
    SELECT VBELN
    POSNR
    FROM VBAP
    UP TO 20 ROWS
    INTO TABLE ITAB.
    X_FIELDCAT-FIELDNAME = 'CHK'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 1.
    X_FIELDCAT-INPUT = 'X'.
    X_FIELDCAT-EDIT = 'X'.
    X_FIELDCAT-CHECKBOX = 'X'.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    X_FIELDCAT-FIELDNAME = 'VBELN'.
    X_FIELDCAT-SELTEXT_L = 'VBELN'.
    X_FIELDCAT-HOTSPOT = 'X'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 2.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    X_FIELDCAT-FIELDNAME = 'POSNR'.
    X_FIELDCAT-SELTEXT_L = 'POSNR'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 3.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    L_LAYOUT-info_fieldname = 'COLOR'.
    *L_LAYOUT-ZEBRA = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = L_LAYOUT
    I_CALLBACK_PF_STATUS_SET = 'STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    IT_FIELDCAT = IT_FIELDCAT
    TABLES
    T_OUTTAB = ITAB
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2.
    IF SY-SUBRC NE 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM STATUS USING P_EXTAB TYPE SLIS_T_EXTAB.
    "Copy the standard program SAPLKKBL , STANDARD status to your program
    SET PF-STATUS 'STATUS'.
    ENDFORM. " STATUS
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
    DATA: GD_REPID LIKE SY-REPID, "Exists
    REF_GRID TYPE REF TO CL_GUI_ALV_GRID.
    IF REF_GRID IS INITIAL.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING
    E_GRID = REF_GRID.
    ENDIF.
    IF NOT REF_GRID IS INITIAL.
    CALL METHOD REF_GRID->CHECK_CHANGED_DATA .
    ENDIF.
    loop at itab where chk = 'X'.
    "collect all the records to an internal table here..
    endloop.
    "Now call your smartform here using SSFFunction module and the get the dynamic function . From there call the Function with the selected values, to show the smartform
    RS_SELFIELD-refresh = 'X'.
    break-point.
    ENDFORM. "USER_COMMAND
    Regards
    Vijay Babu Dudla

  • No reference data for copy function between two infoproviders

    Hello,
    I am trying to copy data from an actuals cube into a plan cube. Both cubes are assigned to the same multi provider.
    The planning function is defined as follows:
    Characteristics to be changed: InfoProvider (from: Actual; to: Plan)
    Condistions: none
    To keep it simple I am using a filter with no entries.
    When I am executing the copy function with a trace I find that the function reads the entries from the Plan Cube (which I expected) but it does not generate the entries that are available in the Actuals Cube in the plan cube (which I hoped it would do). It seems that the function cannot find any reference values in the Actuals cube.
    The structure of the two cubes is different. Could this be the reason that the copy function does not work?
    I will appreciate any hints.
    Cheers,
    Sven

    Hi,
    The structure of the cubes being different is not a problem. Anyway, the records get aggregated depending on the characteristics you have included in the aggregation level on which the copy function is created. Because you say not even one record is getting copied from the actuals cube I feel there is some basic problem. Check the below things (some might sound very basic but I am just noting them)
    1) Actual cube has data in an active request with green status
    2) You have identified the characteristics and key figures properly in the multiprov (on which the aggregation level is built) from both the cubes.
    3) In the copy function, you have selected the desired KFs to be copied.

  • Single Selection Problem in table

    Dear All,
    I am getting problems with single selection in a table. Although I have set the selection model to single, if I select a row int the table and then depress Ctrl/Shift multiple rows are selected.
    The code for set single selection is :
    ListSelectionModel seleModel = myTable.getSelectionModel();
    seleModel.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    Any idea about this? Is this a bug in JAVA?
    Thanks!

    Look through your code and see if you've declared your table twice. Your single selection may not being applied where you intended.

  • ALV: multiselect selects more rows than expected

    If I have table with many pages of data and do following actions:
    1) leave lead select in first page as it is
    2) go to next page - with ctrl select 2nd row
    3) go to next page - with ctrl select 1st row
    4) go back to previous page - 2nd row selected as expected
    5) go to next (3rd) page - 1st and 2nd row is selected (expected only 1st row to be selected)
    There is no any select event handler which could cause such behavior.
    I have noticed such error on standard table, too.
    What is causing this error?

    Oskars,
    If you are using
    -- one context node for this table,
    -- you have set the context node's Cardinality to o...n,
    -- and the table UI element that's bind to this context node's property SelectionMode is set to be 'auto' or 'multi',
    then I think this is a bug in your version.  I have tried on my system (SAP ECC 6.0, SAP_ABA 700), and I cannot reproduce the behavior you have describe in this thread.   Check the CSN to confirm if this is a bug indeed.
    regards,
    Tina Yang

  • Copy function issue.

    Hi,
    In my actual cubes, i have data for the 12 months ie from 01.2006 to 12.2006,
    I created copy planning function and in characteristcs usuage "Create Row"
    From change----T0 Change
    1. Calyear--2006--
    2007
    2. Calmonth--01.2006 to 03.2006--
    01.2007 to 03.2007
    3. Vtype--10--
    20
    4. Version--0--
    1
    5. Infopro--Actual--
    Plan
    When i execute the copy function. I am getting the value No of rows *3
    ie.
    2007-01.2007----
    $1000 (Actual Jan value)
    2007-01.2007----
    $1500 (Actual Feb value)
    2007-01.2007----
    $3900 (Actual March value)
    2007-02.2007----
    $1000 (Actual Jan value)
    2007-02.2007----
    $1500 (Actual Feb value)
    2007-02.2007----
    $3900 (Actual March value)
    2007-03.2007----
    $1000 (Actual Jan value)
    2007-03.2007----
    $1500 (Actual Feb value)
    2007-03.2007----
    $3900 (Actual March value)
    I was expecting only one line for each row from actual to plan cube
    2007-01.2007----
    $1000 (Actual Jan value)
    2007-02.2007----
    $1500 (Actual Feb value)
    2007-03.2007----
    $3900 (Actual March value)
    How does the system perform the copy function. Is it not row by row as per the result. Can anyone explain me how it calculates?
    Thanks
    Annie
    02.2006----

    Hi.
    It is expected result if you use range in Calmonth.
    You have to map one-to-one if you want correct result.
    Just add 2 additional rows in copy function for Calmonth (in toal you should have 3 rows for Calmonth) and in each row map monthes accordingly (01.2006 to 01.2007 etc).
    Regards.

  • Copy function problem

    Hi all,
    We have created a multiplanning area consisting of Actual planning area and Plan Planning area for Cost Centre.We are using standard cubes 0CCA_C11 and 0SEM_C18.
    We have extracted the last Fiscal year's data ie,2005 in actual cube.Now we want to copy the actuals data into plan cube.Our layout is as follows:
    Costcentre   CostElement   Currency  PlanData  ActualData
    101001       T80010        ISK       0.00      293673.00
    Now I want to copy the actuals data into Plandata.The ActualData is restricted on FiscalYear=2005,ValueType=10,Version=0 and PlanData is restricted on FiscalYear=2006,ValueType=20,Version=0.
    In my Copy function I have taken PlanningArea,ValueType and Version as <b>Fields to be changed</b>.After I execute the copy function with trace I get the following result:
    3540 data records were read, 0 of them were changed, 3540 generated.
    Then why I am not able to see it in my layout ?
    Thanks and regards,
    Yogesh

    Hello Anurag,
    I get the following trace:
    0     10     CCAACT01     0     0,00     293.673
    0     10     CCAACT01     0     0,00     293.673
    0     20     CCAPLN01     0     0,00     293.673
    From the trace I can see that for Value type=20 and version 0 the value in planning area CCAPLN01 is 293.673
    Then where else I could be wrong ?
    Thanks and Regards,
    Yogesh

Maybe you are looking for