Inconsistent  Data for File Content Conversion

HI XI Friends,
Its IDOC to File Scanario,
File is of .txt file..
my IDOC contains 14 segments
some times some segements will not come with Idoc..
first three characters represent segment numbers..
structure of txt file
00112345       address1  street1
00212345       office1      street1
00312345       homw2     city2     street2
if that IDOC doent contain 002..then .txt file should be..
00112345       address1  street1
00312345       homw2     city2    street2
all Segement in that idoc are optional..
if I use Fixed lengh in File Content Conversion then ther would be blank row  for 002 if that IDOc doent Conatin
00112345       address1  street1
00312345       homw2     city2    street2
please guide me...how to use content conversion in this case..
regards
Munna

Hi ,
Thank you very much for your response..
.txt file is of fixed lenths with no field Seperator
IDOC contains number segements..
the resultant txt file if we created first 3 segements data..
00112345 address1 street1
00212345 office1 street1
00312345 homw2 city2 street2
if we create 001 segment and 003 segement the text file should be
00112345 address1 street1
00312345 homw2 city2 street2
but for new row of each segment ... endseperator 'nl' after first segemnt in Content conversion parameter and 002 segement values..and again endSeperator 'nl'...
if we are not sending 002 segement data in the IDOC ..then it will give blank
00112345 address1 street1
00312345 homw2 city2 street2
my requirement is if we dont send 002 segement data then no blank row .how to check if the segement is having data or not  and also how to declare it in Content Conversion parameters of File Adapters.
please guide me
regards
Munna

