Utilities to Import Oracle Express v6 eif files to flat files or DB tables

We are seeking advise on how to import data from Express V6 to Hyperion Essbase. We have eif files and would like to import the data to DB tables of flat files for Import to Essbase. Is Oracle OLAP 10g required for this?
Thanks,
Tim Kline
at&t - IT
(407)-858-8454

It's probably dimension order. When you use a for statement, you are specifying the order in which you want things to be processed. I copied your statement as the order. What you really need to do is a describe on one or more of your variables:
describe f.minsThe system will respond with something like (I've made this up):
DEFINE F.MINS VARIABLE INTEGER <time product geography...>The describe command lists the dimensions from fastest varying to slowest. Unfortunately, for historical reasons, the FOR command takes its arguments from slowest to fastest. So (ignoring the rest of the dimensions I didn't list) you would
use a FOR statement like this for optimum looping:
FOR ...GEOGRAPHY PRODUCT TIMEYou don't really need to list time (it only has one value), but it doesn't hurt anything. What is going on here is we store values in the AW as an (approximately) linear array, ignoring some complications, and if you specify the "right" order, we will pull all the values on one page before going to the next page. If you don't specify the "right" order, you will be pulling each value from a different page, and doing a ton of I/O. With a command like REPORT, which does its own looping, it tends to loop in the optimal order internally.
Rearrange your dimensions on the FOR statement in order to optimize your looping.
If you use the script you already have, you will need to make one additional change to it. You either need to delete the existing program:
DELETE EXPORT_ITbefore you re-define it or make it active:
CONSIDER EXPORT_IT before you can re-populate the text. I frequently do:
DEFINE PROGRAM EXPORT_IT
CONSIDER EXPORT_ITwhen I am using a script to create a program. You will see an error on the DEFINE after the first time, but you can ignore it. You might want to DESCRIBE the program to make sure you have the text you expect.
Jim

Similar Messages

  • Procedure to save the output of a query into excel file or flat file

    Procedure to save the output of a query into excel file or flat file
    I want to store the output of my query into a file and then export it from sql server management studio to a desired location using stored procedure.
    I have run the query --
    DECLARE @cmd VARCHAR(255)
    SET @cmd = 'bcp "select * from dbo.test1" queryout "D:\testing2.xlsx;" -U "user-PC\user" -P "" -c '
    Exec xp_cmdshell @cmd
    error message--
    SQLState = 28000, NativeError = 18456
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'user-PC\user'.
    NULL
    Goel.Aman

    Hello,
    -T:
    Specifies that the bcp utility connects to SQL Server with a trusted connection using integrated security. The security credentials of the network user,
    login_id, and password are not required. If
    –T is not specified, you need to specify
    –U and –P to successfully log in.
    -U:
    Specifies the login ID used to connect to SQL Server.
    Note: When the bcp utility is connecting to SQL Server with a trusted connection using integrated security, use the
    -T option (trusted connection) instead of the
    user name and password combination
    I would suggest you take a look at the following article:
    bcp Utility: http://technet.microsoft.com/en-us/library/ms162802.aspx
    A similar thread regarding this issue:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b450937f-0ef5-427a-ae3b-115335c0d83c/bcp-connection-error-sqlstate-28000-nativeerror-18456?forum=sqldataaccess
    Regards,
    Elvis Long
    TechNet Community Support

  • Flat File to Flat File Scenario using File Adapter

    Hi Experts,
                    In my scenario, requirement is Flat File to Flat file through File Adapter in PI. At sender end, we would need to use Sender File Adapter (NFS) and receiver end we would need to use Receiver File Adapter (FTP). File would be coming as a encrypted format, and the file needs to be sent in encrypted format.
                    Any idea how to proceed with this requirement would be helpful.
    Thanks and Regards
    Soumya

    Hi Soumya,
    You need to choose the FTP in the "transport protocol" option. Then in the FTP connection parameters choose the option Connection Security and assign the value "FTPS for control and Data Connection". Then the "Command Order" will show up below that option and you could leave the default value itself. If you are using Public private key certificates of X.509 then you could choose the option "Use x.509 certificate for client authentication" and assign the values to the "keystore" and "certificate & private key" fields.
    Note: To use the FTP with SSL you need to add the CA certificate to the TrustedCAs keystore view.
    Regards,
    Vishnu.

  • File Content Conversion i.e Flat file 2 Flat file

    Hi guys,
       I am new 2 SAP XI
    and i am trying 2 do "Flat File To Flat File".
    Input File contains following data:
    Name:varun
    Surname:rajaraman
    Address:B-2
    Employee no:8204
    i.e Each Data is in separate Row.
    Output File Should contain the following data:
    I am varun rajaraman staying at B-2 bearing employee no. 8204.
           (name,surname)               (address)                        (Employee No.)
    i.e data should be in a single row.
    So, i have a problem of reading the data from input file i.e data from each row and transfering it into output file along with which i need 2 insert  "i am " ,"staying at", etc.
    pls tell me the procedure in detail.
    Thanks and regards
    santhosh rajaraman

    Hi,
    Check this links for file content convertion.
    File content conversion sites
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani
    Reward Points if Helpful

  • Reg error in flat file to flat file scenario

    Hi techies,
    Iam just starting working with XI scenarios.
    In base flat file to flat file scenario which is mentioned in wiki.sdn
    http://wiki.sdn.sap.com/wiki/display/XI/FLATFILETOFLATFILE
    I had completed entire scenario. After generating sender file. Iam getting this error in runtime work bench.
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'CONTACTS.EMP.fieldFixedLengths' or 'CONTACTS.EMP.fieldSeparator' is missing
    Please suggest how to resolve this error.
    Thanks in advance,
    Regards,
    Kiran

    Hi,
    From your error description,
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'CONTACTS.EMP.fieldFixedLengths' or 'CONTACTS.EMP.fieldSeparator' is missing
    it is clear that you have missed out either or both the 2 parameters in receiver file adapter content conversion, namely EMP.fieldFixedLengths and EMP.fieldSeparator.
    From the example that you followed, use the following values for the 2 parameteres is the output file is a comma separated file:
    EMP.fieldFixedLengths:    8,10,10
    EMP.fieldSeparator:           ,
    I have assumed that the lengths of the fields NAME,ADD,MOBILE are 8,10 and 10 respectively. Change them according to your requirement.
    Use any other value in place of comma(,) in EMP.fieldSeparator according to the requirement.
    Hope it helps you buddy!!!
    Thanks
    Biswajit
    Edited by: 007biswa on Feb 22, 2011 9:25 AM
    Edited by: 007biswa on Feb 22, 2011 9:28 AM

  • Flat File to Flat File scenario

    Hi all,
    I have a flat file to flat file scenario. I pick up a file in a specific format and produce a flat file in tab delimited format after some mapping.
    Everything is ok. All the functionality is working perfectly. However, there is one small error. In case the source file is empty, there is an error message in SXMB_MONI (which is correct as there is no XML content) but I still need to generate an empty output file.
    Is this possible ? Can I change something at the 'File Content Conversion' level ?
    Any advise will be highly appreciated.
    Thanks,
    Freddy.

    Hi Freddy,
    >>>Problem while determining receivers using interface mapping: Error while determining root tag of XML: BOM / charset detection failed.
    The charset of the XML cannot be determined. That is written clearly in the message.
    Is your XML belongs to UTF-16 or UTF-32? Then it needs a BOM which is missing.
    Have a look at below link.
    http://en.wikipedia.org/wiki/Byte-order_mark
    Check, if there is an XML header and which charset is mentioned.
    Regards,
    P.Rajesh

  • XML File to Flat File scenario: Reciver file adaptor content conversion

    Hello Friends,
    Currently I am working on XML File to Flat File Scenario.
    I used receiver side File adaptor with content conversion.
    My receiver side adaptor is giving error. Error is given below.
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
    My content conversion parameters are as:
    row.fieldNames                           Customer_ID,Name,Address,Phone
    row.fieldSeparator                      ,
    row.processConfiguration          FromConfiguration
    row.endSeparator                       'nl'
    Can you please suggest me what kind of error is this?
    Regards,
    Narendra

    Still I am facing below given issue.
    2010-06-08 15:34:25     Error     File adapter receiver channel CC_Customer_FlatFile_Distination is not initialized. Unable to proceed: null
    2010-06-08 15:34:25     Error     Exception caught by adapter framework: Channel has not been correctly initialized and cannot process messages

  • Flat File to Flat File

    Hi,
    I am doing an interface (Flat file to Flat file)
    The input file fields are separated by delimiter @!.Which will have multiple records like LEVEL1,LEVEL2,LEVEL3
    Input Flat file
    Level1@!PoNo@!ShortText@!StDate@!EndDt@!Vendor@!Status
    Level2@!PoNo@!L2id@!L2desc@!L2stdt@!L2ensdt@!L2plant@!order
    Level3@!PoNo@!L2id@!L3id@!L3stdt@!L3enddt@!order
    Level1@!PoNo@!ShortText@!StDate@!EndDt@!Vendor@!Status
    Level2@!PoNo@!L2id@!L2desc@!L2stdt@!L2ensdt@!L2plant@!order
    Level3@!PoNo@!L2id@!L3id@!L3stdt@!L3enddt@!order
    Level1@!PoNo@!ShortText@!StDate@!EndDt@!Vendor@!Status
    Level2@!PoNo@!L2id@!L2desc@!L2stdt@!L2ensdt@!L2plant@!order
    Level3@!PoNo@!L2id@!L3id@!L3stdt@!L3enddt@!order
    Output file
    The outfile fields are separated by tab delimiter
    <L1> L1Pono L1desc  L1stdt L1enddt L1hr L1cost L1vendor L1misc L1status
    <L2> L1Pono L2ID L2desc L2stdt L2enddt L2priority L2loc L2plant L2order
    <L3> L1Pono L2ID L3ID L3desc L3stdt L3enddt L3work L3emp L3order
    The outfile fields are separated by tab delimiter
    <L1> L1Pono L1desc  L1stdt L1enddt L1hr L1cost L1vendor L1misc L1status
    <L2> L1Pono L2ID L2desc L2stdt L2enddt L2priority L2loc L2plant L2order
    <L3> L1Pono L2ID L3ID L3desc L3stdt L3enddt L3work L3emp L3order
    Do I need to use file content conversion?how do I replace the delimiter?
    Can you please tell me how to do this,appreciate you help.Let me know if you need more info.
    Points will bw rewarded
    Thanks

    Hi Guys,
    Thanks for all the replies.I have done all necessary things for sender and reciver communication channels.I am pretty sure the sender CC is fine,but I am not sure of the receiver CC.The file is not being picked up at the sender side.In went and saw the adapter monitoring,it shows me the below error
    Receiver Adapter v2405 for Party '', Service 'BS_XIX_010':
    Configured at 2008-04-21 09:44:11 CDT
    History:
    - 2008-04-21 09:44:11 CDT: Error: Conversion initialization failed: Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
    In the receiver CC I am giving the following details,is there anything I am missing,do I need to check the Advanced mode in the CC and give info there?
    LEVEL1.fieldSeparator     ,
    LEVEL2.fieldSeparator     ,
    LEVEL3.fieldSeparator     ,
    LEVEL1.endSeparator     'nl'
    LEVEL2.endSeparator     'nl'
    LEVEL3.endSeparator     'nl'
    Thanks

  • Oracle best product to process the flat file

    Hi,
    Please help me by suggesting the best available oracle tool / product to read / write / process the flat file in oracle server.
    Thanks
    Kannan

    SQL Loader, external table, utl file, ...
    And as usual - DEFINE BEST.
    Gints Plivna
    http://www.gplivna.eu

  • File Adapter: Flat-file to XML

    New to the Oracle ESB.
    I am using the file adapter to read in a fixed-length flat file, have mapped it to an xsd and now I just want to dump the resulting xml into a directory. I don't see an obvious way to do this without converting it back to a flat file (by pointing the file writer back to a similar flat file xsd). Missing something obvious?
    Thank you!

    File Adapters content conversion does not supprot such a nested strucutre currently.
    The only format supported is the one shown in ths link,
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Either write a module that will do this conversion or Change the datatye for the source to the format shown in help.sap.
    Regards
    Bhavesh

  • Receiver CC File - Complex Flat File Conversion

    Dear forum users,
    I want your opinion about the feasibility of the content conversion described below using Receiver CC.
    The structure of my file is the following
    - A File header segment (FH)
    - 1...N Business Object that is described by many segments
    - A file footer segment (FF)
    Exemple of business Object : Purchase Order :
    1 Header Segment (POH)
    N Item Segments (POI)
    Exemple of file :
    FH
    POH (PO 1)
    POI (PO 1)
    POI (PO 1)
    POH (PO 2)
    POI (PO 2)
    POI (PO 2)
    FF
    Is content conversion standard tool can deal with such a structure ?
    Note that in the file created, the order of each segment has a big importance :
    PO Items of PO 1 must be after PO Header of PO 1 but before PO Header of PO 2 !
    I thnik the structure requested by converter described in documentation do not fit with my case :
    <root>...
      <nameA>
            <value1>value</value1>
            <value2>value</value2>
            <value3>value</value3>
      </nameA>
      <nameB>
            <value4>value</value4>
      </nameB>
    </root>
    I should have :
    <root>
    <FH>
      <PO>
        <POH>...</POH>
        <POI>...</POI>
        <POI>...</POI>
      </PO>
      <PO>
        <POH>...</POH>
        <POI>...</POI>
        <POI>...</POI>
      </PO>
    </FH>
    </root>
    Thanks very much for your help and opinions
    Jean-Charles.
    Edited by: Jean-Charles CARRET on Jan 3, 2011 6:12 PM

    Thank you Stephan for your answer.
    Firstly, could you confirm whether the "row" elements under the root tag are on the same level than other elements (POH, POI, FF and FH) or not ?
    I just check the both following parts of the help documentation called :
    - [Inserting MessageTransformBean in the Module Processor|http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm]
    - Using the dispatcher : Example
    For me, it is not clear.
    1. Do I need to create an external class (XSLT Library for example) to manipulate my XML data before passing it to the standard Flat File Conversion tool ? (Here the manipulation would be to remove the row XML elements)
    2. Where is located the famous "Data" directory in which I must put my xsl file ?
    Thanks for clarifications.
    Jean-Charles

  • Sender File Adapter: Flat file content conversion to "multileveled" XML

    Hi all,
    I would like to do following conversion with file adapter:
    - Input flat file schema:
    A...
    B,,,
    C:::
    - Desired XML form:
    <mesage>
      <A>
        <B>
          <C>:::</C>
        </B>
      </A>
    </message
    >
    All found examples (internet or XI documentation) do offer only "flat" XML option:
    <mesage>
      <A>...</A>
      <B>,,,</B>
      <C>:::</C>
    </message>
    Does anybody have an idea ?
    Thanx and regards
    Jurica

    File Adapters content conversion does not supprot such a nested strucutre currently.
    The only format supported is the one shown in ths link,
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Either write a module that will do this conversion or Change the datatye for the source to the format shown in help.sap.
    Regards
    Bhavesh

  • IDOC to Flat file and Flat file to IDOC

    Hello Experts,
      I have the following requirement in my current project:
    Third Party Sender sends the data in the in the below XML format via HTTP:
    <?xml version="1.0"?>
    <fxEnvelope>
      <header>
        <message>
          <exchangeID></exchangeID>
          <messageID></messageID>
          <subject></subject>
          <payloadType>IDOC</payloadType>
        </message>
        <from>
          <orgID></orgID>
          <locationID></locationID>
          <messageID></messageID>
        </from>
        <to>
          <orgID></orgID>
          <locationID></locationID>
        </to>
      </header>
      <body>
        <Opaque>
          <DataType></DataType>
          <DataStream></DataStream>
        </Opaque>
      </body>
    </fxEnvelope>
    In the above XML, the Tag <DataStream> is a string which contains the IDOC flat file.
    Now, the scenario is HTTP to IDOC, where the sender sends the above XML payload and PI needs to convert <DataStream> to IDOC XML and pass it on to the receiver R/3.
    But the challange i am facing is converting this <DataStream> tag which contains the IDOC flat file to IDOC XML using a Mapping program.Since both adapters are running on ABAP stack i can not go for Adapter Modules available(We are using PI 7.10).
    Looking for some guidance on the same.
    Thanks in advance.
    Cheers,
    Manasa.

    There are 2 options for you
    In either case, you might need a java mapping to convert the DataStream into String. Use a file adpater to write this string to IDOC-File.
    1) Option1: Write the content of DataStream into IDOC-Flatfile.(java mapping) Pick it from PI to convert IDOC-flat file inot IDOC-XML (using std features of PI) & send it to ECC.
    2) Option2: Write the Content of DataStream to IDOC-Flatfile (accessible to ECC system). Configure WE21 to pick the file from a file port.
    If the datastream was IDOC-XML, then it would have been simpler, it will be a direct communcation from PI to ECC (using java mapping & IDOC adapter).
    Regards,
    Siva Maranani

  • How to download file into flat file on SQ01 in background process

    Hi Experts,
    I have already made a query and I would like to run it in background every night. is it posible for SAP R/3 to save the results after the background process into file format automatically?
    Kind Regards,
    M.

    Hi Rao,
    What i know is that there isn't a standard way to download hierarchies, because each one of them works in a different way (different tables). What you can do is to write an abap program to download the hierarchy into a text file with the required format to upload it to BW.
    Regards,
    Diego

  • Mapping error - Flat file to Flat file Scenario

    Hi All,
    Iam designing Flatfile to Flatfile Scenario.
    Source Structure
    RSET
    RSETSTRUCTURE 1-un
    S1  1-1
    S2  1-1
    S3  1-1
    target Structure
    RSET
    RSETSTRUCTURE 1-un
    R1  1-1
    R2  1-1
    R3  1-1
    Mapping
    RSETSTRUCTURE - RSETSTRUCTURE
    S1 - R1
    S2 - R2
    S3 - S3
    Flatfile is getting picked
    Iam getting Mapping exception.
    Please help.
    Regards,
    Jeevan

    Hi Raj,
    Iam sending the Inbound payload
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_DB2_S_FF xmlns:ns="http://gsll.com/DB2">
    - <RSETSTRUCT>
      <S1>A</S1>
      <S2>A</S2>
      <S3>A</S3>
      </RSETSTRUCT>
    - <RSETSTRUCT>
      <S1>B</S1>
      <S2>B</S2>
      <S3>B</S3>
      </RSETSTRUCT>
      </ns:MT_DB2_S_FF>
    regads,
    Jeevan

Maybe you are looking for

  • Error - Creation of Billing Document - Item is not relevant for billing

    Hi While trying to Create a Billing document after entering the Order No.the following error msg shown in the Tool Bar No Billing Documents were generated. See log The Error Log shows the following msg with Yellow coloured indication : 000000xxxxxx 0

  • FI posting on basis of travel expenses

    Hi, We have an external system where relevant employees can enter their travel expenses. What we need now is to upload these data into SAP and most importantly, we need to generate the FI postings (2) for each of these travel expense lines from the e

  • Internal Order Settlement Issue

    HI, I have posted some entries in Postage internal orders. But when i tried to settle that in KO88, it is showing the below message. No Transaction Data Posted Since Last Settlement Actually once the client executed KO8G transaction for all orders. A

  • NW2004s ABAP Trial Version Installation Error

    Hello, I've tried to install the NW2004s ABAP trial to my home computer and received the following error in the error log: (Sep 27, 2006 3:27:41 AM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, An error occurred and product installa

  • Remove camera raw cameras

    The latest software today (11-14-2014) is for new camera raw cameras. Do not own any of these cameras so tried to hide the update. Update will not hide the update. Tried three times - no luck - possible bug. Reported to apple feedback today. OK Now I