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

Similar Messages

  • Error while loading table from flat file (.csv)

    I have a flat file which i am loading into a Target Table in Oracle Warehouse Builder. It uses SQL Loader Internally to load the data from flat file, I am facing an issue. Please find the following error ( This is an extract from the error log generated)
    SQL*Loader-500: Unable to open file (D:\MY CURRENT PROJECTS\GEIP-IHSS-Santa Clara\CDI-OWB\Source_Systems\Acquisition.csv)
    SQL*Loader-552: insufficient privilege to open file
    SQL*Loader-509: System error: The data is invalid.
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
    I believe that this is related to SQL * Loader error.
    ACtually the flat file resides in my system ( D:\MY CURRENT PROJECTS\GEIP-IHSS-Santa Clara\CDI-OWB\Source_Systems\Acquisition.csv). I am connecting to a oracle server.
    Please suggest
    Is it required that i need to place the flat file in Oracle Server System ??
    Regards,
    Ashoka BL

    Hi
    I am getting an error as well which is similar to that described above except that I get
    SQL*Loader-500: Unable to open file (/u21/oracle/owb_staging/WHITEST/source_depot/Durham_Inventory_Labels.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
    The difference is that Ashoka was getting
    SQL*Loader-552: insufficient privilege to open file
    and I get
    SQL*Loader-553: file not found
    The initial thought is that the file does not exist in the directory specified or I have spelt the filename incorrectly it but this has been checked and double checked. The unix directory also has permission to read and write.
    Also in the error message is
    Control File: C:\u21\oracle\owb_staging\WHITEST\source_depot\INV_LOAD_LABEL_INVENTORY.ctl
    Character Set WE8MSWIN1252 specified for all input.
    Data File: /u21/oracle/owb_staging/WHITEST/source_depot/Durham_Inventory_Labels.csv
    Bad File: C:\u21\oracle\owb_staging\WHITEST\source_depot\Durham_Inventory_Labels.bad
    As can be seen from the above it seems to be trying to create the ctl and bad file on my c drive instead of on the server in the same directory as the .csv file. The location is registered to the server directory /u21/oracle/owb_staging/WHITEST/source_depot
    I am at a lost as this works fine in development and I have just promoted all the development work to a systest environment using OMBPlus.
    The directory structure in development is the same as systest except that the data file is /u21/oracle/owb_staging/WHITED/source_depot/Durham_Inventory_Labels.csv and everything works fine - .ctl and .bad created in the same directory and the data sucessfully loads into a oracle table.
    Have I missed a setting in OWB during the promotion to systest or is there something wrong in the way the repository in the systest database is setup?
    The systest and development databases are on the same box.
    Any help would be much appreciated
    Thanks
    Edwin

  • Error message while uploading the flat file

    Hi Experts,
    I am getting the error message while uploading the flat file.
    Message class: MG
    Number: 147
    The message is: Several descriptions exist for the language JA.
    Please guide me why this error is occuring.
    Regards
    Akshay

    hi,
    how are you uploading the file and where ?
    u can use open dataset  , read dataset or gui_upload
    check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e92637c2cbf357e10000009b38f936/frameset.htm

  • 'File is not open' error when running DTP for flat file upload in BI

    Dear Sir,
    We are trying to upload master data from flat file for which we have
    created respective DTPs. When we are running the DTPs we are getting an
    error saying 'The file '&&filepath&&' is not open'. We also checked
    that the file is not open, but still we are getting this error. Could
    anyone please suggest what we have to do to solve this problem.
    Many Thanks
    Narendra

    Hi,
    I am currently facing the same error "Error in Source system".  "The file 'path' is not open".
    Could you please let me know how you resolved this issue.
    many thanks.
    Regards,
    Madhusudhan

  • 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

    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

  • 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.

  • How to Create a Flat File using FTP/File Adapter

    Can any body done workaround on creating the Flat file using FTP/File Adapter?.
    I need to create a simple FlatFile either using of delimiter/Fixed length. using the above said adapters we can create XML file, i tried concatinating all the values into a single String and writing into a file, but it does not have proper structure
    Can any body help me out on this..
    Thanks
    Ram

    You can create a text schema while creating a File Adapter. If schema is specified for File Adapter, it takes care of converting XML into fixed length or delimited format.
    Thanks,
    -Ng.

  • 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

  • Flat file to xml file

    hello
    I am having a scenario a flat file to XML file. in the comm. channel of the sender I made a content conversion to the file and I see in the SXMB MONI and it looks ok. the output file, is declared as a file and I recieve an empty xml file.
    what am I missing?
    why it doesnt go out through the mapping that I declared so I will get a valid XML with its data?
    Kfir

    Hi,
    Please can you take the Sender side Payload from SXMB_MONI and try to test the mapping in Message Mapping ---> Test Tab.
    See if you are getting the same results. Even check if you have properly map the Header nodes in Mapping.
    Thanks
    Swarup
    Edited by: Swarup Sawant on Aug 4, 2008 8:08 AM

  • Multiple flat files appended, is file locked until all processed?

    Hi All,
    Have a scenario in place where we are collecting multiple flat files on ECC and using append mode on the receiver file adapter to create a single file for final output. We are only interested in submitting the output to it's target after all files sent to PI have been appended.
    Does PI 7.0 lock the appended file until all files have been appended so I am sure I end up with a complete single file on output? If not, what are my options to ensure a completely appended file is output? Would it be a viable option to pass the appending file through another sender file adapter using 'msecs to wait before modification check'?
    Thanks!
    Don
    Edited by: donald.meredith on Dec 1, 2011 2:31 PM

    How many files are you collecting from ECC and appending at receiver side and how much time it is taking to complete the process?
    if its possible to schedule your business to read data from FTP after completing append then no worries, else sometimes it creates trouble.
    The option you mentioned is reliable one , but you ended up creating one more interface.
    Regards,
    Raj

  • 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

  • Source of Flat File in a File scenario

    Hey guys
    i was just wondering wats the source of flat files which are used in File scenarios,i know it can come from anywhere but in a real world scenario,where do we usually get these files from(is it any server?)also if anyone of u has worked on any file scenario can u please tell me where exactly u were getting this file from.
    all the scenarios i have worked with i waz just placing the files on FTP but i m pretty sure in a real world scenario,there should some central repository where all these flat files come from.
    please tell me from ur real world experience where u were getting the file from.
    you can e-mail me at [email protected]
    thanx
    ahmad

    Hi,
    The answer for this is , it depends . I mean it depends on the Project Requirements, Organization , Company Policy etc..
    So some project may implement these file servers as a part of the SAP system itself.
    But many are not .. Because as per security rules, etc, there will be separate FileServer outside the SAP Landscape , but will in the same system landscape. So XI/PI will communicate this directly via FTP connections . So this folder will act as a FileServer.
    for a XI developer, generally these file location informations will be given. so you need to pick or drop the files over there
    Hope this helps,
    Regards,
    Moorthy

Maybe you are looking for

  • Is it possible to calculate the sum of charactristics in Reporting

    Hi Experts, i have both master data as well as transaction data,generally we can get the overall result of transaction data,but in this case i need the overall result of master data also,please give steps to precedes EX:        ID   VALVE    C1    C2

  • Discoverer Viewer AS-10g - Report Layout

    Hello, I have a problem about report layout on Discoverer Viewer AS10g. If I have a crosstab layout and "Year" is my left axis and "Sales" and "Products" are my top axis, I see the label "YEAR" on report, not only the values (2003, …). I also see the

  • OfficeJet J6480 Duplex Printing not working

    Duplexer is installed correctly with my OfficeJet J6480.  When I try to print a two sided page using AUTOMATIC setting, it prints a page and pushces out the page without rolling it back to print on the other side.  Any input on correcting this issue?

  • Transfering files from computer to Playbook

    Every time I try to transfer pics or vids to my tablet I get a message that "Permission is needed  to perform this action".  It does'nt explain what it means or how to correct the problem. Help! Galley

  • Seeburger OFTP/ ISDN adapter

    Hello, Does anyone have an experience with configuring OFTP_ISDN adapter from Seeburger? I have a problem to configure an inbound channel (Sender) when the same dataset name can come from four different ISDN numbers (One MAIN ISDN MSN and three SUB I