Multiple Amount Columns

I'm setting up an import format for a text file (to load data into Essbase) that has more than one column with an amount in it. e.g. column 1 is expense dollar amount, and column 5 is hours. the expense gets loaded to the account shown in column 2, and the hours in column 5 get loaded to an account called "Hours".
I have another flat file, with about 12 amount columns, each loading to a different stat account. Same situation.
(before you tell me that I should use a load rule and load to essbase, I know, but we're not doing it that way...)
So my question is, how do I set up the import format to load more than one data column, where I know specifically what the account for the second columns is? I don't mind having to do some scripting, but I might need and example to follow.
thanks.

Awesome SH, Thanks.
I did actually try the datapump approach and your thoughts agree with what I was thinking.
The doc is a bit thin on the following, would you validate or correct me here?:
I create a new datapump script "MyDataPump",
The RES object (containing properties such as location key(PlngLocKey) and category key(PlngCatkey)) is valid in the context of the MyDataPump function
The DW object from which I will access the table [DW.DataAccess.farsTable(strWorkTableName)] is valid in the contet oof the MyDataPump Function
That all being ok, the one thing I still cannot figure out is where I get the name of the table where I'm loading the data (strWorkTableName)? Its passed as an arg in the Integration scripts, but not in the Datapump Script.
Aslo, since I'm updating the table with the data for this extra amount field myself, what value do I return from MyDataPump, and how is it used by the import process that calls the script (IOW since I inserted the record myself, I don't really want FDM to do anything with this field after the script is run.

Similar Messages

  • Issue in FDM Import script for ading multiple amount columns.

    Hi,
    I am trying to import the Multiple amount columns to be addedd and imported as one amount column.Below is the script I am using for the same,script is getting verified in Script editor but When I am trying to Load the File I am gettig an error as below.
    ERROR
    Code............................................. 9
    Description...................................... Subscript out of range
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 8380
    Scirpt
    Function Import_YTD(strField, strRecord)
    'Set variables
    dim strCurmnth1
    dim strCurmnth2
    dim strCurmnth3
    dim strCurmnth4
    dim strCurmnth5
    dim strCurmnth6
    dim strCurmnth7
    dim strCurmnth8
    dim strCurmnth9
    dim strCurmnth10
    dim strCurmnth11
    dim strCurmnth12
    dim strCurAmount
    strCurmnth1 = Trim(DW.Utilities.fParseString(strRecord, 20, 9, ","))
    strCurmnth2 = Trim(DW.Utilities.fParseString(strRecord, 20, 10, ","))
    strCurmnth3 = Trim(DW.Utilities.fParseString(strRecord, 20, 11, ","))
    strCurmnth4 = Trim(DW.Utilities.fParseString(strRecord, 20, 12, ","))
    strCurmnth5 = Trim(DW.Utilities.fParseString(strRecord, 20, 13, ","))
    strCurmnth6 = Trim(DW.Utilities.fParseString(strRecord, 20, 14, ","))
    strCurmnth7 = Trim(DW.Utilities.fParseString(strRecord, 20, 15, ","))
    strCurmnth8 = Trim(DW.Utilities.fParseString(strRecord, 20, 16, ","))
    strCurmnth9 = Trim(DW.Utilities.fParseString(strRecord, 20, 17, ","))
    strCurmnth10 = Trim(DW.Utilities.fParseString(strRecord, 20, 18, ","))
    strCurmnth11 = Trim(DW.Utilities.fParseString(strRecord, 20, 19, ","))
    strCurmnth12 = Trim(DW.Utilities.fParseString(strRecord, 20, 20, ","))
    If strCurmnth1="" Then strCurmnth1="0" End If
    If strCurmnth2="" Then strCurmnth2="0" End If
    If strCurmnth3="" Then strCurmnth3="0" End If
    If strCurmnth4="" Then strCurmnth4="0" End If
    If strCurmnth5="" Then strCurmnth5="0" End If
    If strCurmnth6="" Then strCurmnth6="0" End If
    If strCurmnth7="" Then strCurmnth7="0" End If
    If strCurmnth8="" Then strCurmnth8="0" End If
    If strCurmnth9="" Then strCurmnth9="0" End If
    If strCurmnth10="" Then strCurmnth10="0" End If
    If strCurmnth11="" Then strCurmnth11="0" End If
    If strCurmnth12="" Then strCurmnth12="0" End If
    'Calculate the YTD Amount
    strCurAmount = CDbl(strCurmnth1) + CDbl(strCurmnth2) + CDbl(strCurmnth3) + CDbl(strCurmnth4) + CDbl(strCurmnth5) + CDbl(strCurmnth6) + CDbl(strCurmnth7) + CDbl(strCurmnth8) + CDbl(strCurmnth9) + CDbl(strCurmnth10) + CDbl(strCurmnth11) + CDbl(strCurmnth12)
    Import_YTD =strCurAmount
    End Function

    Hi,
    how many columns has your file?
    that error means you are trying to access an invalid position.
    Regards

  • Importing multiple amount columns from a single text file

    I'm sure this question has been addressed many times. I have tried to search for an answer here and other areas, but I have not been able to find a clear answer yet. I am relatively new to HFM and FDM and thus do not have a lot of experience to fall back on. I am primarily a Planning/Essbase person. That being said, here is my question:
    I have a data source (text file) containing two amount columns that I need to load to HFM via FDM. One amount column consists of Average Exchange Rates and the other amount column consists of Ending Exchange Rates. I have been asked to develop a process to load both columns of data to HFM using a single process (one Import Format). I've been told this is possible by writing an Import DataPump script. It seems that I would need to create a temporary record set based on the original source file and modify it so that it contained a duplicate set of records where the first set would be used for the Average Rate and the second set would be used for the Ending Rate. This would be a piece of cake using SQL against a relational source, but that's obviously not the case here. I do have some experience with writing FDM scripts but from an IF... Then... Else... standpoint based on metadata values.
    If there is anyone out there that has time to help me with this, it would be most appreciated.
    Thanks,

    This is relatively easy to achieve with a single import script associated with the Account source field (assuming AverageRate and EndRate are accounts in your application) in your import format.
    Essentially your first amount say AverageRate would be set as the default field for Amount and these values would be loaded as if it were a single value file. For the second value, EndRate you would have to insert the second value directly into the FDM work table which is the temporary table populated when data is imported from a file during the import process. The example code snippet below suld gve you guidance on how this is done
    'Get name of temp import work table
    strWorkTableName = RES.PstrWorkTable
    'Create temp table trial balance recordset
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    If IsNumeric(EndRateFieldValue Ref Goes Here) Then
              If EndRateFieldValue Ref Goes Here <> 0 Then
                   ' Create a new record, and supply it with its field values
                   rsAppend.AddNew
                   rsAppend.Fields("DataView") = "YTD"
                   rsAppend.Fields("PartitionKey") = RES.PlngLocKey
                   rsAppend.Fields("CatKey") = RES.PlngCatKey
                   rsAppend.Fields("PeriodKey") = RES.PdtePerKey
                   rsAppend.Fields("CalcAcctType") = 9
                   rsAppend.Fields("Account") = "EndRate"
                   rsAppend.Fields("Amount") = EndRateFieldValue Ref
                   rsAppend.Fields("Entity")=DW.Utilities.fParseString(strRecord, 16, 1, ",")
                   rsAppend.Fields("UD1") = DW.Utilities.fParseString(strRecord, 16, 2, ",")
                   rsAppend.Fields("UD2") = DW.Utilities.fParseString(strRecord, 16, 3, ",")
                   rsAppend.Fields("UD3") = DW.Utilities.fParseString(strRecord, 16, 16, ",")
                   'Append the record to the collection
                   rsAppend.Update
              End If
    End If
    'Close recordset
    rsAppend.close
    In addition the return value of this Import Script should be "AverageRate" i.e. name of ht eaccount associated with the first value field. The NZP expression also needs to be put on the Amount field in the import format to ensure that the EndRate Field value is always processed even if the value of AverageRate is zero.

  • FDM- Loading Multiple Amount Column

    Hi All,
    Can anyone help me in building the logic of an import format script to get the below output file from the input file shown below.
    Thank you so much in advance.
    Input file
    Production
    Rate
    Quantity
    Jan
    CC
    Region
    Prj1
    FY12
    44880.00
    68.00
    660.00
    Jan
    CC
    Region
    Prj2
    FY12
    31050.00
    45.00
    690.00
    OutPut file
    Jan
    CC
    Region
    Prj1
    FY12
    Production
    44880.00
    Jan
    CC
    Region
    Prj1
    FY12
    Rate
    68.00
    Jan
    CC
    Region
    Prj1
    FY12
    Quantity
    660.00
    Jan
    CC
    Region
    Prj2
    FY12   
    Production
    31050.00
    Jan
    CC
    Region
    Prj2
    FY12
    Rate
    45.00
    Jan
    CC
    Region
    Prj2
    FY12
    Quantity
    690.00
    Thanks..

    You need two import scripts, one where you get the value of the other amounts you wish load to FDM for output and a 2nd to manually insert/append that 2nd amount into the current FDM worktable during the import process. The FDM admin guide covers the scripting concepts required to achieve this and although not exactly what you are looking for it should give you a good starting point for developing a solution to achieve what you want.

  • Loading multiple data columns in reserved sign

    Hello,
    Is there a setting to load multiple data columns in reserved sign?
    Thanks,

    Hi Liana,
    To use that formula, you should use CONVERTAMOUNTWDIM  option.
    This options default value is Account dimension but if you want to use different dimension, you should use that dimension name. I guess Building A_65432 is not an account member then you should use below option in the transformation file.
    CONVERTAMOUNTWDIM = dimension name
    This option specifies which dimension to look at for value calculations. You must specify a dimension conversion sheet using the Amount Conversion option. For more information about conversion files, see Data Conversion Maintenance. If there is no formula in the Formula column of the Amount conversion sheet, this parameter has no effect. For example, if the Formula column has the following formula: <value>1.10, all accounts are increased by 10% during the conversion.
    I hope it will help you.
    Regards,
    James Lim

  • How do you import CSV, tab, and OFX files into multiple Numbers columns

    This Apple function from Numbers '08 Help "Importing a Document" does not seem to work:
    "You can create a new Numbers spreadsheet by importing a document created in Microsoft Excel or AppleWorks 6. Numbers can also import files in comma-separated value (CSV) format, tab-delimited format, and Open Financial Exchange (OFX) format."
    No amount of experimenting with Import, Export, Save As, Paste and Match Style, or using other applications will enable importing CSV, tab, or OFX files into multiple Numbers columns. Instead, all data is imported into a single Numbers column, which then has to be manually and tediously parsed one data element at a time into columns, one row, and one column at a time.

    Jerrold Green1 wrote:
    Joe,
    They all have worked here. I'm not presently able to try in Numbers 08, but I know I've done them all.
    Just double-clicking a .csv file will open Numbers and display the data in a table. Dragging a .csv file to your Numbers icon on the Dock will open it as a Numbers table. Dragging it to a Sheet in an open Numbers document will make a new table in an existing document, and dragging to a table will insert the csv file into the table you dropped it into.
    CAUTION
    With Numbers '08, CSV files must use the comma as delimiter on every setting of decimal separator.
    Numbers '09 behave differently.
    With your tab-delimited file open in a word processor, copy it, then paste it into a table in an open Numbers document. When doing this, select a cell in the table, but don't double-click into the text field of the cell, then paste.
    Why use this long road when we may import directly Tab Separated Values file (tsv.txt) with Numbers '08 (or '09) ?
    Yvan KOENIG (VALLAURIS, France) jeudi 2 décembre 2010 21:05:36

  • About settlement, asset master data's amount column value

    Dear Experts,
    I  build an aseet master data :   A (the amount column's value is 0 in asset master data)
    Then, I build an asset purchase order  assign to A , after I  do GR,  A's amount column's value change to 1.
    But if as follows,
    I  build two asset master data :  B and C ,
    B's asset catalog is 167200(prepay for equipment) , c's asset catalog is 153100 (normal fixed asset)
    Then , I build an asset purchase order assign to B, then do GR , B has amount 1, and then ,
    I  do t-code: AIAB , settlement B to C , I found B's amount column's value still show 1 , and C is still 0 ,
    but the asset value certainly has transfer  from B to C......
    why B's amount column's value doesn't be changed?
    I can't figured out.
    Thanks a lot in advance.
    Best Regards,
    Yacoa
    Edited by: Yacoa Chen on Mar 15, 2011 9:14 AM

    Hi
    If B is still showing value - It means values are not settled
    After AIAB - You need to run AIBU to settle the values.. Did you run AIBU??
    Br, Ajay M

  • How to load data into Planning/Essbase from multiple data column

    Dear All,
    I have a interface file which contains multiple data column as follows.
    Year,Department,Account,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
    FY10,Department1,Account1,1,2,3,4,5,6,7,8,9,10,11,12
    FY10,Department2,Account1,1,2,3,4,5,6,7,8,9,10,11,12
    FY10,Department3,Account1,1,2,3,4,5,6,7,8,9,10,11,12
    I created a data rule to load these interface file.
    I want to use ODI to upload this interface. I try to specify the rule name in ODI and run the interface.
    But, it came out following errors.
    2010-02-22 11:40:25,609 DEBUG [DwgCmdExecutionThread]: Error occured in sending record chunk...Cannot end dataload. Analytic Server Error(1003014): Unknown Member [FY09,032003,910201,99,0,0,0,0,0,0,0,0,0,0,0,0] in Data Load, [1] Records Completed
    Any idea to fix the column, I sure the member name is correct as I can load data from data load rule correctly.
    Thanks

    Dear John,
    I updated the data load rule delimter to "," and found different error message as follows.
    'A910201.99','HSP_InputValue','HKDepart','No_WT','032003','NO_Lease','FY09','Actual','Final','Local','0','0','0','0','0','0','0','0','0','0','0','0','Cannot end dataload. Analytic Server Error(1003014): Unknown Member [0] in Data Load, [1] Records Completed'
    It seems that the data load rule can recognize the some member except the figures of Jan to Dec..
    thanks for your help

  • In PO invoice tab select tax code shown amount column KOMV-KBETR as 100%

    Hi,
    In PO invoice tab select tax code shown amount column KOMV-KBETR as 100% we need as 10% my alculation is correct but showing only 100%
    i have assigned tax rate in j1id as 10% and Ftxp as same tax code as 100% and condition is JM02 as non-deductable.
    in PO condition value is showing as 10% correct value but showing in amount column as 100%
    Please suggest
    Thanks
    Shital

    No reply

  • Hide Amount column in COR3 cost analysis report

    Hi Expert,
    We need to hide the amount column in COR3 when user go to costs -> analysis.  Because we don't want PP user to see the cost informant but the need to see the quantity for actual and plan to make sure goods issue is really complete.  Would you please advise how to achive this purpose?
    Thanks and Best Regards,

    hi gimmo,
    thanks for the quick reply.  however, i think this is only possible if i am using a structure in my rows, because there i can specifically assign the appropriate calculated key figure to use.  i need to use the hierarchy because we'd like to present the report down to the account number level.
    thanks

  • Outstanding Amount Column in AR Report

    Hai,
    Please let me know from which table or view the data is getting populated in the Outstanding Amount column of the Ageing-7 Buckets report in Accounts Receivables.
    Thanks in advance.
    A.Mohammed Rafi.

    check the Build_Customer_Select formula in ARXAGMW report.
    It's checking from ar_adjustments_all_mrc_v and ar_payment_schedules_all_mrc_v.
    The complete query is there which I believe it's quite complicated.. good luck :-)

  • Amount Column not showing up in Work Order

    Hi,
    We use SAP Business One 2007A. We have a work order program which is an add-on. When viewing a list of work orders or when viewing open items list for work orders, the amount column does not show up. I tried everything with the format settings and it wont work. Any solutions to this?
    Please let me know..
    Thank you,

    Hi,
    Welcome you post on the forum.
    What add-on is this? Is this open item list for work orders by the add-on?
    Thanks,
    Gordon

  • Need Amount column to be Right Aligned in LOV asap

    Hi,
    I have a amount column in a custom LOV which needs to be right aligned. but in LOV, by default all columns come as left aligned..Pls provide a solution asap.
    Thanks,
    Puneet

    The column alignment depends on the type of data it displaying. Number columns are right aligned and string column are left aligned. this is default behaviour.
    Change datatype of column amount to Number. It will allign right.
    Thanks,
    Ram

  • Partially amount column blank

    Dear friends
    After making the partial payment to vendor against one invoice, if  i am going to make another payment to same vendor against the same invoice thorugh f-53 if see the partilally paid amount column it should show the previousl paid partial amount but it shows blank.can any one can help me
    regards
    venkat

    Hi
    In the open items selection screen, click on Editing Options and check the Include Invoice Reference field. Hope this works.

  • Report Amount Column Question

    This is a silly question I'm sure but in terms of calculating the amount column in a report should you just calculate it by taking all the debit / credit balances for all P&L accounts or is there some other method typically used?  Also can someone confirm the following?
    P&L
    debit balance = positive (expenses), credit balance = negative (revenue)
    Edited by: Hari Nair Junior on Jun 5, 2009 1:17 AM

    HI
    P&L = Sales/ Revenue   Minus Expenses
    Yes , debit balance = positive (expenses), credit balance = negative (revenue.
    Please note that you need to consider only P&L type account of a list of GL Balances . Other accounts will be of the Balancesheet . Where Debit will be Assets and Credit will be liabilities.
    Hope this helps
    Regds
    Rajiv

Maybe you are looking for

  • Spry Data needs to popluate 2 widgets on the fly

    I have thrown together two spry widgets that should populate with XML data based on what is selected from a form control. -Based on what is selected from the from control, the tabbed menu should update it's tabs and content. -In the tabbed menu conte

  • Problem with Live DVR in REOPS

    Hi all: I am currently modifying REOPS to make a custom player with markers, btw if anyone has an example of a player with timeline markers it would be great if you can post the link. Now back to the problem, it seems to be a MediaFactory problem. Wh

  • LENOVO, please "FIX" your fixes!

    Let me first say that the problem happened before and I spent over 2 hrs on the phone with tech support who eventually "fixed" it by downloading outdated version of SW. Today I noted  the same problem: Fn key on-screen display does not work: nothing

  • IWeb doesn't allow me to open an old site folder

    Hello everybody recently I had to reinstall my software on my MacBook Pro. I've created two sites, located in user/Sites, but, when I open iWeb, it wants me to create a new site!! I'm unable to put the folders of my old sites in iit in order to modif

  • Adobe flash player CPU usage

    I recently purchased MacBook Pro with retina display , I use Adobe flash player a lot , and it takes a lot of my computer's CPU percentage , how can I reduce the CPU usage ? Is there any adjustable resolution ( for flash player ) that I can reduce ?