Similar Messages

  • Blogs for File content conversion in File Adapter

    hi all,
    Can some one give me the links for File Content Conversion for File to File Scenario. please.
    Thanks in advance.

    Hi
    For Sender
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /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/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    SAP Help for sender
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    For Receiver:
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    SAP Help for receiver
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

  • DT for File Content Conversion scenario

    Hi Guys,
    I am working on IDOC to file scenario in which I want to know which type of DT should I go for?
    DT_Type
    ....Row
    ......Filed1
    ......Filed2
    ......Field3
    ...Row
    DT_Type
    Or
    DT_Type
    ..Details
    ....Row
    ......Filed1
    ......Filed2
    ......Field3
    ...Row
    ..Details
    DT_Type
    I am going for Receiver Content conversion as I need to produce Flat like, I have about 30 filed names and I am wondering is it possible not ot mention field names in Content conversion?
    What is the parameter to place to get a new line after each record? I am using row.endSeparator as 'nl' I am getting some special character instead of starting a new record in next line.
    Thanks
    Rajeev

    HI,
    The SOURCE IDOC strcuture is:
    IDOCNAME----
    1..1
    >IDOC--
    1..1
    >BEGIN--
    required
    >EDI_DC40--
    1..1 (it has sub nodes but not required)
    >E1KNAM1--
    1..1
    >SEGMENT----
    Required
    >Werks----
    0..1
    >Z1KNU2----
    0..1 (SUB SEGMENT OF E1KNAM1)
    >ZNUM----
    0..1
    >Z1ADD----
    0..7 (SUB SEGMENT OF E1KNAM1)
    >PostCode----
    0..1
    >E1KAVVM----
    0..999(SUB SEGMENT OF E1KNAM1)
    >VTWEG----
    0..1
    >LOVEM----
    0..1
    >E1KAVPM----
    0..999(SUB SEGMENT OF E1KNAM1)
    >KUNN2----
    0..1
    >Z1KAN--0..1 (SUB SEGMENT OF E1KAVPM---(SUB SEGMENT OF E1KNAM1))
    >NAME1----
    0..1
    Target File structure is:
    MT_Type----
    1..1
    Row--
    0..Unbound
    Filed1----
    0..Unbound
    Filed2----
    0..Unbound
    Filed3----
    0..Unbound
    Filed4----
    0..Unbound
    Filed5----
    0..Unbound
    Filed6----
    0..Unbound
    if IDOC contains one IDOC data then it has to generate one file .. If IDOC contains more than one IDOC information then it has to generate one file with multiple IDOC informaiton in it.
    how this can be achieved?
    Thanks
    Rajeev

  • Key field values for file content conversion at sender communicationchannel

    Hi all,
    I am working on  scenario File to Idoc.In this scenario at the sender side we configure the file content conversion for .CSV file.
    In the flat file i am having more than one orders, XI will pick the file and creates a separate Idoc for each sales order at r/3.
    We have similar fields "Order Item Number" both header and item.
    If we got '00000' on the Header item then it should create a new idoc at the r/3 side other wise it will create line item.
    Order item number will be 00000 for header but it will differ from order item to item.
    source structure
    Order Header
    Order type
    Sold-to-code
    PO number
    Order item number
    Order date
    AdresName1
    AdresName2
    Street and House number
    Postal Code
    City
    Country Code
    Filler
    Order Item
    Order type
    Sold-to-code
    PO  number
    Order item number
    Order date
    Product code
    Order quantity
    Item text
    Filler
    Now I have some questions....
    I don't have standard filed values to give the key fileds at source structure.
    I need to create the Idoc at r/3 system for each individual record.
    Is it possible to create new idoc with out using the Key filed value?
    If it is possible then how can i proceed with fcc?
    please give me your valuable suggestions
    Best Regards,
    satya
    Edited by: satyatanuku on Mar 3, 2010 1:41 PM
    Edited by: satyatanuku on Mar 3, 2010 1:42 PM
    Edited by: satyatanuku on Mar 3, 2010 1:44 PM

    Hi,
    Just check the Content Conversion Parameters-  Recordset Structure.
    If you have filled in this parameter with
    Header,1,Item,1
    then change it to
    Header,1,Item,3
    Regards
    Chandra

  • Unequal Number of rows for File Content Conversion

    hi xi friends,
    in my idoc to file ..
    please help me in content conversion parameter for unequal number of rows .
    the message type for external system..
    root
    row1
        f1
        f2
        f3
    row2
        f4
        f5
    row3
        f6
    if i send idoc with data for all three rows
    the resultant txt file
    f1-valuef2-value f3-value
    f4-valuef5-value
    if i send idoc with data for row1 and row3
    the resultant txt file
      f1-valuef2-value f3-value
      f6-value
    if i send data for row2 and row3
    the resultant txt file
       f4valuef-5vaue
       f6-value
    in static message mapping ,i eleminated the rows which are not getting the data from idoc
    eg:if the data for row2 does not exist ,then i elimated in message mapping.
    all the fileds are fixed lenths like f1 3char and f2 8char etc..
    and i dont require header names.
    please guide me how to declare in Content Conversion for this unequal number of rows of fixed lenth columns.
    regards
    Munna

    Hi Jai,
    Thanks alot for your responses..
    message mapping look like this,
    IDoc-------------------root
    segment1--------------     row1
      f1------------------- f1
      f2------------------- f2
      f3------------------- f3
    segment2--------------row2
      f4------------------- f4
      f5------------------- f5
    segment3--------------row3
      f6------------------- f6
    (actually the idoc contains no of segments..i provided sample one above)
    test data for f1=1111 f2=AAA f3=ccccc f4=222 f5=BB f6=33
    all fields are fixed lenths
    if idoc contains all three segments data
    then reultant .txt file should be
    1111AAAccccc
    222BB
    33
    if idoc contains segment1 and segment3 data
    then reultant .txt file should be
    1111AAAccccc
    33
    if idoc contains segment2 and segment3 data
    then reultant .txt file should be
    222BB
    33
    in message mapping I eleminated the target message type segments
    if that idoc doent contain data.eg:if the idoc doent contain data for segment2,
    i eleminated in message mapping.
    please guide me how to declare File content conversion parameters for this unequal number of rows
    of rows.
    regards
    Munna

  • File is not creating on the Receiver for File Content Conversion

    Hi,
    i have created a scenario with this blog
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    for sender side i am using File Content Conversion to read .txt file and on receiver side i need xml file i have done that.
    when i placed the file in the sender folder it gets picked up and i checked in Communication Channel monitporing in Runtime WorkBench it is processed Successfully. but no XML File is created on the Receiver side. i am unable to see the messages on SXMB_MONI also.
    Please suggest some ideas to solve this.
    Thanks,
    Giridhar.C

    Hi Giridhar.
    unable to see the messages on SXMB_MONI also
    If the file got picked and in Communication Channel monitoring RWB you can see that it is processed without any errors ,, then i feel it should come in come.Please check the Audit log in RWB, there you can see the error message if any.
    Please check the connection parameters in FTP and make sure that the same sender folder is
    not being used by any other scenario.If you have done any recent changes then do  a cache refresh .
    Please post if you see any error in content conversion.
    Regards
    Srinivas

  • Error in RTW for file content conversion

    Hi,
    In my scnario there are one header,0..unbounded master,0..unbounded detail,one trailer.
    proxy to file scnario.
    when the file is finally generated that is for particulam one employee.
    mapping is successful.
    what shoul i do for when 2 employee records coming from ABAP side?
    file contain conversion:
    record Structure : Header,1,Master,,Detail,,Contact,,Earnings_History,,TAMS,*,Trailer,1
    Name and value all things are correct in Content parameter.
    but one error is coming.
    the error is :
    MP: Exception caught with cause javax.resource.ResourceException: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.1.fieldFixedLengths' or 'xml.1.fieldSeparator' is missing (4409)
    How i solve this error??
    Regards,
    Sanghamitra

    Hi,
                Have you provided the field separator and endSeparator for each recordset structure??? Its saying fieldSeparator is missing. Please provide fieldseparators like ...
    Header.fieldSeparator -','
    Master.filedSeparator-','
    Master.endSeparator-'nl'
    Regards
    Priyanka

  • DT and MT definition to be used for File Content Conversion

    Hi FCC gurus
    would just like to ask, my scenario is Flat File (fixed length) to IDoc
    the flat file structure is below:
    HHeader.......(Fixed Field until 427characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    DFile ......... (Fixed Field until 404characters)
    DText ......... (Fixed Field until 235characters)
    DFile ......... (Fixed Field until 404characters)
    DText ......... (Fixed Field until 235characters)
    -------No Space, for illustration only PO2--------
    HHeader........ (Fixed Field until 427characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    DFile ......... (Fixed Field until 404characters)
    DText ......... (Fixed Field until 235characters)
    DFile ......... (Fixed Field until 404characters)
    DText ......... (Fixed Field until 235characters)
    -------No Space, for illustration only PO3--------
    HHeader........ (Fixed Field until 427characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    HText ......... (Fixed Field until 234characters)
    DFile ......... (Fixed Field until 404characters)
    DText ......... (Fixed Field until 235characters)
    DFile ......... (Fixed Field until 404characters)
    DText ......... (Fixed Field until 235characters)
    where:
    HHeader = Header
    HText = Header Text
    DFile = Order Detail File (Line Item)
    DText = Order Detail File Text (Line Item Text)
    As shown above, 1 flat file can contain 3 purchase orders in it structured exactly like the structure definition above.
    I need to map this to 1 IDoc for each purchase order
    so my target structure should be:
    - ORDERS05
       - IDoc (PO1)
       - IDoc (PO2)
       - IDoc (PO3)
    Of course I need to use FCC for this, I'm just a little confused on how I will define the Data Type and Message Type for this.
    For the Data Type should i define it like this:
    DT_ORDERS
       HHeader-Field1 (Element)
       HHeader-Field2 (Element)
       HHeader-Field3 (Element)
       HText-Field1 (Element)
       HText-Field2 (Element)
       HText-Field3 (Element)
       DFile-Field1 (Element)
       DFile-Field2 (Element)
       DFile-Field3 (Element)
       DText-Field1 (Element)
       DText-Field2 (Elemen
    t)
    OR
    should i define the Data Type like this:
    DT_ORDERS
        HHeader (Element)
           HHeader-Field1 (Sub Element)
           HHeader-Field2 (Sub Element)
           HHeader-Field3 (Sub Element)
        HText (Element)
           HText-Field1 (Sub Element)
           HText-Field2 (Sub Element)
           HText-Field3 (Sub Element)
        DFile (Element)
           DFile-Field1 (Sub Element)
           DFile-Field2 (Sub Element)
           DFile-Field3 (Sub Element)
        DText (Element)
           DText-Field1 (Sub Element)
           DText-Field2 (Sub Element)
    Kindly advise which one is the correct definition   (Or if I am missing something out  e.g. Recordset element betweend DT_ORDERS and HHeader)
    Thanks in advance
    Edited by: HJ Dlec on Aug 13, 2010 4:13 AM
    Edited by: Prateek Raj Srivastava on Aug 13, 2010 2:29 PM

    >Kindly advise which one is the correct definition  
    Second approach is fine..
    >(Or if I am missing something out  e.g. Recordset element betweend DT_ORDERS and HHeader)
    Yes do this as well

  • File content conversion for Pipe delimited file

    Hi
    i have a scenario ( file-xi-proxy) in whch file is coming in a pipe delimited.
    my data type is like
    DT_ XXXXX
    AwardInfo
    Header contains some fileds
    DetailRecord contains some fileds
    trailer contains some fields
    what are content conversion parameters i have to use
    venkat

    Sedamkar,
    Expecting you have one header, multiple details and one trailer then give recordset structure in sender file communication channel as:
    Header,1,DetailRecord ,*,trailer,1
    In content conversion you should give parameters:
    Header.fieldSeparator : |
    Header.endSeparator : 'nl'
    DetailRecord.fieldSeparator : |
    DetailRecord.endSeparator : 'nl'
    trailer.fieldSeparator : |
    trailer.endSeparator : 'nl'
    You may need to change the parameters also according to your strcuture and the file layout. See this SAP help for file content conversion:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Regards,
    ---Satish

  • Sender adapter: File content conversion suggestion

    Hi all,
      I require your suggestion on File content conversion with Sender File adapter. I am having a scenario where I would be getting multiple orders data i.e., header and item information in a single file. Suppose, we have given a chance to design the source structure. So, which would be the better way for having the source structure so that it would be easy for file content conversion and mapping. Is it like Method 1 or Method II?
    Method I:
       Orderno,FieldA,FieldB,FieldC
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,FieldA,FieldB,FieldC
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,FieldA,FieldB,FieldC
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
    Method II:
       Orderno,FieldA,FieldB,FieldC
       Orderno,FieldA,FieldB,FieldC
       Orderno,FieldA,FieldB,FieldC
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
      If you suggest method I, can you let me know how the content conversion parameters look like?
    Thanks in Advance,
    Adithya K
    Message was edited by:
            Adithya K

    Adithya,
    Looking at your input file I think a structure as below would be better.
    <Order_Data>
      <Orderno>
          <Orderno/>
          <FieldA/>
          <FieldB/>
          <FieldC/>
      </Orderno>
      <Items>
          <Orderno/>
          <OrderItem/>
          <Field1/>
          <Field2/>
          <Field3/>
          <Field4/>
          <Field5/>
      </Items>
    </Order_Data>
    Content Conversion Parameters for this would be:
    RecordSet Structure        OrderData,,Orderno,1,items,
    OrderData.fieldNames       Orderno,items
    OrderData.fieldSeparator   'nl'
    OrderData.endSeparator    'nl'
    Orderno.fieldNames          Orderno,FieldA,FieldB,FieldC
    Orderno.fieldSeparator       ,
    Orderno.endSeparator       'nl'
    items.fieldNames              Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
    items.fieldSeparator           ,
    Items.endSeparator           'nl'
    ignoreRecordsetName        true
    Depending on which are your key fields you will  have to put two more parameters:
    Orderno.keyFieldValue
    items.keyFieldValue
    Hope this would be of some help.
    Thanx,
    Manju.

  • Need Help in Sender File Content Conversion

    Hi All,
    I request your expert advice on Sender File content Conversion. I need to process the below pasted file. I was able to achieve this by keeping a offset of 6 in Sender PI File Adapter (PI 7.1) to ignore first 6 lines and used a Unix script to remove last line"END OF REPORT".
    Now my new requirement is I need to capture the date "DECEMBER 2009" from line 3. How can I do this. I have set offset as 6 so Adapter will start processing from line 7. If I don't set offset Interface fails. Please suggest. Thank you.
    ABC LAB            XYZ LIMITED"
                       TRIAL BALANCE"
                       FOR THE PERIOD ENDED DECEMBER 2009"
    "TEST Bank","101000",-1589365.58,0.00,738295.08,0.00
    "TEST Bank Clearing A/c","101200",0.00,0.00,14848018.55,0.00
    "TEST Bank Sweeps","101250",104315957.19,0.00,7571985482.08,0.00
    "TEST Receipts","101260",0.00,0.00,19788596.15,0.00
    "TEST Corporate Deposits","101270",-7776629.87,0.00,-135914980.50,0.00
    "SHARES","00SH",0.00,0.00,-7869890086.22,0.00
    "END OF REPORT"

    Dear Phani,
    Please go through the below blogs:
    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
    Thanks,
    Satya

  • File Content Conversion ignore fields

    HI ,
    I need to ignore some rows in the middle of the data in File content conversion for exaple
    H1,Field1,Field2,Field3
    A,GB07,MICHEL,1000
    H2,Field3,Field4,Field5
    B,GB08,andrew,2000
    The above is the sample text file from the source , I need to parse in the below
    RECORDset1
    <Field1>A</Field1>
    <Field2>MICHEL</Field2>
    <Field3>100</Field4>
    RecrodSet2
    <Field4>A</Field4>
    <Field5>andrew</Field5>
    <Field6>200</Field6>
    I need to omit or ignore the H1 and H2 rows from the File Content conversion.,
    Please guide me how to achive this using File Content conversion

    Hi Krishna,
    In case if H1 and H2 is your record type or line type then to ignore line for this type... just do not handle "keyFieldValue" in the content conversion for H1 and H2 record type.
    Thanks,
    Binod

  • File Content Conversion with Multiple structures

    Here is the scenario
    Legacy to XI -> XI to R/3 (App Server)
    txt file and fixed length.
    <b>Test file</b>
    100WELCOME    0430000960603201321
    2000000000040008000803
    <b>Table2</b>
    RecordType
    PriorityCode
    Destination
    BankOrginNo
    CreationDate
    CretionTime
    Spaces
    <b>Table2</b>
    RecordType
    Destination
    BankOrginNo
    ReferenceCode
    ServiceCode
    RecordLength
    CharactersPerBlock
    PartialCompression
    CompressionSpaces
    <b>Content Conversion Parameters:</b>
    Document Name: Details
    RecordsetName  : recordset
    Recordsetstructure  : Table1,1,Table2,*
    Recordsetsequence: Ascending
    RecordsetperMessage: *
    Keyfieldname          : KF
    Kefieldtype          : String(Case-Sensitive)
    Table1.keyFieldValue     :'1'
    Table1.fieldFixedLengths:1,2,10,10,6,4,47
    Table1.fieldNames :RecordType,PriorityCode,Destination,BankOrginNo,CreationDate,CretionTime,Spaces
    Table2.keyFieldValue     :'2'
    Table2.fieldFixedLengths: 1,10,10,10,3,3,4,1,38
    Table2.fieldNames:RecordType,Destination,BankOrginNo,ReferenceCode,ServiceCode,RecordLength,CharactersPerBlock,PartialCompression,CompressionSpaces
    ignoreRecordsetName     :true
    When I am trying with first structure it is working fine, where as 2 structures it is not.
    in the adopter monitoring it show it pics the file from Legacy(file adopter display green), where as SXMB_MONI it is not showing any thing.
    can any body help on this do I need to maintain any other parameters for file content conversion.
    Thanks
    M

    HI,
    I can see that.
    The number of characters in the file for TABLE2 is lesser then the number of field size given.
    for eg. if the table2 fixed field length sum is 20 ,your file contains only 10 characters. Please give complete data for table2
    Test file
    100WELCOME 0430000960603201321
    <b>2000000000040008000803</b>
    Table2.fieldFixedLengths: 1,10,10,10,3,3,4,1,38
    Ragards
    vijaya
    Message was edited by: vijaya kumari

  • Question on File Content Conversion

    Hi all,
       I went through this blog(/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1) for File content conversion and I have a question regading File Content Conversion. Is it always neccessary to have the data type structure as File, Record, Row and then the fields. Is it always neccesary to maintain this level of hierarchy for File content conversion to work.

    Hi Sonia,
    For FCC sender or receiver if you want text with delimieter / csv file process.
    use the below parameters
    You would have to use the Document name ,namespace,record set name ,record strucutre name ( and occurrences also) and processing parameters in Sender side
    In receiver side Record structre, processing parameters.
    see below links to have more details..
    /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/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter -
    Regards
    Chilla

  • 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

Maybe you are looking for