FILE CONTENT CONVERTION HELP...?

Hi folks,
   can anyone help mre giving file content conversion parameters for the below example.
case 1 : ID, NAME, AGE
              201, ABCDE,25
  for the above case we use row.fieldNames, row.fieldSeperator, row.endSeperator.
but if the case is like below.
case 2 : ID,"NAME1,NAME2",AGE
              202,"ABC,DEF",26
what content parameters should be use for the above case. Here field seperator is expected between the quote's.
thanks in advance.
Srinivas reddy

Hi,
If you want to use NAME1 & NAME2 as single field then use xml.enclosureSign=" and xml.enclosureSignEsc=" " in your FCC.
u can also refer http://help.sap.com/saphelp_nw04/helpdata/EN/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
& How to solve extra commas in CSV files in FCC..!!
Reg,
NJ
Edited by: nishu jain on Apr 7, 2010 10:49 AM
Edited by: nishu jain on Apr 7, 2010 10:49 AM

Similar Messages

  • File content convertion for multi mapping occurance 1:N

    Hi ALL,
    In my scenario i have used multimapping means 1:N,
    In my scenario the sender is file adapter and receiver is JMS adapter.
    My requirement is that i have to pick the file from respective directory path...
    through file content convertion
    For example below is the structure when the sender file adpater pickes the flat file..through File content convertion....
    <?xml version="1.0" encoding="utf-8"?>
    <ns:mt_BookingConfirmation xmlns:ns1="urn:agrp:ml">
         <Recordset>
             <BOOKING_REQCON_ROU>
               <RECORD_TYPE>ROU</RECORD_TYPE>
               <SENDER_ID>AS.MAN</SENDER_ID>
               <RECEIVER_ID>abcd.99018293</RECEIVER_ID>
            </BOOKING_REQCON_ROU>
         </Recordset>
    </ns:mt_BookingConfirmation>
    But the structure of the source which i have in the mpping is as below,you can see the diffrence and this diffrence we will get automatically when we change the occurances of the target structure.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:mt_BookingConfirmation xmlns:ns1="urn:agrp:ml">
            <Recordset>
             <BOOKING_REQCON_ROU>
               <RECORD_TYPE>ROU</RECORD_TYPE>
               <SENDER_ID>AS.MAN</SENDER_ID>
               <RECEIVER_ID>abcd.99018293</RECEIVER_ID>
            </BOOKING_REQCON_ROU>
         </Recordset>
          </ns1:mt_BookingConfirmation>
       </ns0:Message1>
    </ns0:Messages>
    because of this diffrence in the structure... the picked file could not able to pass ttrough from the message mapping.Because of this error is throwned in the SXMB_MONI
    Please if some one know how to do the file content convertion for this type of diffrent structure.
    Please let me know ASAP.
    Thanks in advance...
    Best Regards,
    Aravind.Pujari

    Hi,
    Check Below links.
    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

  • Problem in File content Convertion ?

    Hi experts,
    i have a probelm in file content convertion......iam geting flat file with tab delimiter so how to convert it?
    Name.filedSeperator   under this how to pass the vaule....please send docs on file content convertion.
    Note:helpfull answer will be rewarded.
    regards,
    phani

    Hi;
    Have a look
    help link for Receiver file adapter (FCC) - http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    These are a collection of blogs on content conversion (both receiver and sender)
    /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
    Mudit

  • File Content Conversion help

    Input file is Excel file. Should I need to convert this using the File Content Conversion(File Sender), if so can anyone pls explain me how????
    thank you

    Hi,
    This Will help you,
    1) With JAVA Mapping  we can Achieve 
    /people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
    ( go thru the Below  lines  in the Blog )
    http://help.sap.com/saphelp_nw04/helpdata/en/1f/0e3237e5875249e10000009b38f936/frameset.htm
    Page 37
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da1e7c16-0c01-0010-278a-eaed5eae5a5f
    /people/gregor.wolf3/blog/2006/09/01/excel-to-csv-conversion-with-a-php-web-service
    Regards
    Agasthuri Doss

  • Issue with Sender File Adapter file content convertion

    Hi Everybody,
    I am facing an issue in FCC at the sender side.
    Below is sender text message which contains 9 rows.Each row represents one node in the source structure.
    ROUASIS.MLASIS.A02001COMASN1.1.2
    HDR7072396166N^MAEU/SZH3PA288200707248IF07082007090311CAFXSYATFXS^20070903
    PPL5705150010506YAT254915402713586045162543971730000002723.000C2750000000024.1602007081120070903^^
    SIM3020070711^20070730Y^^^00
    CONTTNU946652840CN0579566   7335
    CTN100069350800012609166209.850.08068.5830.4838.10
    DTL520^01
    CTN200069350800012609173209.850.08068.5830.4838.10
    DTL520^01
    In the above message CTN row is repeating after each DTL because of which i am getting the error.
    <b>Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation</b>
    Can somebody help me out in resolving this issue.
    Thanks in Advance,
    Arvind

    Hi Arvind
    plas use the following parametes in the sender communication channel.
    i have tried one scenario
    my source structure is like that:
    data  (0..unbounded)
      record (0..unbounded)
         key (1..1)
         fname (1..1)
         lname (1..1)
         age (1..1)
      detail  (0..unbounded)
        key (1..1)
        salary (1..1)
        empid (1..1)
    so use the following parameters at the sender side
    document name:                messge type name
    document namespace:       ur message type namespace
    Recordset name:               data(as per according to my source structure)
    RecordsetStructure:           record,,detail,
    recordsetsequence:           variable
    recordsetpermessage:       *
    keyfieldname:                   key
    and different parameters:
    RECORD.fieldSeparator     ,
    RECORD.fieldNames         KEY,FNAME,LNAME,AGE
    RECORD.keyFieldValue     1
    DETAIL.fieldSeparator         ,
    DETAIL.fieldNames             KEY,SALARY,EMPID
    DETAIL.fieldNames             2
    if you still have the problem pleas reply back.
    Thanks
    Rinku

  • Need File Content Conversion Help

    Hi,
       With the help of the SDNers i was able to create the proper structure for FCC.Now i want to have the column names been listed as part of the final file content.with the current structure i could get only the data and not the coulmnheaders
    The structure used is as below:
    Recordset structure=Root,Record
    Record.addHeaderLine=0
    Record.fieldNames=name,mobile,email
    Record.fieldSeparator=,
    Record.endSeparator='nl'
    Root.fieldSeparator=,
    Root.fieldSeparator='nl'
    Pls help me solve this.
    Regards,
    Karthik

    HI
    refer the following links
    File Content prameters for the Receiver Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
    File Content prameters for the Sender Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Refer
    File Receiver with Content Conversion
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    Configuring the Receiver File/FTP Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm
    File content conversion sites
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Please see the below links for file content conversion..
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    File Content Conversion for Unequal Number of Columns
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
    Content Conversion (Pattern/Random content in input file)
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
    /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario - FCC - MDM
    XI in the role of a FTP
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC
    File to R/3 via ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - FCC
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter - EOIO - File
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/c9f0b4925af54cb17c454788d8e466/frameset.htm - cc
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/95/bb623c6369f454e10000000a114084/content.htm - fcc cOUNTER
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da1e7c16-0c01-0010-278a-eaed5eae5a5f - conversion agent
    File Content prameters for the Receiver Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
    File Content prameters for the Sender Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Refer
    File Receiver with Content Conversion
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    Configuring the Receiver File/FTP Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm
    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
    Please see the below links for file content conversion..
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    File Content Conversion for Unequal Number of Columns
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
    Content Conversion (Pattern/Random content in input file)
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
    /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario - FCC - MDM
    XI in the role of a FTP
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC
    File to R/3 via ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - FCC
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter - EOIO - File
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/c9f0b4925af54cb17c454788d8e466/frameset.htm - cc
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/95/bb623c6369f454e10000000a114084/content.htm - fcc cOUNTER
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da1e7c16-0c01-0010-278a-eaed5eae5a5f - conversion agent
    cheers

  • File Content Convertion

    HI Experts,
    My scenario was Idoc to File.
    *Issue: I had mapped Source idoc with A,B,C,D fields.
    I want only A,B,C at final structure.*
    I cannot ignore D field in message mapping as i am using that field for file name Substitution in receiver communivcation channel target file name.
    In my receiver CC i have given,
    XX01.fieldNames: A,B,C
    But still i am getting A,B,C,D in target structure.
    thanks in advance

    Hi,
    You have to set the file name in header message field instead of entering in payload message field. Doing that
    you avoid creating D node in message mapping.
    Then, it is the same using variable sustituion in File Receiver adapter.
    To recovery this value, follow this link.  (Advanced Tab Page
    Variable Substitution (Target Directory/File Name Scheme))
    http://help.sap.com/saphelp_nw04s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Carlos

  • File Content convertion error

    I am getting error (java.lang.exception)in RWB in component monitoring of sender side file NFS adapter
    number of arguments in Row.fileldFixedLength does not match with no of fields in Row.fieldNames.
    My file is , seperated with 5 fileds
    Row.filedNames       ename,eno,performrate,ratedesc,effecivedate
    Row.fieldSeperator  ,
    i used 'nl' as newline character
    Can anybody please give the reason for the error

    Hi
    1)You should not use Both fieldFixedLengths and fieldSeparator together in FCC.
    2)Since it is case-sensitive beware of spelling mistake
    so
    Row.fieldNames=ename,eno,performrate,ratedesc,effecivedate
    Row.fieldSeperator=,
    Row.endSeperator='nl'
    Flat File to Flat File (FTP) Part 1
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Flat File to Flat File (FTP) Part 2
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)

  • Files not converting, HELP!

    Just downloaded InDesign CC and now files that were created in InDesign CS6 won't open.  Do I need to download something?

    File saved on my PC desktop.  Originally created in CS6.  I click open file with: InDesign CC (as this is the only InDesign program I have.  When program opens I receive this:

  • 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

  • File Content Conversion in Sender File

    how to convert a fixed length flat file without end seperator sent to XI to a xml form?
    Pleasegive me the idea of Sender Adapter configuration details (esp endSeperator)

    Hi,
    For file content convertion if there are fixed lenth then no need to give the feildseperator,just give the fixed lenths for all the feild in FCC.
    check below links for FCC
    /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

  • Problems in File Content Conversion

    Hello,
         I am trying to convert a text file to an XML using File Content Conversion in XI 3.0.
       The incoming text file gets picked up but no message is sent and hence no message is received in the monitor.I get the following log-
    <b>Success</b> Channel FILE_SENDER_XML_1: Entire file content converted to XML format
    <b>Warning</b> Channel FILE_SENDER_XML_1: Empty document found. Proceed without sending message
    <b>Success</b> File "C:\xi_public\i033066\dme_in.txt" deleted after processing
    Can somebody help me on this
    Thanks
    Sandeep

    Hello,
           I am not sure of why the empty Payload is created.
    I have the following TXT file -
    <b>LINE 1</b> 01 22  Sandeep        ASKDJKLASD          HDFC Bank       12342          asdasd              123569   
    <b>LINE 2</b> 02 22  Sagar          23123               ICICI          4234           ASDASD         254636    12304 ASDAsdqwe
    <b>LIME 3</b> 03 22  1     12304
    Ignore 'Lines' above.They are not part of the file.
    I have given the following parameters -
    <b>Document Name -</b> SampleMessageType
    <b>Document Namespace -</b> http://sandeep/xi/bpm_example
    <b>Recordset Name -</b> Header,Item,Trailer
    <b>Recordset Namespace -</b> http://sandeep/xi/bpm_example
    <b>Record Structure -</b> Header,,Item,,Trailer,*
    <b>Recordset Sequence -</b> Ascending
    <b>Key Field Name -</b> Record Type
    <b>Key Field Type -</b> String(Case Sensitive)
    <b>Header.fieldFixedLengths</b>     3,4,15,20,15,15,20,10
    <b>Header.fieldNames</b>     RecordType,RecordLength,CompanyName,CompanyAddress,BankName,BankCode,BankAddress,AccountNumber
    <b>Header.processFieldNames</b>     fromConfiguration
    <b>Header.keyFieldValue</b>     01
    <b>Header.lastFieldsOptional</b>     YES
    <b>Item.fieldFixedLengths</b>     3,4,15,20,15,15,15,10,6,10
    <b>Item.fieldNames</b>     RecordType,RecordLength,BeneficiaryName,BeneficiaryAddress,BankName,BankCode,BankAddress,AccountNumber,Amount,NoteToPayee
    <b>Item.processFieldNames</b>     fromConfiguration
    <b>Item.keyFieldValue</b>     02
    <b>Item.lastFieldsOptional</b>     YES
    <b>Trailer.fieldFixedLengths</b>     3,4,6,6
    <b>Trailer.fieldNames</b>     RecordType,RecordLength,TotalRecords,TotalAmount
    <b>Trailer.processFieldNames</b>     fromConfiguration
    <b>Trailer.keyFieldValue</b>     03
    <b>Trailer.lastFieldsOptional</b>     YES
    If I don't give these parameters then channel will give me errors.I don't know what other parameter to give to create a file.
    I had tried the same thing with the following and it worked
    <b>Document Name -</b> SampleMessageType
    <b>Document Namespace -</b> http://sandeep/xi/bpm_example
    <b>Record Structure -</b> Substr,*
    <b>Recordset Sequence -</b> Ascending
    <b>Key Field Name -</b> Record Type
    <b>Key Field Type -</b> String(Case Sensitive)
    <b>Substr.fieldFixedLengths</b>     3,4,15,20,15,15,20,10,3,4,15,20,15,15,15,10,6,10,3,4,6,6
    <b>Substr.fieldNames</b>     RecordType,RecordLength,CompanyName,CompanyAddress,BankName,BankCode,BankAddress,AccountNumber,RecordType,RecordLength,BeneficiaryName,BeneficiaryAddress,BankName,BankCode,BankAddress,AccountNumber,Amount,NoteToPayee,RecordType,RecordLength,TotalRecords,TotalAmount
    <b>Substr.processFieldNames</b>     fromConfiguration
    <b>Substr.keyFieldValue</b>     01
    <b>Substr.lastFieldsOptional</b>     YES
    But the problem here is my mapping has the Header,Item and Trailer as the structure names but he XML created here will be like
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:SampleMessageType xmlns:ns="http://sandeep/xi/bpm_example">
    - <Recordset>
    - <Substr>
      <RecordType>21</RecordType>
      <RecordLength>22</RecordLength>
      <CompanyName>Sandeep</CompanyName>
      <CompanyAddress>ASKDJKLASD</CompanyAddress>
      <BankName>HDFC Bank</BankName>
      <BankCode>12342</BankCode>
      <BankAddress>asdasd</BankAddress>
      <AccountNumber>123569</AccountNumber>
      </Substr>
    - <Substr>
      <RecordType>02</RecordType>
      <RecordLength>22</RecordLength>
      <CompanyName>Sagar</CompanyName>
      <CompanyAddress>23123</CompanyAddress>
      <BankName>ICICI</BankName>
      <BankCode>4234</BankCode>
      <BankAddress>ASDASD 25463</BankAddress>
      <AccountNumber>6 12304</AccountNumber>
      <RecordType>AS</RecordType>
      <RecordLength>DAsd</RecordLength>
      </Substr>
    - <Substr>
      <RecordType>03</RecordType>
      <RecordLength>22 1</RecordLength>
      </Substr>
      </Recordset>
      </ns:SampleMessageType>
    In this case my mapping fails
    Thanks,
    Sandeep

  • Problem with File content conversion and parameters

    Hi experts,
       What is the use of file content conversion that is available in file adapter? For what cases we can use it?
      What do the different content conversion parameters mean?
    Kindly help
    Thanks
    Gopal

    Hi,
    We use the file content convertion to conver the flat file that is text file into XML,
    File adapter cant understand the format the file is,so we have to declare the content convertion parameters.
    Check some links which will tell how the convertion is done.
    /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

  • Hi Question about Sender File Content Conversion

    Hi All,
    I have a flat file i need convert that flat file to the below XML format using File content Conversion, can anybody help me on this with example File content Convertion parameters
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_FileSend xmlns:ns0="http://test">
       <Recordset>
          <Contact>
             <Name>ABC</Name>
             <Number>123</Number>
             <Address>
                <HouseNumber>246789</HouseNumber>
                <StreetNumber>100</StreetNumber>
                <Phone>
                   <Mobile>90000000</Mobile>
                   <LandLine>12345678</LandLine>
                </Phone>
             </Address>
             <Email>
                <Office></Office>
                <Personal></Personal>
             </Email>
          </Contact>
       </Recordset>
    </ns0:MT_FileSend>

    Hi Sudheer reddy,
            Good question.
    File content conversion parameters are:
    1) Doccument Name: Doccument name is nothing but message type name for file side: MT_FileSend
    2) Doccument Namespace: mention the name space for the message type.
    3) Doccument Offset: for which row and which coloumn doccument has to be write.
    4) recordset name: mention the record set name: Recordset
    5) Recordset Namespace: if the namespace is different for message type name space mention name space or otherwise it is blank.
    6) Recordset Structure: Mention the structure name
    7) Recordset Sequence: mention the sequence of the recordset Ascending or Decending
    8) Recordset permessage: Would define no of record sets per message.
    9) Key-field name: to query to the doccument
    10) Key field type: string(Case-senstive)
    fieldValues
    fieldSeparator
    endSeparator
    Note: pls check in SDN about file content conversions it so many blogs are available, u can easily understand.
    Regards,
    Sateesh

  • File Content Conversion : Recordset Structure with * not reading file

    Hallo all,
    we have the following problem.
    we implemented a scenario as sown in this blog
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    but there is a problem.
    If the file structure is declared as :
    Header,1,Items,*
    then the adapter does not even read the file from the directory (so I assume that for some reason the file structure is not as expected).
    If on the other had the structured is declared as :
    Header,1,Items,3
    everything works.
    Obviously though, this is not satisfying since we need variable cardinalities.
    Here is an example :
    I have a specific file in a standard directory, called xi_input.
    The file is edited straight into that directory, so there can't be filename errors etc.
    If the file is left empty :
    Nothing happens . No message of any kind in sxmb_moni/monitoring xml messages .
    If the file contains the following (data is random) , where 'H' is the key for the header and 'I' is the key for the items :
    H 20060403 16 3 316001 kapou lalla morellala 20060403 F3 23
    I 277101010 2
    I 277101011 3
    I 277101012 4
    There are to cases :
    if the file structure is declared as :
    Header,1,Items,*
    Then nothing happens .
    If on the other had the structured is declared as :
    Header,1,Items,3
    everything works .
    Any suggestions and help is appreciated
    Thank you .

    Actually yes, there is an error message :
    Error     5/30/08 3:12:45 PM     fda9d3c5-4775-4df8-17b8-dfd14191171d     
    Retry interval started. Length: 5.0 seconds
    Error     5/30/08 3:12:45 PM     fda9d3c5-4775-4df8-17b8-dfd14191171d     
    Could not archive file 'E:\tmp\NetBeauty\In\xi_input.dat' after processing
    5/30/08 3:12:45 PM           Processing started
    And the details are :
    2008-05-30 16:07:00     Success     Channel CC_File_adapter: Entire file content converted to XML format
    2008-05-30 16:07:00     Warning     Channel CC_File_adapter: Empty document found. Proceed without sending message
    2008-05-30 16:07:00     Error     Attempt to archive file "E:\tmp\NetBeauty\In\xi_input.dat" after processing failed. Retry
    Only that they don't look very helpful. From this I only understand that the data in my input.dat file is not in the format expexced.
    I Have configured key fields as :
    keyfield name : keyfield
    Header.fieldNames : keyfield,CreationDate,CentralCustomerCode,CustomerCode,ReferenceDocumentNumber,DeliveryPlace,Message,ReturnMessage,DeliveryDate,SalesmanCode,Rest
    Items.fieldNames : keyfield,Material,Quantity
    Header.keyFieldValue     "H"
    Items.keyFieldValue     "I"

Maybe you are looking for

  • Payment terms in downpayment request

    After sales order we are creating down payment via VF01. Payment terms in billing document comes from the master data. However when the financial noted item i.e. request is created it ignores it and picks up the net due date i.e. posting date. For ex

  • Actual rates (KBK6) is not getting picked up for CPTA (template allocation)

    Hello Experts, I am using template allocation for the purpose of overhead calculation. I maintained rate in KP26. It is getting pulled up when I ran standard cost estimate. This is correct Now I want to run CPTA (ie. charging overhead at month end) u

  • Can depreciation be stopped mid way?

    I want to be able to depreciate a fixed asset half way and then make it stop afterwards. Is there any way possible to do so in B1 2005? Choosing "No Depreciation" is not helpful as it tends to reverse all the depreciations which have been posted so f

  • What should I do if I put j2me program in the CE?

    I have a pda of compaq(windows ce),and I want to run some j2me program on it.Is there anything that I must prepare to do? Thanks

  • Iwork or microsfot office student

    I am currently a pc user and i want to buy a mac. This means all my current work is done in word and excel. Also all of the computers at my university and my family are pc's. From what i have read on the site and looking at ratings for them iwork is