Content Conversion in sender channel

Hi,
I am having file to proxy scenario. Input file is a .txt file, which is having this type of data
111111   0000000  AAAAAAAA   BBBBBBBBBBBBBBBBBBBB
222222222222222   CCCCCCCCCCCC   1111111111111111111112222
I want to pick this file from FTP and put all the content of txt file in one single field of data type.What content conversion parameters needs to be set in this case.
Thanks.

Hi Pothana,
Thanks for your efforts.I have one doubt here.As you said that we can do this in mapping.but if I want to try this in mapping, the input payload tags must have the spaces at the start of the tag.But my problem is I am not able to read that spaces from text file itself.e.g. if my i/p txt file is
AAAAA BBBBBBBBBBBB
CCCCCCCCCCCC  DDDDDD
1111111111111111 22222
the i/p payload in moni looks like this
<Record>
<Content>AAAAA BBBBBBBBBBBB</Content>
</Record>
<Record>
<Content>CCCCCCCCCCCC  DDDDDD</Content>
</Record>
<Record>
<Content>1111111111111111 22222</Content>
</Record>
It ignores that line gap. neither its giving me a empty content tag for each line gap, nor it is appending the spaces at the start of second and third tag value.
Please provide your inputs.
Thanks.

Similar Messages

  • File Content Conversion for Sender Channel

    Hi Experts,
          We are using SAP - PI 7.11 system. We have a scenario where we wld be getting 7-8 records and the record structure repeats n no.of times in a flat-file and while converting the Flat -File data into XML data we are facing an issue , explained below with an example :
    HEADER :  KeyField , f2, f3, f4, f5, f6, f7, f8
    RECORD1 : f1, f2, KeyField , f3, f4, f5, f6, f7 , f8
    RECORD2 : f1, f2, f3, f4, KeyField, f5, f6, f7, f8
    TRAILER : keyField, f1, f2, f3, f4,f5, f6, f7, f8.
      Its a fixed length flat - flie. Now the problem is : we have KeyField Value for RECORD1 as '0' and when the f3 of TRAILER is '0' the record is getting formed as RECORD1 instead TRAILER even i get proper keyField value for TRAILER RECORD. Could you please tell me why its happenning so ? And please provide the solution for this. I have used all the parameters like : fieldNames, fieldfixedLengths, keyFieldValue, endSeparator and ignoreRecordsetname and lastFieldOptional and fromConfiguration.
    But still i am not able to get the proper XML out of this flat - file. Could you please suggest any solution for this asap.
    Thanks & Best Regards,
    Lakshman

    Most of the configuration seems fine,
    Just validate your configuration against below configuration, which is working fine for me,
    Recordset Structure : HEADER, 1, RECORD1, ,RECORD2,,TRAILER,1
    Recordset Sequence : Ascending
    Recordsets per message : *
    Key Field Name : recid
    Key Field type : string
    HEADER.fieldFixedLengths     *********************
    HEADER.endSeparator     'nl'
    HEADER.fieldNames     ************************
    HEADER.keyFieldValue     01
    HEADER.keyFieldlnStructure     add
    HEADER.lastFieldsOptional     YES
    -santosh.

  • Content Conversion in receiver channel

    Hi all,
    I have a proxy to FTP scenario with no mapping involved.Over proxy communication PI is receiving the data, I am creating the CSV file using content conversion in receiver channel and placing the file at FTP.
    The file name is coming in one of the field of the input xml,I am using variable substitution and setting the file name from that particular field value.But as I don't want that node and file name element in my output file content, please guide me what parameters can I set in my content conversion to remove the FileNode from o/p csv file.
    The sample input xml is
    <MT>
    <Record>
    <Field1>1</Filed1>
    <Field2>2</Filed2>
    </Record>
    <Record>
    <Field1>3</Filed1>
    <Field2>4</Filed2>
    </Record>
    <FileNode>
    <FileName>InutFile</FileName>
    </FileNode>
    </MT>
    I want output xml to be like
    1,2
    3,4
    I have followed this blog /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12 to cut the FileNode, but it gives an error in cc parameters.
    In my actual i/p payload,the Record is 0..unbounded and there are 50 sub elements inside Record element.
    Please provide your inputs.
    Thanks,
    Ruchi

    Hi Ruchi,
    Change your structure like this.
    MT>
    <Record>
    <Field1>1</Filed1>
    <Field2>2</Filed2>
    </Record>
    <Record>
    <Field1>3</Filed1>
    <Field2>4</Filed2>
    </Record>
    <FileNode>
    <FileName>InutFile</FileName>
    </FileNode>
    </MT>
    Dont put the filenode under Record.
    Also Add the below parameters.
    FileNode.fieldSeparator     '0'
    FileNode.endSeparator     '0'
    FileNode.fieldFixedLengths     0
    FileNode.fixedLengthTooShortHandling     Cut
    FileNode.fieldNames     FileName
    Now use the same parameter mentioned in the blog .Your problem will be resolved.

  • Content conversion in sender adapter.

    Hi,
    I have a problem with the content conversion in sender adapter.
    I need only process the csv file with the exact number of columns containing the structure, if the csv file contains more o less columns in the csv file, I want that this files are not relayed by the adapter and remain on the server.
    Thank you very much for your help.

    @ Hareen
    This can be achieved at mapping level. You need to check the number of columns that are comming in the file using Count function. If the number of count is equal to the value specified then will process the message else raises a mapping exception.
    Are you talking about "count" function in the message mapping? that function won't count the number of fields / columns, but would count the number of occurrence of a particular field.

  • File content conversion on Sender Side

    Hi,
    I am doing file content conversion on sender side.when i am executing the scenario,i am getting the following error in sxmb_moni:
    Invalid at the top level of the document. Error processing resource 'file:///D:/Documents and Settings/...............
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Inbound Message --> DOC_HEADER                     ...
    when i right click on the pyaload and select view source
    its displaying the whole flat file with the following line at the beginning:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Inbound Message -->
    i have given all the parameters correctly....
    in sxmb_moni.....the error category is Mapping and the error id id EXCEPTION_DURING_EXECUTE
    Please help me with this error.
    thanks n regards,
    anuradha

    Hi !!
    The best way to debug would be to add TRACE statements in your mappigs. In both Graphical and java Mapping.
    Trace out the entire output of java mapping and see if this is the input that the next mapping expects.
    For trace , http://help.sap.com/saphelp_nw04/helpdata/en/c8/98e7d5c1620642973565ea3dd319d1/content.htm
    refr this links also
    Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Name expected
    unsported character error in message mapping
    Re: HTTP to RFC Mapping error:com.sap.aii.utilxi.misc.api.BaseRuntimeException:
    Exception com.sap.aii.utilxi.misc.api.BaseRuntimeException
    Re: Outbound error
    Re: mapping error
    error in file to file
    have a look at this weblog on how to test your mapping
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    Thanks !!!

  • Content Conversion for Sending Communication Channel using File Protocol

    I have a file as follows:
    CUSC,CRCA,OBAL,DATE
    10197,0111,15250094.05,20071008
    10758,0111,8131440.17,20071008
    12939,0111,8212006.53,20071008
    13129,0111,6953749.77,20071008
    13331,0111,8607294.15,20071008
    13579,0111,11972774.95,20071008
    13676,0111,6636698.47,20071008
    What is the content conversion that I can proceed with so that I can go with the mapping. I have to use File Adapter?
    Please Help

    Hi,
    Check below links for Content conversion.
    /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

  • Content conversion in Sender JMS channel

    Hello All,
    My scenario is JMS to Proxy. SAP PI receives a flat file from JMS application.
    Can any one please help us on converting flat file to XML conversion within sender JMS adapter
    Thanks&Regards,
    Moorthy

    Hi
    Check this
    conversion type StructPlain2XML
    conversion type SimplePlain2XML

  • Regarding file content conversion in Sender File channel

    Hi all,
    In one of my requirement, one file contains several details records as given below,
    101,india,1001,albert,517193
    101,india,1002,hilbert,517193
    101,india,1003,robert,517193
    102,nepal,1004,kiran,9234334
    102,nepal,1008,kiran,9234334
    102,nepal,1003,kiran,9234334
    103,nepal,1004,kiran,9234334
    103,nepal,1008,kiran,9234334
    103,nepal,1003,kiran,9234334
    i want to send all the records which starts with 101 to one function module and all records which starts with 102 to another function module and all records which start with 103 to some other function module. In my sender channel i am planning to use
    101, 102, 103 as key field values to read them into 3 different structures.
    like Recordsset structure =  detail1,, detail2,,detail3,*.
    Details1.keyfieldvalue = 101
    Details2.keyfieldvalue = 102
    Details3.keyfieldvalue = 103
    Will this idea work out??
    Thanks,
    Balu

    Hi Balu,
    Yes u r correct, u can access the records by setting the key field value as u mentioned.
    But other way is also by,
    access the all records as similar one, so no key field value.
    the whole record as a single element.In the mapping u have a string function called StartsWith.
    In mapping u can specify if the incoming record starts with 101 then map it to FM1(Fumction Module 1).
    If the record starts with 102 map it to FM2......
    This will be very simpler i feel...
    If i am nt clear pl do post the problem in detail.
    Babu

  • File Content Conversion in Sender File Adapter

    Hi,
    I am implementing a scenario, where I need to do Content conversion in My file Adapter.My input file is as follows
    BGN00S-A200711281003ET4
    REF38381012
    DTP007D820071128
    N1P5P5MicrosoftFI58-0612397
    INSY18030XNAN
    REFZZZZ666666666
    DTP336D819970331
    NM1ILIL1AdamsMarkE34666666666
    PERIPIPHP770555-5555
    N31470 Georgia Club Drive
    N4StathamGA30666
    DMGD819571022MM7
    HD030HLTAE1D
    My data type is as below.
    <header>
         <BGN>
              <A></A>
              <B></B>
              <C></C>
              <D></D>
         </BGN>
         <REF>
              <A1></A1>
              <B1></B1>
              <C1></C1>
              <D1></D1>
         </REF>
         <DTP>
              <A2></A2>
              <B2></B2>
              <C2></C2>
              <D2></D2>
         </DTP>
    </header>
    <Content>
         <N1>
              <A></A>
              <B></B>
              <C></C>
              <D></D>
         </N1>
         <REFAR>
              <A1></A1>
              <B1></B1>
              <C1></C1>
              <D1></D1>
         </REFAR>
         <DMP>
              <A2></A2>
              <B2></B2>
              <C2></C2>
              <D2></D2>
         </DMP>
    </Content>
    My issue is, How do I set my parameter in Sender Comm channel for content conversion especially at record structure.
    I have provided the value as Header,1,Content,*
    But its not working.
    If I do provide like
    BGN_REC,,REF_REC,,DTP_REC,,N1_REC,,INS_REC,,NM1_REC,,PER_REC,,N3_REC,,N4_REC,,DMG_REC,,HD_REC,* then ,I am not getting above XML format. Please suggest or How can I modify my Data type which competes to configure in Channel
    Thanks
    Manmadha

    Hi All,
    I am sorry for the Jumbled Content. I dont know what happened.
    I should get the XML output as below.
    header>
         <BGN>
              <A></A>
              <B></B>
              <C></C>
              <D></D>
         </BGN>
         <REF>
              <A1></A1>
              <B1></B1>
              <C1></C1>
              <D1></D1>
         </REF>
         <DTP>
              <A2></A2>
              <B2></B2>
              <C2></C2>
              <D2></D2>
         </DTP>
    </header>
    <Content>
         <N1>
              <A></A>
              <B></B>
              <C></C>
              <D></D>
         </N1>
         <REFAR>
              <A1></A1>
              <B1></B1>
              <C1></C1>
              <D1></D1>
         </REFAR>
         <DMP>
              <A2></A2>
              <B2></B2>
              <C2></C2>
              <D2></D2>
         </DMP>
    </Content>

  • 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

  • Supress Column Heading - File Content Conversion in Sender Adapter

    Hi,
    Let me give a more clear picture about my scenario.  I need to convert CSV File to XML output:-
    My source file has column heading and values.  The sample data is mentioned hereunder:-
    PERNR;KID;PNALT;NACHN;NAME2;VORNA
    ;1200;1200;Angus
    I have created a data type as under:-
    DT_LegacyEmployee (Category - Complex Type)
         Employees (Category - Element, Occurence - 1)
              Header (Category - Element, Occurence - 0...1)
                   PERNR_H
                   KID_H
                   PNALT_H
                   NACHN_H
                   NAME2_H
                   VORNA_H
              Employee (Categroy - Element, Type - DT_LegacyEmployee_Row, Occurence - 0...unbounded)
                   PERNR
                   KID
                   PNALT
                   NACHN
                   NAME2
                   VORNA
    The file conversion parameters in the file sender adapter are mentioned hereunder:-
    Document Name - MT_LegacyEmployee
    Document Namespace - http://abc.com/xi
    Recordset Name - Employees
    Rescordset Structure - Header,1,Employee,*
    Recordsets per Message - 1
    Key Field Type - String (Case Sensitive)
    Employee.fieldSeparator - ;
    Employee.endSeparator - 'nl'
    Employee.fieldNames - PERNR,KID,PNALT,NACHN,NAME2,VORNA
    I dont' have a key field value.  How do we remove the header and show only the values in the xml output.  I have searched the forum topics as well checked many blogs related to file content conversion, but nothing helped.  Kindly advice how to fix this issue.  Thanks in advance.
    Regards.
    Praveen

    Hi Praveen,
    Change your File Adapter as below
    Document Name - MT_LegacyEmployee
    Document Namespace - http://abc.com/xi
    Recordset Name - Employees
    Rescordset Structure - Employee,*
    Recordsets per Message - 1
    Key Field Type - String (Case Sensitive)
    Employee.fieldSeparator - ;
    Employee.endSeparator - 'nl'
    Employee.fieldNames - PERNR,KID,PNALT,NACHN,NAME2,VORNA
    There is no need for the Header required in the data type.
    DT_LegacyEmployee (Category - Complex Type)
    Employees (Category - Element, Occurence - 1)
    Employee (Categroy - Element, Type - DT_LegacyEmployee_Row, Occurence - 0...unbounded)
    PERNR
    KID
    PNALT
    NACHN
    NAME2
    VORNA
    Now the trick is in the mapping program
    Lets assume your mapping looks like
    MT_LegacyEmployee ---> MT_TargetEmployee
    - Employees ---> Records
       - Employee ---> Record
         - PERNR  ---> TargetPERNR
         - .. so on
    When you do a mapping from Employee ---> Record apply the following logic.
    (PERNR)--->
                 (TestEquals =) --->(NOT)--->
    (Constant) --->                                (IF)
    (PERNR)                       (IF Without Else) ---> (Record)
                                                   (THEN)
                                (Employee)--->
    When doing this make sure RightClick on PERNR and Select Context ---> Employees.
    By default context would be from Employee and it will give you an error of XSD format. So make sure you are changing the context.

  • Content conversion in Sender JMS Adapter

    Hi,
    Scenario is file to IDoc
    My source file is   ' ; ' separated file coming from MQ via JMS adapter. now  I need to convert this to XI.
    Source DT looks like
    Root
    HEADER  (Occurance 1)
         Field 1
         ISOCURCD
         TRANKODE
         IDENTIFIER
         DATO
         TIME
    DETAIL(Occurance 1 to unbounded)
         ISOCURCD
         TRANKODE
         EFFDATE
         COMMDATE
         DKKVAL1
         USDVAL1
    TRAILER(Occurance 1)
         ISOCURCD
         TRANKODE
          TRANCOUNT
    According to How to use content conversion in JMS guide from SDN i have configured the content conversion parameters in the module of JMS sender adapter.
    In the processing sequence  given the module name as localejbs/AF_Modules/MessageTransformBean and module Key as Plain2XML.
    And in module configuration
    Parameter Name                      Parameter Value
    Transform.Class                          com.sap.aii.messaging.adapter.Conversion
    Transform.ContentType                     text/xml;charset=utf-8
    xml.keyFieldName                          TRANKODE
    xml.keyFieldType                          CaseSensitiveString
    xml.recordsetName                          Root
    xml.documentName                                   MT_ROOT
    xml.documentNamespace                          http://XXX.XXX.XX/xi/XXXXX
    xml.processFieldNames          fromConfiguration
    xml.conversionType                                   StructPlain2XML
    xml.recordsetStructure          HEADER,1,DETAIL,*,TRAILER,1
    xml.HEADER.fieldNames           Field1,ISOCURCD,TRANKODE,IDENTIFIER,DATO,TIME
    xml.HEADER.fieldSeparator                     ";"
    xml.HEADER.keyFieldValue                     H
    xml.fieldSeparator                                      ";"(if i don't use this then the file is not being picked and getting an error in the CC monitoring of RWB saying xml.field separator missing.)
    Similarily for Detail and Trailer records as well.
    But when I run the scenario, the file is being picked up but I am not getting any payload into the inbound message.
    Can you please help me where I have configured wrongly. And one more thing will this configuration help for ; separated file .
    Thanks & Regards,
    Kumar
    Edited by: Kumar on Dec 19, 2007 11:11 AM
    Edited by: Kumar on Dec 19, 2007 11:15 AM

    HI,
    Have you gone through the below pdf i think it will help to find ur mistake.
    How to use conversion modules in JMS - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Thnx
    Chiarg

  • File Content Conversion in Sender Adapater

    Hi Folks ,
    I am doing a file 2 file scneario using content conversion at  both end
    My i/p and o/p is file is tab delimited
    My source xml structure is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:file_sender_mt xmlns:ns0="urn:filetofiledemo">
       <recordset>
          <data1>
             <keyfield/>
             <age1/>
          </data1>
          <data>
             <name/>
             <keyfield/>
             <age/>
             <loc>
                <keyfield/>
             </loc>
          </data>
       </recordset>
    </ns0:file_sender_mt>
    Data and location have the mapping 1.. unbounded
    while data1 has the mapping 1.1
    When I am trying to read it as a tab delimited flat file.
    These are the parameters that i have set
    Document Name  file_sender_mt
    Document Namespace urn:filetofiledemo
    Recordset Name recordset
    Recordset Structure data1,1,data, ,loc,
    Key Field Name keyfield
    data1.fieldNames keyfield,age1
    ignoreRecordsetName true
    recordset.fieldSeparator '0'
    data1.fieldSeparator '0x09'
    data1.keyFieldValue 01
    data1.endSeparator '0'
    data.beginSeparator '0x09'
    data.fieldSeparator '0x09'
    data.fieldNames name,keyfield,age
    data.keyFieldValue 02
    loc.fieldSeparator '0x09'
    loc.beginSeparator '0x09'
    loc.endSeparator '0'
    loc.keyFieldValue 03
    loc.fieldNames keyfield
    My file is getting picked up . I dont see any message in message monitoring and neither anything in moni .
    No error in adapater
    but the file is not getting created .
    if i change the message protocol to file and send t above xml file . the scneario works fine
    any reasons for the above behaviour
    Thanks
    Amit

    I have found you cant use nested element in sender adapater
    so i have chnage my source structure to
    Now if i give my i/p file as
    01 age1
    02 25 03
    file is getting pciked up
    bt if i give it as
    01 age1 02 25 03
    which is the structure i expect my i/p file it is failing  to read with the error
    Error: Conversion of complete file content to XML format failed around position 0: Exception: ERROR converting document line no. 1 according to structure 'data1':java.lang.Exception: ERROR in configuration: more elements in file csv structure than field names specified!
    Does The special character ´0´ is not a separator character.
    not work for sender adapater bcoz in reciever i am able to get o/p in one line and tab delimited
    any idea
    and since i have given my keyfield as the second field in data
    02 would come at the second palce
    Thanks
    Amit

  • FCC (File Content conversion)-In sender

    Hi All,
    Using FCC in sender i need to convert text to xml.Such that my text file format is
    Line1
    Line2
    Line3
    All the three lines is having some data..My source data type structure is
    DT_Emp
    >Emp_Info
       >Header
          ID----
    (0..1)
       >Details
           Line----
    (0..unbounded)
    Now i need to get data from text file into only line element..My ID element should be blank..XML should have ID element but it should not be populated from input file.How to get this using FCC..Is there any parameters for this?
    Can anyone give some useful ideas
    Regards
    Venkat

    HI,
    For  FCC Check this 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

  • 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

Maybe you are looking for