Excel Expression in Import Format

Hi,
Has anyone used Excel Expression in Import Format? Trying to figure out how it works, appreciate any help.
Thanks.

The Expression Field of the import format is limited to one of the built in FDM Expressions such as (FILL=EurotoUS), a hard coded value, or a import script name

Similar Messages

  • Skip a member in import format

    Hi All,
    I'm creating an import format for a location to load a csv file.
    In that I need to skip an entity(actually 20+ entities) related data while importing.
    But "SKIP" is not working here.
    FIELD NAME          FIELD NUMBER          NUMBER OF FIELDS          EXPRESSION
    Skip                         3                              4                                        2219
    Above combination is not working while import. All record with 2219 got loaded and failing at validation.
    Is "SKIP" mentioned for the same purpose?
    Is there any possiblity to skip a particular combination member as well using SKIP? (EX:- abcdxx1234, ijklxx5678 - member contains xx should be skipped)
    Target is Planning Application, Adapter ES 11x-G4-H
    Facing one more issue.
    This is first time i'm using essbase adapter.
    When I try to import map, import completed successful from excel. But no map got updated.
    Map not getting updated even with a single member.
    Thanks in advance.

    Those entities should be skipped as long as the value 2219 is found in Field3 so it must not be matching 2219 against any values in that field. Are you sure there are no whitespace characters in the source field? Another option would be to map the Entity 2219 (and other entities you are not interested in to a target of IGNORE in youe Entity mapping. You can Skip based on a particular combination but this would require an import script to define the more complex criteria and execute the skip.
    In terms of your mapping import issue are you sure that the Location ID specified in your Excel mapping template actually corresponds to the Location ypou are trying to import the maps to? 

  • Exporting data from table to Excel in a particular format using BSP.

    Hello all,
          I am creating a application in BSP  wherein i have to export data to excel sheet.
      I am able to do that but the output in excel sheet is not formatted. it is displaying the data in a single 
    column. For example, the internal table which i am exporting to excel contains fields "product
    name", "area name", country name", "values". all these should be displayed in different columns.How 
    can i achieve this functionality.A sample code will be of great help..
    Below is the code i hav written for exporting to excel :
         data: l_len type i,
               l_string type string,
               app_type type string,
               file_content type xstring,
               file_mime_type type string.
         create OBJECT cached_response TYPE cl_http_response EXPORTING add_c_msg = 1.
         cached_response->set_data( file_content ).
         cached_response->set_header_field(
                          name = if_http_header_fields=>content_type
                          value = file_mime_type ).
    LOOP AT itab_xls INTO wa_xls.
       CONCATENATE L_STRING wa_xls-product_name
       wa_xls-area_name
       wa_xls-landx
       CL_ABAP_CHAR_UTILITIES=>CR_LF INTO L_STRING SEPARATED BY SPACE.
    ENDLOOP.
      APP_TYPE = 'APPLICATION/MSEXCEL; charset=utf-16le'.
      data: l_xstring type xstring.
    call function 'SCMS_STRING_TO_XSTRING'
        exporting
          text = l_string
          MIMETYPE = 'APPLICATION/MSEXCEL; charset=utf-16le'
        IMPORTING
          BUFFER = l_xstring.
    Add the Byte Order Mark - UTF-16 Little Endian
      concatenate  cl_abap_char_utilities=>byte_order_mark_little
                   l_xstring
                   into l_xstring in byte mode.
       cached_response->set_data( l_xstring ).
       cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = 'APPLICATION/MSEXCEL; charset=utf-16le' ).
    *Set the filename into the response header
       cached_response->set_header_field( name  = 'Content-Disposition'
                                  value = 'attachment; filename=gkb_excel.xls' ).
    *Set the Response Status
       cached_response->set_status( code = 200 reason = 'OK' ).
    *Set the Cache Timeout - 60 seconds - we only need this in the cache
    *long enough to build the page and allow the IFrame on the Client to request it.
       cached_response->server_cache_expire_rel( expires_rel = 60 ).
        CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = guid.
        CONCATENATE runtime->application_url '/' guid '.xls' INTO url.
        cl_http_server=>server_cache_upload( url      = url
                                           response = cached_response ).
    Can anyone help me with some solution.
    Thanks in advance.
    Gurmahima.

    the issue is here
    LOOP AT itab_xls INTO wa_xls.
    CONCATENATE L_STRING wa_xls-product_name
    wa_xls-area_name
    wa_xls-landx
    CL_ABAP_CHAR_UTILITIES=>CR_LF INTO L_STRING SEPARATED BY SPACE.
    ENDLOOP.
    instead do the following
    LOOP AT itab_xls INTO wa_xls.
    CONCATENATE L_STRING wa_xls-product_name ','
    wa_xls-area_name  ','
    wa_xls-landx  ','
    CL_ABAP_CHAR_UTILITIES=>CR_LF INTO L_STRING .
    ENDLOOP.
    and then change the file name extension from xls to csv. it should open properly in excel.
    Note that this is only excel csv file. if you want a proper excel excel file, then
    option one: build a html table with your data into a string and pass it to excel
    option 2: build excel xml using your data into a string and pass it to excel.
    Regards
    Raja

  • Import Format for Separte Debit and Credit Columns (comma delimited file)

    I have a file that is comma delimited with a sparate debit column and a separate credit column:
    Sample:
    Ent,Acct,description,Dr,Cr
    ,1000,test,100,
    ,110010,another test,,100
    My import format is this:
    Comma delimited
    Field Number Number of Fields Expression
    Entity 1 5 SGB_ABC
    Account 2 5
    Amount 5 5 Script=DRCRSplit_Comma_Del.uss
    I've tried writing the following script to pull the amount from the debit column into the credit column but it just skips the lines with no amount in field 5.
    'Declare Variables
    Dim Field4
    Dim Field5
    'Retrieve Data
    Field4 = DW.Utilities.fParseString(strRecord, 4, 4, ",")
    Field5 = DW.Utilities.fParseString(strRecord, 5, 5, ",")
    'If Field4 has a value then fld 5 is to equal fld 4.
    If IsNumeric(Field5) Then
    Field5 = Field5
    Else
    Field5 = Field4
    End If
    'Return Result into FDM
    SQFLD5 = Field5
    End Function
    Can anyone tell me what I am doing wrong?
    Thanks!

    I got it to work using this script:
    Function DRCR_Comma_Del(strField, strRecord)
    'Hyperion FDM DataPump Import Script:
    'Created By:     testuser
    'Date Created:     7/22/2009 9:31:15 AM
    'Purpose: If Amount is in the DR column move it to the CR amount column.
    Dim DR
    Dim CR
    DR = DW.Utilities.fParseString(strRecord, 5, 4, ",")
    CR = DW.Utilities.fParseString(strRecord, 5, 5, ",")
    If IsNumeric(DR) Then
    strField = DR
    Else
    strField = "-" & CR
    End If
    DRCR_Comma_Del = strField
    End Function

  • FDM Import Format Spec with multiple Amount Fields

    Hello,
    I'm in the process of setting up an Import specification for one of our sites and the source extract consists of the following fields:
    Source Account Description BegBalDR BegBalCr YTDDR YTDCR
    01-511-5110     Inventory Adjustment     1,754.00     0     0     14,844.76
    I'm am trying to Import Field 5 & 6 and net them if necessary (example: YTDDR - YTDCR) and I continue to get an error. I have tried several diffrent ways but it seems that I can only import one or the other. After reading the FDM Admin guide I am wondering if I need to create a custom Script to accomplish this task.
    Any advice would be appreciated.
    Thank you,
    Tony

    This might be slightly complicated, but I think its the most direct solution ........
    Step 1 -
    In your Import Format, assign the Amount as :
    FieldName, Start, Length, Expression
    Amount, 1, 1, Script=NetAmounts5and6.uss
    Step 2 -
    Create an Import (DataPump) script called NetAmounts5and6 with the following code :
    Function NetAmount5and6(strField, strRecord)
    'Hyperion FDM DataPump Import Script:
    'Created By:     cbeyer
    'Date Created:     2/13/2009 5:57:14 PM
    'Purpose:
    'Get the last two fields
    Dim tmpRecord
    Dim strCurrentChar
    Dim strYTDCR
    Dim strYTDDR
    Dim x
    'Initialize fields
    tmpRecord = strRecord
    'Ensure we have data
    If Trim(tmpRecord) = "" Then Exit Function
    strYTDCR = ""
    strYTDDR = ""
    'Get YTD CR
    'One could use the replace command to change all spaces to a delimittable field and then
    'split out the string into a one dimensional array using the split command; however,
    'This would only work best if there is an exact number of spaces between the two numbers
    'Since I do not know if this is true, instead i'm looking for numeric/numeric like characters
    'and splitting based off of that.
    For x = Len(tmpRecord) To 1 Step -1
    strCurrentChar = Mid(tmpRecord,x,1)
    If (IsNumeric(strCurrentChar) Or strCurrentChar = "$" Or strCurrentChar = "." Or strCurrentChar = "," ) Then
    strYTDCR = strCurrentChar & strYTDCR
    Else
    Exit For
    End If
    Next
    'Trim down temporary record holder to remove the previous found amount and white space at the end of the string
    tmpRecord = RTrim(Left(tmpRecord,x)) 'Remove the first number from the string and white space
    'Get YTD DR
    For x = Len(tmpRecord) To 1 Step -1
    strCurrentChar = Mid(tmpRecord,x,1)
    If (IsNumeric(strCurrentChar) Or strCurrentChar = "$" Or strCurrentChar = "." Or strCurrentChar = "," ) Then
    strYTDDR = strCurrentChar & strYTDDR
    Else
    Exit For
    End If
    Next
    'do the math
    If IsNumeric(strYTDCR) And IsNumeric(strYTDDR) Then
    NetAmount5and6 = strYTDDR - strYTDCR
    Else
    NetAmount5and6 = 0 'This will cause the record to fail on import
    End If
    End Function

  • Skip in import format

    Hi Everyone
    We have a requirement our source file is CSV file ( Delimter file) in that we have below records
    Account     Currency        Costcenter          Amount
    1001         USD              C001                  1000
    1002         INR               C002                   2000
    1003         EUR             C003                   3000
    From the above data we want only USD  data records  to be imported in FDM .like this
    1001     C001       1000
    In import format i have used skip  and  i have written import script  for Skip like this
    Dim strAccount
    'Store first value of account
    strAccount = strField
    'Check to see if value is empty
    If strAccount = "INR","EUR' Then
    'Skip Line
    Res.PblnSkip=True
    Else
    AccountEmptySkip=strAccount
    End if
    End Function
    When i am importing its importing all the records . its not skipping INR and EUR records
    Can anyone help me in resolving this

    Thanks for the quick reply SH
    We don't have currency dimension Filed in the import format. below are examples of our source file and import format
    Currency column is in source file , but it will not be in import format
    Account     Currency        Costcenter          Amount
    1001         USD              C001                  1000
    1002         INR               C002                   2000
    1003         EUR             C003                   3000
    Field Name            Field  Number    Numberof Fields           Expression
    Account                    1                      4
    CostCenter                3                      4
    Amount                     4                       4
    Skip                          2                       4                             Script=Skip.uss
    After your reply i have corrected my script and written below script
    Dim strSkip
    strSkip = strField
    If strSkip = "INR" OR strAccount = "EUR' Then
    SelectCADLines=strSkip
    Else
    Res.PblnSkip=True
    End if
    now also its importing all the records it not skipping INR AND USD records data
    Can you please explain me now how to resolve this issue

  • Import Format in FDMEE

    Hi i am trying to import data from text file to  FDMEE to Essbase
    We have 11 Dimensions in Essbase  Application
    Account
    Entity
    Period
    Year
    Line Item
    Customer
    Division
    PCNT
    Version
    Scenario
    Currency
    But in the text file we have only 6 dimension including  amount ie :  Account,Entity,Line Item,Customer,Division, Amount.
    We dont have  PCNT, VERSION,CURRENCY  (Period,Year,Scenario,it will pick from POV so i have not mentioned it )
    Now i want to import it to FDMEE
    can anyone help me in this ?
    Thanks

    Thanks F.Amores
    Once i have selected import format in FDMEE i am able to see all the dimension members in Import format  like below in FDMEE
    According to our source file i have mentioned filed numbers and tried to load then it did not imported in FDMEE
    Source Column       Field Number         Expression                          Target
    Account                    1                                                                         Account (1)
    Entity                        2                                                                         Entity (2)
    Period                                                                                                  Period (3)
    Year                                                                                                    Year (4)
      Line Item                  3                                                                         Line Item (5)
      Customer                  4                                                                         Customer(6)
      Division                     5                                                                         Division(7)
      PCNT                                                                                                   PCNT(8)
      Version                                                                                                Version(9)
      Scenario                                                                                               Scenario(10)
      Currency                                                                                               Currency(11)
       Amount                     6                                                                         Amount(12)
    In our Data file we have below combination
    Account, Entity,LineItem, Customer,Division,1000
    we dont have PCNT, VERSION, CURRENY, PERIOD,YEAR ,SCENARIO
    can u explain what i need to mention in the blank file numbers ?

  • Excel Spreadsheet Journal Import

    I'm trying to debug an issue related to using the Excel Spreadsheet Journal Import. Where does the validation take place? I'm using Financial 9.0. But what actually happens when you click the import button? It looks like an XML message is sent. Does anyone know if this happens and if so what the name of the message is that is supposed to handle the incoming message??
    Thanks all in advance!!

    Michael Witherell wrote:
    Kathleen,
    No, Data Merge won't do. The context of need in this case is placing an Excel spreadsheet into InDesign; with Show Import Options turned on; with the workflow idea of bringing it in unformatted; yet applying a pre-made TableStyle to it.
    It turns out in this case that you have to follow up with selecting the first row (the header row) and clicking on Table > Convert (something or other) and choosing Header, thus turning the header row into a mechanically-repeating row (as in the case of a very long table that flows over more than one page).
    You can do this in advance if it is a Word doc table. That is, it can be set in Word before placing. Apparently you cannont do so in advance in Excel.
    Therefore, upon placing, the TableStyle appears to fail to some degree until you catch up with the Header Row conversion.
    Best to you,
    Mike Witherell in Alexandria, VA
    I'm not sure if this would help:
    * Create the heading row content on the master page, either as literal text in a text frame, or as a text variable.
    * Use Data Merge multiple records per page mode on the body page.
    This creates a pseudo table heading above the merged data on each new page. You'll have to adjust the height, vertical justification, and text wrap when defining the master page text frame text wrap to force the merged data to begin below it on the page.
    If you truly need a table, perhaps because some column content needs to wrap within cells, then "never mind." But if that's not the problem, perhaps nested and GREP styles could manage the formatting you need.
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How to create Import format for building  version Hirerarchy and Node

    Hi
    i Want to know  how to create  Import format for building version  Hirerarchy and Nodes.Can anyone  show me with example  or format  for version  Hierarchy  with few nodes for the hierarchy
    i Want to Build   this   1. Version1 (Version)
                                     2.Account (Hirerarchy)
                                     3. Balancesheet (Limb)
                                     4. Assets (Limb)
                                     5. Cash (Leaf)
    Thanks,

    Please follow the DRM User Guide,
    http://docs.oracle.com/cd/E17236_01/epm.1112/drm_user.pdf
    Below is my preferred approach, by selecting only relation and Hierarchy sections,
    The relation section contains the Node Name and Parent Name ( you can include any other properties, but as a best practice keep the Parent Node as the last column).
    The Hierarchy ( Hier ) section contains the Hierarchy Name, Top Node and Hierarchy description
    Follow the Import steps and provide a Name for the version.
    ++++++++++++++++++++++++++++++++
    [relation]
    AC_BalanceSheet AC_Account
    AC_Asset AC_Account
    AC_Cash AC_Account
    [hier]
    Account AC_Account AccountHier
    ++++++++++++++++++++++
    Note: Please delete all the special characters (TAB) created at the end of  [relation] and [hier] sections while you copy the content from an Excel sheet to a Notepad.

  • FDM Import Format DR CR

    Hi,
    I am working with a comma delimited file and would like to create an import format. Debit and Credit amounts appear in separate columns. Is it possible to use the DRCR Split expression with a delimited file? If not, can anyone suggest an alternative?
    I look forward to hearing from you.
    Thanks

    Hello,
    The DR/CR split is only for fixed formatted files.
    You will need to use some custom scripting on the 'Amount' field to check for the value in the appropriate position and then import the desired value.
    Thank you

  • Exporting file to oracle financial analyzer using Excel "Express Add In ?

    i want to export database oracle using "Excel Add-in Express",at present i have to convert the database to PRN/TXT.FILE first before loading it to oracle financial analyzer (via Loading Menu) .Can I use the Excel Express Add In facility to export file (Excel Format) directly to Oracle Database (financial Analyzer) without converting the database to TEXT FILE ?

    i want to export database oracle using "Excel Add-in Express",at present i have to convert the database to PRN/TXT.FILE first before loading it to oracle financial analyzer (via Loading Menu) .Can I use the Excel Express Add In facility to export file (Excel Format) directly to Oracle Database (financial Analyzer) without converting the database to TEXT FILE ?

  • Amount from 2 different columns. import format?

    Hi all,
    Im trying to import amounts from 2 different columns. If accounts are "123" or "234" or...etc
    Then pull from column
    else use column 9
    can this be done in one import script? I want to know if I can assign import format amount to column 5 but only get the accounts asked for. else use column 9.
    thanks

    I made something like this, and assigned it to an amount column with all the amounts. Does it make sense?
    Function This_Code (strField, strRecord)
    Dim Account
    Dim Ammount
    'Field instead of strRecord
    account = DW.Utilities.fParseString(strField, 12, 5, ",")
    Amount = DW.Utilities.fParseString(strField, 12, 11, ",")
    If Account = "123" or Account = "456" Then
    Amount = This_Code
    End If
    Edited by: tyson33 on Jun 28, 2012 10:11 AM

  • FDM Fixed-Width Import Format & Multiple Accounts/Periods Issue

    Hi FDM experts,
    I have an issue that I wanted to reach out to you on regarding fixed-width import formats and how to cater for my current scenario for export to Hyperion Planning.
    I am working with a flat file (.txt) I need to import to FDM with the current format;
    A
    B
    C
    D
    E
    F
    G
    Z
    Year
    Channel
    Product
    Jan-MTD-Account 1
    Jan-MTD-Account 2
    Jan-YTD-Account1
    Jan-YTD-Account2
    Dec-YTD-Account2
    2013
    Channel_1
    Product_1
    1000
    2000
    1000
    2000
    10000
    These are all fixed in width so the field lengths will need to be defined in the import format. The requirement for loading to the system is only a speciifc Month YTD value for both Account1 and Account 2.
    If my chosen Month is 2013 Jan, I will only require columns F and G to be loaded. These are the issues I have identified;
    Can a fixed width import format cater for loading to multiple accounts in the same file? Or would I need a separate import format per account?
    Can a fixed width import format cater for loading to a variable Actual Month period? Or do I need 12 import formats/locations per month?
    Your help is much appreciated!
    Many thanks
    Aaron

    Hi Aaron,
    the solution you are looking for needs pivoting your source file.
    Think that FDM, by default, only accepts files with one single column for amount. You have to pivot your file based on your logic and import the pivoted file.
    For example:
    Year     Channel     Product     ... Jan-YTD-Acc1     Jan-YTD-Acc2 ...
    2013     CH1          PR1               1000                    2000
    If your POV is Jan-2013, your data imported will look like:
    Year     Channel     Produc     Account     Amount
    2013     CH1          PR1          ACC1          1000
    2013     CH1          PR1          ACC2          2000
    All this process can be automated by playing with Import Scripts.
    HTH

  • Multiple FDM Import Formats for One Location

    I want to import trial balance data directly from the Oracle Financials database. I'm creating an import integration script to pull the ledgers directly via a SQL statement. My issue is that I also want to be able to write scripts to modify each individual field on the import, similar to a delimited import script where I can have a script for each dimension. Do you know if it's possible to combine import integration and delimited scripts in a single location? I'm guessing it may be a combination of the Import Format and Integration Options settings on the location, but I'm not sure which one should go where. Any help would be greatly appreciated.

    This is not possible. Any adjustments to the data would need to be done within the integration script.

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • How to convert character value to_date?

    I want to change the time (hours) in sysdate to '10' and then save this new date into a date column for that i've written the following command (TO_CHAR(SYSDATE,'DD-MON-RRRR')||' 10:'||TO_CHAR(SYSDATE,'MI:SS AM'))this command will remove the actual h

  • How Put the computer to sleep with a "F key?

    Hi, How do you Put the computer to sleep with a "F key? I do remember seeing a version of osX where there was a (say) "F2" key next to the Apple>Sleep pull down menu. with 10.2.8 or 10.3.9 is there a way to set up a "F" key instead of using the pull

  • How do I manually update to latest version?

    I have version 15.0.0.223 installed but understand that the latest version (15.0.0.239) came out a while back. I can watch videos if I am on YouTube but can not view videos on some other sites nor can I watch videos on Facebook. I have uninstalled an

  • Customizing PST error message in Outlook

    Hi Does anybody know if it is possible to customize error messages in Outlook? In our Exchange 2013 Server/Outlook 2013/2007 environment we have the following GPO setting applied: User configuration\Policies\Administrative Templates\Classic Administr

  • Dynamic ctrl:event

    I need to bind ctrl:event to a DataObject which currently lives in a TableDataProvider. 1. Dose UIX Support this behavior. If so: a. Whats wrong with the following syntax: 1. ctrl:event="[email protected]:validDS" b. I am certain the DataObject is val