Data copy from multiple members to multiple members

Guys,
I have a situation at my client where we have to copy data from the children of one hierarchy to children of another hierarchy.
Ex-
Entity(Dimension)
l
HM Entity
l l
l Hierarchy1
l l
l Member1
l Member2
l Member3
l
Entity_Input
l
Hierarchy2
l
Member1_Input
Member2_Input
Member3_Input
i am writing the below script
FIX (FY12, Budget, Final,)
FIX(@relative("HM Entity",0))
DATACOPY @CURRMBR("entity") to @MEMBER(@concatenate(@currmbr("entity"),"_INPUT"));
ENDFIX
ENDFIX
but when i validate it is throwing me an error saying that
"Invalid Calc Script syntax [DATACOPY @CURRMBR]"
can you guys help me on that.
Regards,
Ram.

With datacopy, you need to specify the member names.
e.g. datacopy membera to memberb;
You can use substitution variable, but
function is not working with datacopy.

Similar Messages

  • How to manage data aggrigation from multiple systems.

    Hi,
    How to manage data aggrigaion from multiple system which should support paging too.
    please suggest me , best possible soluntion.
    Thank You

    what is ment by aggrigation? what is the difference between Inheritance and aggrigation ? How can it implement as part of the programm

  • BPC Logic Script: Copy from calculated members (non-base) to base members

    Hi experts,
    I want to copy some values from some calculated members to base members in the same dimension. It appears I have a hard time scoping the calculated members.
    This is my C_ACCOUNT dimension:
    And this is the COPYCALC.LGF script I am running:
    LGX:
    *XDIM_MEMBERSET C_ACCOUNT = 450
    *WHEN C_ACCOUNT
    *IS 450
    *REC( EXPRESSION = %VALUE%, C_ACCOUNT = 50)
    *ENDWHEN
    LOG:
    LOG BEGIN TIME:2014-02-26 17:21:12
    FILE:\ROOT\WEBFOLDERS\STEP_UNIT_TEST \ADMINAPP\BUDGET_CASH\TEST.LGF
    USER:KAROLISB
    APPSET:STEP_UNIT_TEST
    APPLICATION:BUDGET_CASH
    [INFO] GET_DIM_LIST(): I_APPL_ID="BUDGET_CASH", #dimensions=16
    AA_NUMBER,AUDITTRAIL,BUDGET_OBJECT,BUDGET_TYPE,CATEGORY,COFOG,CURRENCY,C_ACCOUNT,C_ACCOUNT_DT,ENTITY,FLOW,GRANTS,MEASURES,TIME,TIME_DT,VERSION
    #dim_memberset=4
    CATEGORY:RES,1 in total.
    CURRENCY:LC,1 in total.
    TIME:2012,1 in total.
    C_ACCOUNT:450,1 in total.
    SCRIPT RUNNING TIME IN TOTAL:1.00 s.
    LOG END TIME:2014-02-26 17:21:12
    My model structure:
    So as you can see I am trying to copy from account 450 (which is non base) to account 50 ( which is base member). Also you can see that in the previous example no record was generated.
    Whereas,  if I replace the account 450 with 4500 I get record generated in order:
    LGX:
    *XDIM_MEMBERSET C_ACCOUNT = 4500
    *WHEN C_ACCOUNT
    *IS 4500
    *REC( EXPRESSION = %VALUE%, C_ACCOUNT = 50)
    *ENDWHEN
    LOG:
    LOG BEGIN TIME:2014-02-26 18:26:26
    FILE:\ROOT\WEBFOLDERS\STEP_UNIT_TEST \ADMINAPP\BUDGET_CASH\TEST.LGF
    USER:KAROLISB
    APPSET:STEP_UNIT_TEST
    APPLICATION:BUDGET_CASH
    [INFO] GET_DIM_LIST(): I_APPL_ID="BUDGET_CASH", #dimensions=16
    AA_NUMBER,AUDITTRAIL,BUDGET_OBJECT,BUDGET_TYPE,CATEGORY,COFOG,CURRENCY,C_ACCOUNT,C_ACCOUNT_DT,ENTITY,FLOW,GRANTS,MEASURES,TIME,TIME_DT,VERSION
    #dim_memberset=4
    CATEGORY:RES,1 in total.
    CURRENCY:LC,1 in total.
    TIME:2012,1 in total.
    C_ACCOUNT:4500,1 in total.
    REC :%VALUE%
    CALCULATION BEGIN:
    QUERY PROCESSING DATA
    QUERY TIME : 0.00 ms. 1  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    CALCULATION TIME IN TOTAL :0.00 ms.
    1  RECORDS ARE GENERATED.
    CALCULATION END.
    ENDWHEN ACCUMULATION: 1  RECORDS ARE GENERATED.
    DATA TO WRITE BACK:
    AA_NUMBER AUDITTRAIL BUDGET_OBJECT BUDGET_TYPE CATEGORY COFOG CURRENCY C_ACCOUNT C_ACCOUNT_DT ENTITY FLOW GRANTS TIME TIME_DT VERSION SIGNEDDATA
    AA_NONE LIM NONE 10 RES FA_NONE LC 50 CAD_NONE A00 F99_1 NONE 2012 TD_NONE CURRENT 222.00
    1  RECORDS HAVE BEEN WRITTEN BACK.
    WRITING TIME :1.00  ms
    Why can I not copy value from 450 ? How do I solve this problem ?
    PS: currently I am testing this as a DM package run script but in the future I would like to make it a Default.lgf functionality.
    I am working on:
    BPC 10 SP5 for NW, calculation engine ABAP, BW 7.4

    Sorry to keep you in darkness. My code has developed since I have started this thread:
    *SELECT(%ADMISSIBLE%, "[ID]", C_ACCOUNT, " [THIERARCHY]<>'' AND [ACCTYPE]<>INC ")         // DEFINE THE SET OF REAL(ACTUALY EXISTING), NON-REVENUE AND NOT ANCIENT CASH ACCOUNTS HERE.
    *SELECT(%INADMISSIBLE%, "[ID]", C_ACCOUNT, " [ID] <> %ADMISSIBLE% ")
    *SELECT(%L1%, [ID], C_ACCOUNT, "[ID] = %C_ACCOUNT_SET%")       // DEFINE BASE LEVEL ACCOUNTS
    *SELECT(%L2%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L1% ")       // DEFINE FIRST(COUNTING FROM BASE) LEVEL PARENTS
    *SELECT(%L3%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L2% ")       // DEFINE SECOND(COUNTING FROM BASE) LEVEL PARENTS
    *SELECT(%L4%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L3% ")
    *SELECT(%L5%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L4% ")
    *SELECT(%L6%, "[THIERARCHY]",C_ACCOUNT, "[ID] = %L5% ")
    *SELECT(%LALL%, "[ID]", C_ACCOUNT, "[ID] = %L1%,%L2%,%L3%,%L4%,%L5%,%L6%")  //UNION OF ALL LEVELS
    *XDIM_MEMBERSET AUDITTRAIL = INPUT
    *XDIM_MEMBERSET VERSION = CURRENT
    *XDIM_MEMBERSET AA_NUMBER = AA_NONE
    *XDIM_MEMBERSET TIME_DT = TD_NONE
    *XDIM_MEMBERSET C_ACCOUNT_DT = CAD_NONE
    *XDIM_MEMBERSET C_ACCOUNT = %INADMISSIBLE%     //SCOPE LEAVES ALL POTENTIAL DESTINATIONS FOR MEMBERS IN %PARS%
    *FOR %A% = %PARS%    //LOOP OVER ALL ADMISSIBLE PARENTS
    *WHEN C_ACCOUNT
    *IS L_C_%A%
    *REC( EXPRESSION = [C_ACCOUNT].[%A%], C_ACCOUNT = L_C_%A%)         //SUM UP THE VALUES OF LEAVES AND WRITE THE SUM TO DESTINATION ACCOUNT
    *ENDWHEN
    *NEXT
    screen shot of part of member table for C_ACCOUNT:
    continuation in next reply (I have problems with my text editor)

  • Data acquisition from multiple channels.

    Hello
    Right now, I am able to acquire the signal from a single load cell and display it.But I would like to know of how to acquire  acquire signals from two load cells simultaneously.I am using Labview 6i and I am using AI S-Scan with AI config to acquire the waveform.It would be of great help if you could suggest a simple method to acquire the signals.
    PS: Please find the attached file used for acquisition from a single load cell.
    Looking forward for your reply.
    Manasa
    Attachments:
    test 4.vi ‏102 KB

    Hi Manasa,
    If I understand what you are trying to do, it is relatively
    straightforward to configure your application to acquire data on two channels.
    I was unable to run your vi as it was missing some of the subVI’s
    from your application.  However, your
    attachment was sufficient to see what you are trying to do. 
    Here is how to add channels:
    1.      
    In the I/O Channel Constant, you can add
    additional channels by using a comma or a semi-colon.  For example, to scan the first four channels
    you would put 0:3 in the constant (see attached screenshot ChannelConfig.jpg).  To scan the first and third channel you would
    put 0,2.
    2.      
    The AI Single Scan VI will now read from
    multiple channels.  Often it easiest to
    configure the output of this VI for viewing by first putting the data into an
    array using the Build Array VI.  It can
    then be plotted in a waveform graph. (see attached screenshot ReadtoGraph.jpg
    and WaveFormGraph.jpg)
    Just a few notes about “simultaneous” sampling:
    Most of the NI data acquisition cards have a multiplexer
    between the various input channels and the Analog to Digital (A/D) converter
    creating a very small delay between each channel (usually ms range or
    smaller).  NI does make several data acquisition
    cards that can perform true simultaneous sampling, meaning that there is an A/D
    converter for each channel.
    For the large majority of applications, the small delay
    between channels is negligible.
    Jared T.
    Attachments:
    ReadtoGraph.JPG ‏21 KB
    ChannelConfig.JPG ‏288 KB
    WaveFromChart.JPG ‏61 KB

  • Data Upload from Multiple DataSource

    Hi All,
    How can i upload data from multiple datasources to a single Cube in BI 7??
    Kindly provide step by step procedure.
    Regards.

    Hi,
    In BI 7 you still have both data flows present, You can either use the old 3.5 dataflow or the new BI 7 dataflow.
    SAP has still allowed organizations to use the old 3.5 dataflow till they convert over to the newer flows so that the production dosen't disturb. Its takes some efforts to convert the 3.5 data flows to the 7.0 flows.
    So, the way its usually done is, a technical upgrade is done. Then existing modules are converted over to the 7.0 dataflows in a phased manner. Any newer projects that come along are carried out with the 7.0 functionality.
    Even if you install business content in a 7.0 system, you'll get 3.5 objects. You need to convert them over to the 7.0 versions.
    Cheers,
    Kedar

  • Data Extraction from Multiple data sources into a single Infoprovider

    Hi Experts,
    Can anyone send me links or examples on how to extract data from multiple data sources into 1 Cube/DSO.
    Can anyone send me example scenarios for extracting data from 2 data sources into a single Cube/DSO.
    Thanks
    Kumar

    Hi Ashok,
    Check the following link from SAP help. Ths is probably what you are looking for.
    [ Multiple data sources into single infoprovider|http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    Data from multiple data sources which are logically related and technicall have the same key can be combined into single record.
    For example, if you have Sales order item and sales order item status .
    These both have the same key - sales order and item and are logically related.
    The Sales order item - provides information on Sales order item - material , price, quantity, plant etc.
    The item status  - povides information on delivery status, billing status, rejection status....
    These are two different data sources 2LIS_!1_VAITM ad 2LIS_11_VASTI.
    In case you have few master data attributes coming from different systems ie tow data sources in different systems say completely defines your master data. Then you could use a DSO or infoobject to combine the records.
    If you want to see aggregated data you use a cube.
    ie say you want to analyzae the customer revenue on a particular material and a particular project.
    The project details would come from Project syatem and Sales details fom sales flow.
    The data is then combined in the DSO with key cutomer and sales area say.
    Then it is aggregated at cube level...by not using sales order in the cube model...so all sales order of the same customer would add while loading the cube.. to give direct customer spend values for your sales area at aggregated level.
    Hope this helps,
    Best regards,
    Sunmit.

  • Copy Version-Budget data copied from one version to another-How to view Data in Copied Version.

    Dear All,
    Budget Data is copied from one Version to another Version using Tools>copy Version option. How can you view Data copied to new Version, when you receive a message Version is successfully copied.
    I think we can do that by selecting appropriate version in the version dimension while accessing the Forms or in Smart View.
    Can you please let me know how to do this or different options available with this process.
    Thanks in Advance for your valuable time...

    A form to check the data with the correct POV, a Smart View query, excel addin retrieve, financial report, export data, report script, take your pick.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Data Merge from Multiple image folders

    I'm on a MAC running CS3 and trying import several thousand images via DataMerge that are all housed in different folders.
    It is very difficult to move all the images to a single folder where the Tab Delimited File lives, which I understand is how I'm supposed to use DataMerge.
    Does anyone know who to specify the proper path on a MAC that will recognize my each of my folders and files within? I tried every configuration I can think of and nothing is working.
    for example here are just a few of what I've tried. Nothing works but logic would say that it should am I wrong?
    Mike:Users:Desktop:Images:A:01.jpg
    Users:Desktop:Images:A:01.jpg
    :Mike:Users:Desktop:Images:A:01.jpg
    ../Mike:Users:Desktop:Images:A:01.jpg
    Mike/Users/Desktop/Images/A/01.jpg
    ~Mike:Users:Desktop:Images:A:01.jpg
    ~Users:Desktop:Images:A:01.jpg
    ~Users/Desktop/Images/A/01.jpg
    HELP! Please

    @ Peter thanks for your help.
    I saw some tutorial on youtube that said the file had to be in the images folder and then everything I tried seemed to echo that.
    I also tried the copy path from InDesign from a placed image to no avail. Then the get info (mac trick) from the finder to get the path. also to no avail.
    I even followed Adobe's instructions on the their site
    http://www.adobe.com/designcenter/indesign/articles/indcs2at_datamerge.html
    But what I finally found is that the Tab Delimited file first has to be relative to the filepath specified.
    ie.
    if my images are located in
    /Mac HD/Users/Mike/Images/Art/Round1/01.jpg
    /Mac HD/Users/Mike/Images/Art/Round1/02.jpg
    etc.
    and my text file lives in the Art folder. All I have to specify the path name from Round1 onwards, not back to the root level as I thought.
    so
    /Round1/01.jpg 
    /Round1/02.jpg 
    is all I need to include in the text file

  • Copying from multiple drives...

    Hi everybody,
    I had my ITunes library consolidated over 3 separate drives and everything was working fine... I copied all my files from the Finder into 1 new drive (1 terabytes). I haven't open ITunes yet. What should be my next step now? Should I consolidate or create a new .xml file?
    I hope my question is clear.
    Thanx

    Anybody?...

  • ODS data Load from multiple sources.... Help

    Hello every one,
    I have a situation:
    I have a ODS where out of 150 fields 100 are coming from flat files, 30 from other ODSs and 20 are from Master Data Tables (some are attributes of Master Data InfoObjects).
    I am thinking i can do the following. Please advise if this is fine or if there is any other way of doing it for better performance e.t.c
    1 Load the Flat File Fields based on Flat File DataSource/InfoSource/UpdateRules.
    2. Load the other ODS fields/data in the Start Routine of the above Update Rules ???
    3. Load the Master Data objects through Master Data InfoSources
    Please confirm if i can do this. Also is there any order that i have to maintain for the same..... and finally
    When i declare the Masterdata Object (say 0MATERIAL) as one of my data object in the ODS and some the fields as the attributes of this 0MATERIAL, if some one is already loading data into the 0MATERIAL, should i load again or not, because i remember Master Data stores data in separate tables.. ... Please remove my confusion )
    All useful answers will be given full points.
    Thanks a lot ...

    Hi:
    <i>1 Load the Flat File Fields based on Flat File DataSource/InfoSource/UpdateRules.
    2. Load the other ODS fields/data in the Start Routine of the above Update Rules ???
    3. Load the Master Data objects through Master Data InfoSources</i>
    THe third one is only possible if those InfoObjects are InfoProviders. This is becasue if the I-Objects are direct update, you cannot use those infosources for any other laods but InfoObjects.
    <i>Please confirm if i can do this. Also is there any order that i have to maintain for the same.....</i>
    Order is needed only if th ekey figures are Overwrite and Business Requests the order.
    <i>and finally
    When i declare the Masterdata Object (say 0MATERIAL) as one of my data object in the ODS and some the fields as the attributes of this 0MATERIAL, if some one is already loading data into the 0MATERIAL, should i load again or not, because i remember Master Data stores data in separate tables.. ... Please remove my confusion )</i>
    Didn't understand this part clearly.
    DO you have the Attributes of 0material in ODS and populating thme in ODS?
    Ram C.

  • Data copying in multiple cells

    I transferred a file from a database that will only save reports in Notepad.
    I then, cut and paste the data into Excel. However all of the info is merged
    into one cell. How can I format this data, so that it will be a simple
    worksheet with more than one cell? i.e. Name, SSN, Home address should all be
    in different cells

    In addition, you can use SSIS import/export wizard to export data into Excel:
    http://www.sqlusa.com/bestpractices/ssis-wizard/
    Kalman Toth Database & OLAP Architect
    IPAD SELECT Query Video Tutorial 3.5 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to Load Master Data Text  from Multiple Source Systems

    Situation:  Loading vendor master (text) from two systems.  Some of the vendor keys/number are the same and so is the description.  I understand that if I was loading Attributes, I could create another attribute such a source system id and compound it to 0Vendor.  However, I don't believe you can do the same when loading text. 
    Question:  So, how can I load duplicate vendor keys and description into BW using the *_TEXT datasource so they do not overwrite?
    Thanks!

    Hi,
    Don't doubt, it'll work!
    Sys ID as compound to 0Vendor.
    If you doubt about predefined structure of the *_TEXT datasource and direct infosource, then use a flexible infosource. Maybe you'll have to derive the sys ID in a routine or a formula.
    Best regards,
    Eugene

  • Replication of a data source from multiple logical systems

    Hi experts,
    In our ERP wie run many different clients with correspondong logical systems. When I'm changing a data source in ERP, then I have to replicate this datasource for each single logical system.
    My question :
    Is there a way to replicate a data source for all logical systems belonging to an infos source at once ?
    We are on BW 3.5 SP19.
    Thanks in advance
    Joe

    just another attempt

  • How to creat  Data source from Multiple Tables in   SAP  BI ?

    Hi Experts,
    1. For Finance & Payments MIS   tables are u2013   BSEG, BSIS,BSAS,PYAR ,BKPF
    2. For Inventory tables are           :           MSEG MKPF.
    3. For Invoices MIS   tables are  -          RBKP & RSEG.
    4. For Taxation MIS  tables  are u2013           J_1IEXCHDR, J_1IEXCDTL, J_1IPART2, J_1IPART1
    5. For Master data  tables  are   -    :         MARA, MAKT, LFA1, J_1IMTCHID
    How to creat   individual  Datasource  for   1.Finance & Payemnt Mis , 2. Inventory, 3. Invoices,  4. Taxation , 5. Mater data. ?

    Hi,
    Go for the generic data sources.
    1. first create the view on all the tables.
            You can only use join conditions but not Union.
            you can specify one table as primary table based on your requirement.
    2. build the data source based on the view.
    Regards,
    Siva
    Edited by: sivaramakrishna on Feb 2, 2012 3:54 PM

  • QM master Data copy from one client to another client

    Hi QM guru...
    Kindly suggest me how i will copy all  qm master data  from one client to another client
    QM master Data like....Catlogs. MIC inspection method. sampling...etc
    Kindly suggest me how i will copy all master data
    Thanx
    Regards
    Akil

    Dear Akil,
    I think that LSMW can be of help in this case.
    Otherwise, please check with your ABAPer whether any BDC is there for mass uploading of master data.
    Regards,
    Kaushik

Maybe you are looking for