Receiver File content conversion with nested structure

Hi Guys,
I have the below nested structure and have to convert it using receiver file content conversion.
<Header> [o, unbounded]
   <A>a</A>
   <B>b</B>
</Header>
<record>   [0, unbounded]
   <field1>
        <X1>x</X1>
        <Y1>y</Y1>
   </field1>
   <field2>
         <X2>x</X2>
         <Y2>y</Y2>
   </field2>
</record>
The file is a comma separated one. Please let me know how to configure the content conversion.
Thanks

Hi Mukesh,
Have a look at the Shabz's blog for the receiver File content conversion : File Adapter (Receiver) - Are we "really" sure about the concepts?
Thanks,
Pooja

Similar Messages

  • Receiver file Content Conversion with Header line

    Hi,
    Here I am doing receiver file content conversion with header line.
    I am able to get the output file correct, when I open the file in notepad the header line and data appearing in the same line (not accepted).
    But when I tried to open the name file in internet explorer I can see the header line and data in two different lines (accepted).
    What should I do I want to see the same output in the notepad?
    Please help me out.
    Thanks in advance,
    Srikanth.

    You can use NameA.addHeaderLine.
    Specify whether the text file will have a header line with column names. The following values are permitted:
    0 u2013 No header line
    1 u2013 Header line with column names from the XML document
    2 u2013 As for 1, followed by a blank line
    3 u2013 Header line is stored as NameA.headerLine in the configuration and is applied
    4 u2013 As for 3, followed by a blank line
    The below weblinks will help you to know the other paramters.
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/686e687f2a6d12e10000000a1553f6/content.htm

  • 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

  • How to do a sender File Content Conversion with this structure ?

    Hi SDN,
    I have a flat file with this format :
    header1
    header2
    headerN
    detail1
    detail2
    detailM
    header and detail are strings with differents lengths.
    There is no key field.
    What are the method to do a FCC with this structure ?
    thanks in advance
    Greg

    Hi,
    Here is my test data :
    3D10512224046N350 106500002000020083,450072413090545023500280242
    3D10512224142N388  63400012000120138,050062213030641032902310041
    3D10512224143N355 191600009000080333,850062914360806045901430124
    3D105122230127/014046N 106501080015301051222084500170000,6894840047,4027610101
    3D105122233970/014046N 106501090011001051222105800110000,6895330047,3884300102
    3D105122228864/014142N  63402050008301051222065900080000,7999170047,3951100101
    3D105122210381/014142N  63401073011001051222071500190000,7397000047,3853100102
    3D105122210668/014142N  63403070011591051222081200100000,8302500047,3871200103
    3D105122210342/014142N  63405073011591051222082700130000,8269000047,3866200104
    3D105122223934/014142N  63404073011301051222085100120000,8365170047,3757800105
    3D105122210380/014142N  63409063011591051222092900120000,9868670047,3974300106
    3D105122201670/014142N  63406050011591051222100000110000,9861830047,5372000107
    3D105122210514/014142N  63410073011001051222103300070000,9895830047,4272700108
    3D105122201339/014142N  63407090014301051222105300190000,9831410047,4126660109
    3D105122204940/014142N  63408073014301051222111700150001,0161500047,4243200110
    3D105122225675/014142N  63411090012001051222121100191000,7733330047,3888700111
    3D105122205447/014142N  63401080012001051222123800061000,7442170047,3867100112
    3D105122216716/014143N 191601080011001051222074300091000,2266940047,8758400101
    3D105122222952/014143N 191601073011301051222081800360000,3559120047,9371010102
    3D105122225232/014143N 191601063014001051222090600130000,4123830047,8753300103
    3D105122216516/014143N 191601083012001051222095700080000,4648000047,8643300104
    3D105122230377/014143N 191601070012001051222100700040000,4714830047,8638500105
    3D105122221885/014143N 191601073012001051222104500130000,5358330048,0378500106
    3D105122208380/014143N 191601071517001051222122500110000,5779500047,7382700107
    3D105122224171/014143N 191601070011001051222124300081000,6140330047,7543800108
    There is no key code because the data are different depending on the companies in my group.
    Greg

  • Sender File Content Conversion with re-occuring record pairs

    Hi,
    Our FCC works fine with the following structure:
    Header1: H1F1, H1F2, H1F3,... (1:1)
    Header2: H2F1,H2F2,H2F3,..... (1:1)
    Notes: NF1,NF2,NF3,.............(1:1)
    Line1:L1F1,L1F2,L1F3,.............(1:N)
    Line1:L1F1,L1F2,L1F3,
    Line1:L1F1,L1F2,L1F3,
    Line1:L1F1,L1F2,L1F3
    Line2:L2F1,L2F2,L2F3,............(1:N)
    Line2:L2F1,L2F2,L2F3,
    Line2:L2F1,L2F2,L2F3,
    Line2:L2F1,L2F2,L2F3,
    But we have structure as below:
    Header1: H1F1, H1F2, H1F3,... (1:1)
    Header2: H2F1,H2F2,H2F3,..... (1:1)
    Notes: NF1,NF2,NF3,.............(1:1)
    Line1:L1F1,L1F2,L1F3,.............(1:N)
    Line2:L2F1,L2F2,L2F3,.............(1:N)
    Line1:L1F1,L1F2,L1F3,
    Line2:L2F1,L2F2,L2F3,
    Line1:L1F1,L1F2,L1F3,
    Line2:L2F1,L2F2,L2F3,
    Line1:L1F1,L1F2,L1F3,
    Line2:L2F1,L2F2,L2F3,
    Lin1 and Line2 occur as multiple pairs making it as multiple line items. When we use content conversion parameters as below:
    Header1.fieldNames          H1F1,H1F2,H1F2,...
    Header1.fieldFixedLengths     10,5,10,.....
    Header1.keyFieldValue          H1 
    Header1.keyFieldInStructure     add
    Header1.endSeparator          'nl'
    Header1.lastFieldsOptional     YES
    and same for Header2, Notes, Line1, Line2
    It picks up only first Header1, Header2, Notes, Line1 and Line2 in a recordset.
    Does anyone have idea how could we do this content conversion? Any help would be appreciated.
    Reagrds,
    N@v!n

    Hi Navin,
    You can check the below links :-
    Complex File Content Conversion - with random multiple occurrences
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
    Complex content conversion File sender
    These might be of some help.
    Regards,
    Rohit

  • Can External Definition be used or Receiver File content conversion (CSV)?

    Hi Experts,
    I'm a newbie to SAP PI and I started working on file to File(FCC) scenario in which I am provided with the receiver structure as an External definition. The structure is like
    Name
    Place
    Designation
    Salary
    hike
    Can I use the same structure (External Definition) for the receiver file content conversion or do I need to create another specific structure?
    Can I convert the target CSV file to UTF-8 encoding?
    Please help.
    Regards,
    Taro

    Hi,
    Can the above specified structure be used for receiver FCC? Does this work? Can this be converted to UTF-8?
    If it can be used, how do we specify the parameters for FCC then as there's no root element?
    Regards,
    Taro

  • File Content Conversion for complex structure

    Hi
    I have a requirement to repeat a structure consisting of three lines i.e the segment  containing these 3 lines will have occurrence 0....unbounded and will be repeated in the File multiple times ,
    What is the level that can be handled in File Content Conversion's recordset structure ?
    My issue is that  the structure is
    Dt_File -> Repeating Level1->Level2 ->Field1
                                                ->Level2a->Field3
                                                -> Level2b->Field5
    where the first level is DT_File
    under which I have RepeatingLevel1 as a SubElement
    and under Repeating level I have Level2 , Level2a and Level2b at its subelementsl
    and under Level2 I have Field1 , Under Level2a i have Field3 and under Levle 2b i have Field5
    How do i handle this in the Content Conversion ?? as in how do I create my Recordset Structure ?? as it just handles one level below the Document Name (i,e) Message Type)
    Is it possible ??? or should i consider some other way to constuct my data type ??
    Thanks
    Dev

    Hi Tarang
    My DT according to the target file structure is this :
    DT_File
    >Main1(1,1)
    >Main2(1,1)
    >Main3(0...unbounded)
    >Record1(1,1)
    >Field1
    >Field2
    >Field3
    >Record2(1,1)
    >Field4
    >Field5
    >Record3(1,1)
    >Field6
    >Field7
    SO I want to confirm if the receiver FCC will be   -     Main1,Main2,Main3,Record1,Record2,Record3
    Record1.fieldSeparator  ,
    Record1.endSeparator     'nl'
    Record2.fieldSeparator  ,
    Record2.endSeparator     'nl'
    Record3.fieldSeparator  ,
    Record3.endSeparator     'nl'
    or                                                                   Main1,Main2,Record1,Record2,Record3
    Thanks
    Dev

  • File Content Conversion - Creating Mulitple structured Flat Files

    Hello,
           I am trying to create a flat file using File content Conversion.For simple XML strcutures like
    <Header>
    </Header>
       <Item>
       </Item>
    <Trailer>
    </Trailer>
    the file content conversion works fine. But whe the XML structure gets complicated like
    <Header>
    </Header>
       <Item>
          <Item_Detail>
          </Item_Detail>
       </Item>
    <Trailer>
    </Trailer>
    or
    <Header>
    </Header>
       <Item>
          <Item_Detail_1>
               <Item_Detail_2>
               </Item_Detail_2>
          </Item_Detail_1>
       </Item>
    <Trailer>
    </Trailer>
    I am not able to create the correct flat file with the Item_Detail information.How can I do the same ?
    Regards,
    Sandeep

    well same in the receiver side too....
    REF: http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    and sorry abt the earlier blogs, u can chk out the one below ....
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

  • Receiver File content conversion

    Hello All
    I am trying to convert the XML file into the text file, my XML file is of the following structure...
    <root>
      <data>
        <details>
        </details>
        <details>
        </details>
      </data>
      <data>
        <details>
        </details>
        <details>
        </details>
      </data>
      <trailer>
      </trailer>
    </root>
    into the following flat structure
    <data><details><details>---
    <data><details><details>---
    <trailer>
    for this i have done the following content conversion settings
    Recordset Structure: data,details,trailer
    data.addHeaderLine           0
    data.fieldFixedLengths       1,8,6,8,8,1,3
    data.endSeparator            'nl'
    details.addHeaderLine        0
    details.fieldSeparator       ,
    details.endSeparator         'nl'
    trailer.addHeaderLine        0
    trailer.fieldFixedLengths    1,3,6
    trailer.endSeparator         'nl'
    but actually i do not need the 'nl' for details.endSeparator, but i am not able to find out any other value which i could provide here, as default value is 'nl', i also do not want to "," for details.fieldseparatoe, but when i change this with fieldFixedLengths, i get the error
    "Error: Message processing failed with java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '015')', probably configuration error in file adapter (XML parser error)'"
    kindly help me in finding out the mistake i am doing...
    Regards
    Dheeraj

    hi Dheeraj,
    I feel you handle this situation in mapping by creating the reciever structure similar to given below.
    <root>
    <data>
      <field1/>
      <detfield1/>
      <detfield2/>
    </data>
    <trailer>
    <count/>
    </trailer>
    <root>
    <field1/>  <detfield1/>  <detfield2/> are at the same level children of <data>
    Map the occurence of <data> element (target structure) per occurence of <data> element(sender XML structure)
    By content conversion you will be able the desired output.
    Now you have 2 record set structure
    Data and trailer.
    Hope it helps,
    cheers,
    Satish

  • Receiver File content conversion for multi level hireachy

    Receiver channel file content conversion..
    this is SAP proxy to FIle Scenario, which will get invoice details from SAP along with multiple invoice texts for each invoice.
    I would like to have below mentioned payload at Target side,
    <MT_Invoice>
    <File Header>    1...1
    <f1> customer invoices </f1>
    <f2> 12/02/2010 </f2>
    </File Header>
    <Invocie header> 
    <f1> Invoice number1 </f1>
    <f2> customer number1 </f2>
    </Invoice header>
    <Invoice text>
    <f1> Inovice no1-text1 </f1>
    </Invoice text>
    <Invoice text>
    <f1> Inovice no1-text2 </f1>
    </Invoice text>
    <Invocie header> 
    <f1> Invoice number2 </f1>
    <f2> customer number2 </f2>
    </Invoice header>
    <Invoice text>
    <f1> Inovice no2-text1 </f1>
    </Invoice text>
    <Invoice text>
    <f1> Inovice no2-text2 </f1>
    </Invoice text>
    <Invocie header> 
    <f1> Invoice number3 </f1>
    <f2> customer number3 </f2>
    </Invoice header>
    <Invoice text>
    <f1> Inovice no3-text1 </f1>
    </Invoice text>
    <Footer> 1..1
    <f1> have a great day </f1>
    </footer>
    </MT_Invoice>
    for the above payload file should come as mentioned below
    customer invoices 12/02/2010
    invocie number1 customer no 1
    invoice no1-text1
    invoice no1-text2
    invocie number2 customer no 2
    invoice no2-text1
    invoice no2-text2
    invoice no2-text3
    invocie number3 customer no 3
    invoice no3-text1
    have a great day
    For to get the above payloadI have create a message type like
    MT_invoice
    header   1...1
       f1         1
       f2         1
    invoice details   0... unbound
       f1           1
       f2           1
    invoice text     0.... unbound
       f1
    footer       1...1
       f1          1
    Please correct me if my message type declaration was wrong...  
    Please suggest how do i need to approach for message mapping and as well as FCC in File adapter...
    Edited by: Vidyadhar Kurmala on Dec 2, 2010 10:28 AM

    It is not possible to create alternating nodes in graphical mapping tool.
    I recommend using the MessageTransformBean for FCC, as this supports a 2-level hierarchy.
    Then you add a node record like this:
    <MT_Invoice>
    <Record>
    <File Header> 1...1
    <f1> customer invoices </f1>
    <f2> 12/02/2010 </f2>
    </File Header>
    </Record>
    <Record>
    <Invocie header>
    <f1> Invoice number1 </f1>
    <f2> customer number1 </f2>
    </Invoice header>
    <Invoice text>
    <f1> Inovice no1-text1 </f1>
    </Invoice text>
    <Invoice text>
    <f1> Inovice no1-text2 </f1>
    </Invoice text>
    </Record>
    <Record>
    <Invocie header>
    <f1> Invoice number2 </f1>
    <f2> customer number2 </f2>
    </Invoice header>
    <Invoice text>
    <f1> Inovice no2-text1 </f1>
    </Invoice text>
    <Invoice text>
    <f1> Inovice no2-text2 </f1>
    </Invoice text>
    <Invocie header>
    <f1> Invoice number3 </f1>
    <f2> customer number3 </f2>
    </Invoice header>
    <Invoice text>
    <f1> Inovice no3-text1 </f1>
    </Invoice text>
    </Record>
    <Record>
    <Footer> 1..1
    <f1> have a great day </f1>
    </footer>
    </Record>
    </MT_Invoice>

  • Receiver File content conversion - NO Output

    Hi, yesterday i posted already to this topic but i chose to make a new thread.
    I have an IDoc2File Scenario where i put the generated File to the filesystem of the XI-Server.
    I try to do a file content conversion at the receiver side. I already read several blogs and also the official documentation (which is kind of bad - because the arne't posted all supported parameters which could be used on the recordset)
    But anyway, the is a txt file written but without any details inside, no data is deliverd.
    I do a message mapping and try to put only some data to the end-file.
    here is my MT which i try to convert:
    MT_Tafel
    ++TafelRecordset
    +++TafelDetailsStructure
    ++++TAFIST
    ++++TAFSOLL
    My parameters at the receiver communication channel are:
    Recordset: TafelDetailsStructure
    TafelDetailsStructure.endSeparator = 'nl'
    TafelDetailsStructure.addHeader = 0
    TafelDetailsStructure.fieldSeparator = ,
    I have the right message protocol, i am trying to write a simple text file, i have no file-coding like ASCII, file is directly written into an empty one - and that's all.
    The file is written but without data inside.
    Do i have to announce the filednames i want to write? Like TafelDetailsStructure.fieldNames??
    Do i have to add Parameters concerning the tags on the higher level, like TafelRecordset?
    Is there a general overview about all parameters you can use on this file content conversion?
    Can anybody help me with my scenario - i have no clue what i have done wrong. Communcation channel says everthing is fine, message succesfully transfered.
    best regards, Jens

    hi,
    you need to mention the names of the field by
    TafelDetailsStructure.fieldNames where u need to specify the filed names.
    and also chk the similar thread
    content conversion
    plsz check the blog
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    check this like below,
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    hope this helps,
    kvr
    Message was edited by:
            PrasadBabu Koribilli

  • Receiver File Content Conversion - Multiple Hier. Levels, Several Files

    you can create several files using single message execution.
    one source message structure and target multiple messgae types(0..1) occurance
    and same thing you can implement in your Interface mapping.
    1 -> Multiple Inbound interfaces
    your target final strcture would be with Header,lineitems.
    your JDBC->XI Intermedicate.
         XI Intermediate ->XI final (this final structure will create the your file)
    that way you can design your scenario.
    Regards,
    Venu.

    Hello Venu, thanks for answering,
    When you talk about intermediate structure you are referring to the approach I mentioned in the link above or to something that can be done using the same scenario structure I have right now?
    I am going I little bit deeper in my scenario just in case I havent been so clear in my first explanation:
    Lets suppose I have 3 stores: 1001,1002,1003
    For each store there are 2 items: 999,888
    So XI retrieves the information from the DB thru a stored procedure. This is the output:
    STORE--PLU
    1001--999
    1001--888
    1002--999
    1002--888
    1003--999
    1003--888
    Please note the information is coming in a flat structure. In the beginning I tried to separate it into several outputs (selects) as shown below but I relaized that was not possible to be handled by XI:
    STORE--PLU
    query 1
    1001--999
    1001--888
    query2
    1002--999
    1002--888
    query
    1003--999
    1003--888
    That would have been the best approach as I would have generated one single file for each message and thats it, but unfortunately, Xi does not work that way with MSSQL Queries. So I had to made something up based on the answers I got from the SDN experts (Link is below in first message). There was when I used context handling for generating the structures myself within one single message.
    In the scenario shown above I would have just needed to generate the following structure for creating messages from the source:
    Level1: Main Node
    Level 2: Header
    Level 2: Body
    But now, As I am forced to generate my 3 structures within 1 single message, I had to insert one more node to wrap header and body in per iteration (as a file would do):
    Level1: Main Node
    Level2: File
    Level3: Header
    Level3: Body
    And that is the problem I am asking help for, that allegedly, XI File Content conversion can just handle up to 2 levels.
    Thanks again for answering Venu.
    Regards.
    Edited by: Anibal Granado on May 12, 2010 11:34 PM

  • Receiver File Content Conversion concerns

    Dear SAP experts,
    Need your advise regarding File Content Conversion.
    I have here the XML,
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:CSV xmlns:ns0="http://pg.com/xi/tom/connect/edi">
    <SLI_root> ---> this is the root node of 'CSVFileName' and 'SLI'
    <CSVFileName>Globus_20080306</CSVFileName>
    <SLI> ---> this is the root node of the below fields
    <PERIO>20071222</PERIO>
    <EAN>737052018164</EAN>
    <ILN>4304452000004</ILN>
    <SALES>16</SALES>
    <TURNO>120</TURNO>
    <PERFL>W</PERFL>
    <SUBSFL>X</SUBSFL>
    <SALUN>ST</SALUN>
    <CURRENCY>EUR</CURRENCY>
    <STOCK>000000000</STOCK>
    <STOUN>ST</STOUN>
    </SLI>
    <SLI>
    <PERIO>20071222</PERIO>
    <EAN>737052018232</EAN>
    <ILN>4304452000004</ILN>
    <SALES>3</SALES>
    <TURNO>38.699997</TURNO>
    <PERFL>W</PERFL>
    <SUBSFL>X</SUBSFL>
    <SALUN>ST</SALUN>
    <CURRENCY>EUR</CURRENCY>
    <STOCK>000000000</STOCK>
    <STOUN>ST</STOUN>
    </SLI>
    <SLI>
    </SLI_root>
    </ns0:CSV>
    CSV --> The Message Type of the XML.
    SLI_root is under CSV
    CSVFileName and SLI are under SLI_root
    PERIO, EAN, ILN.. etc. are under SLI
    SLI_root is under CSV.
    CSVFileName and SLI are under SLI_root.
    PERIO, EAN, ILN,... fields are under SLI.
    The parameters i've set in Content Conversion are:
    Recordset Substructure: SLI_root,SLI
    SLI_root.endSeparator: 'nl'
    SLI_root.fieldSeparator: 'nl'
    SLI.addHeaderLine: 3
    SLI.headerLine: PERIO;EAN;ILN...
    SLI.fieldSeparator: ;
    My output should be,
    PERIO;EAN;ILN;SALES;TURNO;PERFL;SUBSFL;SALUN;CURRENCY;STOCK;STOUN
    20071222;737052018164;4304452000004;16;120;W;X;ST;EUR;00000000;ST
    20071222;737052018164;4304452000004;16;120;W;X;ST;EUR;00000000;ST
    20071222;737052018164;4304452000004;16;120;W;X;ST;EUR;00000000;ST
    The parameters i've set in Content Conversion are:
    SLI_root.endSeparator: 'nl'
    SLI_root.fieldSeparator: 'nl'
    SLI.addHeaderLine: 3
    SLI.headerLine: PERIO;EAN;ILN...
    SLI.fieldSeparator: ;
    SLI.endSeparator: 'nl'
    When i've run my scenario, the output is this,
    Globus_20080306;20071222;737052018164;4304452000004;16;120;W;X;ST;EUR;000000000;ST
    20071222;737052018232;4304452000004;3;38.699997;W;X;ST;EUR;000000000;ST
    20071222;737052018263;4304452000004;1;12.9;W;X;ST;EUR;000000000;ST
    20071222;737052018294;4304452000004;1;10.45;W;X;ST;EUR;000000000;ST
    The header lines are not present and the value of CSVFileName (Globus_20080306) was inserted in my values.
    Kindly advise what is wrong on my parameters set.
    Or is there something missing in my configs.
    Or i will change my structure of XML ?
    Thank you very much!
    Fred

    Hi Raj,
    Im just 4months working in SAP XI, and i still consider myself as a beginner.
    I've only used Receiver File Adapter in my scenario (NO Sender File Adapter)
    These are the configurations i've made in the Receiver File Comm Channel.
    For the Parameters TAB:
    File Receiver
    Transport Protocol: File System (NFS)
    Message Protocol: File Content Conversion
    Adapter Engine: Integration Server
    File Access Parameters:
    Target Directory: * specified directory
    File Name Scheme: .csv
    Processing Parameters:
    File Construction Mode: Create
    Write Mode: Directly
    File Type: Text
    Adapter-Specific Message Attributes
    - Use Adapter-Specific Message Attributes
    - File Name
    Run Operating System Command After Message Processing
    Command Line: chmod 664 %F
    Content Conversion Parameters:
    Recordset Structure: SLI
    SLI.addHeaderLine: 3
    SLI.headerLine: PERIO;EAN;ILN;....
    SLI.field Separator: ;
    SLI.endSeparator: 'nl'
    Adapter Status: Active
    For the Identifiers TAB: (i've had no configs on that)
    For the Module TAB:
    Processing Sequence:
    Number: 1
    Module Name: CallSapAdapter
    Type: Local Enterprise Bean
    Module Key: 0
    That's all in my configs in Receiver File Adapter.
    Is it ok if you check this?
    I've read a SAP Blogs, https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6400. [original link is broken] [original link is broken] [original link is broken]
    I've read in it that there must be set-up in the Module TAB to get the Filename in the Dynamic Configuration.
    Kindly advise.
    Thank you very much for your usual support.
    Fred

  • Sender File Content Conversion with headerline

    Hi,
    Is it possible to do via the sender file content conversion in the file adaptor for the following flat file?
    Inbound flatfile format:-
    FILEHEADER
    HEADER1
    DETAILS1
    DETAILS2
    DETAILS3
    HEADER2
    DETAILS1
    DETAILS2
    DETAILS3
    Target XML file format:-
    <XML>
    <FILEHEADER></FILEHEADER>     occurrence 1
    <RECORDSET>                occurence *
       <HEADER></HEADER>     occurence 1
       <DETAILS></DETAILS>    occurence *
    </RECORDSET>
    </XML>
    Edited by: Bee Huat, Leonard Yong on Oct 16, 2008 10:52 AM

    I've read through all the blogs, and have no leads on how to get this done?
    I tried putting the following into the recordset.  FileHeader, 1, Header, 1, Details, *
    But it does'nt seem to work, the above is expecting the Fileheader and header to be repeated in the file to be sent.
    My file is in the following format.
    Fileheader
    Header1
    Details1
    Details2
    Details3
    Header2
    Details1
    Details2
    Details3
    I need the following XML format
    <XML>
    <Fileheader>
    <invoice>
       <header1>
          <details1>
          <details2>
          <details3>
      </header1>
    </invoice>
    <invoice>
       <header2>
          <details1>
          <details2>
          <details3>
         </header2>
    </invoice>
    </XML>
    Edited by: Bee Huat, Leonard Yong on Oct 16, 2008 5:34 PM

  • File adapter:  Receiver File Content Conversion problem.. XML to CSV..!!

    Hi,
    I am facing some problem in FCC for Receiver adapter. It has to convert from XML to CSV File.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:PaymentFull_Target xmlns:ns0="http://sdn.com/Payment">
    - <RECORDSET>
    - <Header>
      <LineItem>1</LineItem>
      <SaleNumber>102</SaleNumber>
      <TransNumber>105</TransNumber>
      <Store>1326</Store>
      <variant>Z6</variant>
      <TransType>NEW</TransType>
      <Adjustm_Type />
    </Header>
    - <Header>
      <LineItem>2</LineItem>
      <SaleNumber>102</SaleNumber>
      <TransNumber>105</TransNumber>
      <Store>1326</Store>
      <variant>Z6</variant>
      <TransType>NEW</TransType>
      <Adjustm_Type />
    </Header>
    - <Header>
      <LineItem>3</LineItem>
      <SaleNumber>102</SaleNumber>
      <TransNumber>105</TransNumber>
      <Store>1326</Store>
      <variant>Z6</variant>
      <TransType>NEW</TransType>
      <Adjustm_Type />
    </Header>
    </RECORDSET>
    </ns0:PaymentFull_Target>
    Output File is coming only with lineitem values , remaining fields are not coming.
    *1,2,3*
    FCC Used...
    RecordSet Structure -- Header
    Header.fieldNames -
    LineItem,SaleNumber,TransNumber,Store,variant,TransType,Adjustm_Type
    Header.fieldSeparator-----   ,
    Header.endSeparator-----    'nl'
    Did I miss anything.. any idea whats going wrong?
    Thanks
    Deepthi

    Hi Deepthi,
    Mention the occurrence of header in Recordset
    You specify like this:
    Recordset: Header, *
    Header.fieldSeparator : u2018Field Separatoru2019
    -->For FCC on Receiver side you donu2019t have to mention the field names.
    -->The u2018endSeparatoru2019 parameter needs to given for substructure only
    Check this links:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    Rgds,
    Akhila

Maybe you are looking for

  • Process ord confirmation date

    Hi all, I am making a Zreport in PP for the client. In the report output there is one column named as "Actual finish date" which as the name suggests is the process order finished date for confirmation. For this I am using "GLTRIactual finish date" f

  • 5.1 Surround Speakers and TV/NTSC Monitor connection

    I have a Dual 2.0 G5 that's a few years old but has an optical audio jack. I'm going to be editing a movie soon and would like to know if anyone could suggest a 5.1 Surround Sound speaker system that I would be able to connect to the computer. I've f

  • *some* websites do not display in iphone friendly format

    Foxnews.com, facebook.com, and yahoo.com all recognize my iphone and display accordingly. Baylorbears.com does not. -My first iphone baylorbears.com would display the same as the others, in an iphone friendly format. -My friends phones display it in

  • How do I create a simple cartoon animation in Photoshop and transfer it into AE for better timing?

    The title. I was wanting to make my own animation from scratch. I've always heard though that Photoshop didn't have good timing, so I was wondering how I could use AE for the timing.

  • Error using transaction CTBW_META

    Hello, I try to use CTBW_META to enhance 0MATERIAL_ATTR with classification. The new datasource in bw 1CL_OMAT001 work find. i can retrieve the data. But the datasource is not present in the table RSOLTPSOURCE when i try to use this datasource in CTB