Question about File Content Conversion and parent-child relationships...

Hello!
     I have read probably every blog, article and SAP Help document on the topic, but I am stuck on this one.  I am trying to convert a General Ledger flat file to an IDoc using the classic file --> IDoc scenario.  The setup is done and working, but the IDocs are formatted incorrectly and I believe at least part of the reason is how I am converting the file content. 
The root of my problem is that the flat file has a parent-child relationship between the document header and the document item and I want to maintain that since the IDoc type (FIDCCP01) has the same structure in the BKPF and BSEG segments.
Here is the flat (non-XML) file layout that is coming into the file adapter:
FileHeader
DocumentHeader
DocumentItem
DocumentHeader
DocumentItem
and so on (until the number of documents is complete
I would really like the content to be converted so that the line items stay under their parent document headers like this:
<FileHeader></FileHeader>
<DocumentHeader>
   <ItemHeader>
   </ItemHeader>
</DocumentHeader>
<DocumentHeader>
   <ItemHeader>
  </ItemHeader>
</DocumentHeader>
But I keep getting this, where it lists the document headers first (one after another), and then all of the line items after the document headers like this:
<FileHeader></FileHeader>
<DocumentHeader></DocumentHeader>
<DocumentHeader></DocumentHeader>
<DocumentHeader></DocumentHeader>
<ItemHeader></ItemHeader>
Is is possible to maintain that parent-child relationship from the flat file and pass it over to the XML?
Thanks,
John

Hi,
Check some links on 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

Similar Messages

  • 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

  • About File Content conversion

    Hi All,
    I Want to Know the Interview Questions From File Content Conversion.
    What type of Questions We can Expect Fron that ???
    Please Let me know
    Regards
    Vamsi

    Dude,
    Simple you need to be throughly prepared to answer about all the parameters in the FCC both for sender or receiver else you gonne face some tough time. For example you might be asked in the sender FCC why is ignoreRecordsetName  used for>?, Why is Key field used for? or more usual ques u will face tell abt Sender FCC parameters you have to tell everything no other way out.There are no specific or pin point ques .
    Cheers,
    <b>RAJ*
    *REWARD POINTS IF FOUND USEFULL*</b>

  • Regarding file content conversion and jdbc adapters

    hi
    can any one send me the details about the sender jdbc adapter and the receiver jdbc adapter.
    i need the output of sender jdbc adapter(structure)also fro the receiver jdbc adapter.
    for file content conversion -
    can any one send abt the sender and receiver of the FCC adapter.
    also provide some links abt these in blogs.
    thanks in advance .

    Hi..
       You can search those links in SDN.
    FILE to JDBC Adapter using SAP XI 3.0 --Receiver Jdbc adapter .
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC& ---for both sender and receiver jdbc adapter configuration
    Content Conversion (Pattern/Random content in input file) ---for FCC
    Regards,
    Leela

  • Question regarding File Content Conversion

    Dear SAP experts,
    I need you expert advise regarding this.
    I have here my sample structure,
    CSV ---> this is the message type of the message
       '-- ROOT --> this is the root node
               '-- FieldA --> has a value of "Filename"
               '-- Field B
                      '-- subfield1 --> has a value of "A"
                      '-- subfield2 --> has a value of "B"
                      '-- subfied3 --> has a value of "C"
    I want to output this flatfile,
    subfield1;subfield2;subfield3
    A;B;C
    the output flatfile must have Header lines (subfield1;subfield2;subfield3)
    What will be the correct parameters in my File Content Conversion, so as, the value "Filename" will not be included in the output flatfile?
    Recordset Structure: ?
    Kindly advise.
    Thank you very much!
    Fred

    Refer
    FCC
    Ref:
    Sender -
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    Key value:
    /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/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    Receiver FCC no need of Endseparator
    /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
    Receiver-
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

  • Problem with File content conversion and parameters

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

    Hi,
    We use the file content convertion to conver the flat file that is text file into XML,
    File adapter cant understand the format the file is,so we have to declare the content convertion parameters.
    Check some links which will tell how the convertion is done.
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani
    Reward points if helpful

  • File Content Conversion and Empty file issue

    Hello,
    The issue is :
    I have configured a file sender adapter with file Content Conversion. I have 2 kinds of records Header and Items.
    i have defined the 'Key Field Name' based on the first character of each line of my flat file and the values associated :
    Header.keyFieldValue = 1
    Item.keyFieldValue = 2
    Flat file example :
    1;Headerfield1;Headerfield2
    2;ItemField1;ItemField1;ItemField1;ItemField1;
    2;ItemField1;ItemField1;ItemField1;ItemField1;
    2;ItemField1;ItemField1;ItemField1;ItemField1;
    and everything works fine !
    But now imagine you receive a bad file like this :
    xxxxx;ohhohoh;llllll
    y;sdfsdfs;zezerz;zerzer
    e;zerzerze;zezerzerzer
    The result is : IS receive nothing and no alert is generated ?!!!???
    What i have seen is that the adapter doesn't find any corresponding value for keyFieldValue so it consider that the flat file is empty and i do nothing, the file is archived and that's all no alert is generated ????
    But i want to receive an alert for checking that the processed flat file was not correct !
    If anybody has an idea, it will be great !
    Regards,
    Vincent

    Hi Vincent.
    Sometimes it really #!@#%%#.. me off when customers excepts that XI will solve their whole organization interfacing problems (and the world hunger as well...:)...
    even when it comes to the responsible systems that creates the file(sometimes with bugs and problems even before XI came to the org.).as in every developed application or out of the box one, the application has to take care of its outputs and deal with errors. when it cant deliver what other systems expects her to  it has to inform some one...
    When it comes to the Adapter frame work XI expects the system in its landscape to be responsible for the data they send (well formed and with the defined  structure...IDocs,XML,flat files).
    as mentioned in my colleagues previous postings you can take care of data verification during mapping and so..
    I belive it is possible to monitor the incoming file before it is parsed to XML (not sure it is the right way to) and maybe we'll get a solution to that in the future (today we can monitor the comm. channel wether its  configures well or not,maybe it will be possible in the future to alert when an incoming file is empty)
    Regards.
    Nimrod

  • Problem about file content type and firefox

    Hi,
    The Firefox made me mad because cant do a simple job : download a XML file. I have a big XML file that crash Firefox when try to open it,
    so download may be best choice but always Firefox start to show XML files. what is the solution?
    It is first, second : I make my XML file using JavaScript and show it with data URL like this : data:text/xml;...
    but same not work with csv files, I want when user save csv file, Firefox save it with .csv ext not .part
    plz help me fast.

    Hi,
    We use the file content convertion to conver the flat file that is text file into XML,
    File adapter cant understand the format the file is,so we have to declare the content convertion parameters.
    Check some links which will tell how the convertion is done.
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani
    Reward points if helpful

  • Work Order and parent/child relationship

    I have been looking into the vision instance. There is an Asset-Rebuildable relationship, that is Forklif and it's battery. If there is a work order on the forklik "replace battery" can this be done automatically, or is this all manual.
    1. When I pick the new battery from stores the S/N of the battery is associated with the forklif (automatic I tested this)
    2. When I say "remove the old battery" should't the old battery parent/child relationship between the parent be broken and a child work order "charge" for the battery be logged. I could not reproduce that, but queried that this is what happens in vision. Are all these supposed to be manual?
    Regards

    From this plan, we can't easily get the parent child relationship like autotrace. Is there a way to get like autotrace?
    SELECT * FROM table(DBMS_XPLAN.DISPLAY);
    Plan hash value: 3693697345
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | TQ |INOUT |PQ Distrib |
    | 0 | SELECT STATEMENT | | 1 | 117 | 6 (50) | 00:00:01 | | | |
    | 1 | PX COORDINATOR | | | | | | | | |
    | 2 | PX SEND QC (ORDER) |:TQ10003 | 1 | 117 | 6 (50) | 00:00:01 | Q1,03 | P->S | QC (ORDER) |
    | 3 | SORT ORDER BY | | 1 | 117 | 6 (50) | 00:00:01 | Q1,03 | PCWP | |
    | 4 | PX RECEIVE | | 1 | 117 | 5 (40) | 00:00:01 | Q1,03 | PCWP | |
    | 5 | PX SEND RANGE |:TQ10002 | 1 | 117 | 5 (40) | 00:00:01 | Q1,02 | P->P | RANGE |
    |* 6 | HASH JOIN | | 1 | 117 | 5 (40) | 00:00:01 | Q1,02 | PCWP | |
    | 7 | PX RECEIVE | | 1 | 87 | 2 (50) | 00:00:01 | Q1,02 | PCWP | |
    | 8 | PX SEND HASH |:TQ10001 | 1 | 87 | 2 (50) | 00:00:01 | Q1,01 | P->P | HASH |
    | 9 | PX BLOCK ITERATOR | | 1 | 87 | 2 (50) | 00:00:01 | Q1,01 | PCWC | |
    |* 10| TABLE ACCESS FULL | EMP | 1 | 87 | 2 (50) | 00:00:01 | Q1,01 | PCWP | |
    | 11 | BUFFER SORT | | | | | | Q1,02 | PCWC | |
    | 12 | PX RECEIVE | | 4 | 120 | 3 (34) | 00:00:01 | Q1,02 | PCWP | |
    | 13 | PX SEND HASH |:TQ10000 | 4 | 120 | 3 (34) | 00:00:01 | | S->P | HASH |
    | 14 | TABLE ACCESS FULL | DEPT | 4 | 120 | 3 (34) | 00:00:01 | | | |
    Predicate Information (identified by operation id):
    6 - access("E"."DEPTNO"="D"."DEPTNO")
    10 - filter("E"."ENAME"='hermann')
    ---------------------------------------------------

  • Problem with Sender Adapter File Content Conversion

    Hi all!
    I have a question about file content conversion in sender file adapter.
    I have file like:
    {field1
    field2
    field3
    field4
    $
    {field5
    field6
    field7
    field8
    And i need to get file like:
    <dealings>
    <deal>
    <field1>{field1</field1>
    <field2>field2</field2>
    <field3>field3</field3>
    <field4>field4</field4>
    <field5>-}*</field5>
    </deal>
    <deal>
    <field1>{field5</field1>
    <field2>field6</field2>
    <field3>field7</field3>
    <field4>field8</field4>
    <field5>-}*</field5>
    </deal>
    </dealings>
    I put content conversion parameters:
    deal.fieldSeparator = $
    deal.fieldNames = field1,field2,field3,field4,field5
    And i get a file like:
    <ns:mt_swift_file>
    <dealings>
    <deal>
    <field1>{field1</field1>
    </deal>
    <deal>
    <field1>field2</field1>
    </deal>
    <deal>
    <field1>field3</field1>
    </deal>
    <deal>
    <field1>field4</field1>
    </deal>
    <deal>
    <field1>-}*</field1>
    </deal>
    <deal>
    <field1/>
    </deal>
    <deal>
    <field1>{field5</field1>
    </deal>
    <deal>
    <field1>field6</field1>
    </deal>
    <deal>
    <field1>field7</field1>
    </deal>
    <deal>
    <field1>field8</field1>
    </deal>
    <deal>
    <field1>-}*</field1>
    </deal>
    </dealings>
    </ns:mt_swift_file>
    What i do wrong?
    As i understand, XI put string to a separate tag after symbol 'nl', but how can i get structure without unnecessary tags?

    Hi,
    Check some links for FCC
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    File Receiver with Content Conversion
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    How to send a flat file with various field lengths and variable substructures to XI 3.0
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    File Content Conversion for Unequal Number of Columns
    Content Conversion ( The Key Field Problem )
    The specified item was not found.
    File Receiver with Content Conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani

  • Hi Question about Sender File Content Conversion

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

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

  • File content conversion - Receiver config

    Dear Experts ,
    I am transferring data from an Idoc to a target structure ( flat file ) using file content conversion . But the problem is regarding the sequential order of writing the data .
    >E1EDL24 ( parent ) [  IDoc  ]
        xxxxx
        yyyyy
       zzzzz
         >E1EDL26   (child)
              xxxxx
    My target structure i have defined into which i pass the values from IDoc is as follows .No heirarchy , bcoz i want the child to be written in the next line
    ROOTNODE
         E1EDL24
         xxxx
         yyyy
         zzzz
         E1EDL26
         xxxx
    when the file content conversion is done it has to write to the target as below and they are unbounded repetitions
    E1EDL24    xxxxx   yyyyy   zzzzzzz  -
    parent           [ Flat File - Using file content conversion ]
    E1EDL26    xxxxx   -
    child                                  
    E1EDL24    xxxxx   yyyyy   zzzzzzz
    E1EDL26    xxxxx
    E1EDL24    xxxxx   yyyyy   zzzzzzz
    E1EDL26    xxxxx
    Even my target payload is xml coming as below 
    <E1EDL24>
      <SEGNAM>E1EDL24</SEGNAM>
      <POSNR>000010</POSNR>
      <MATNR>1SDA056161R1</MATNR>
      <ARKTX>E3N3200/WMP/3P/PR121/LSI</ARKTX>
      <WERKS>AEAV</WERKS>
      <LFIMG>5</LFIMG>
      <ABRDT>20120209</ABRDT>
      <POSEX>000000</POSEX>
      <VGBEL>4200512544</VGBEL>
      <VGPOS>000010</VGPOS>
    - <E1EDL26>
      <SEGNAM>E1EDL26</SEGNAM>
      <PSTYV>ARV</PSTYV>
      </E1EDL26>  </E1EDL24>
    - <E1EDL24>
      <SEGNAM>E1EDL24</SEGNAM>
      <POSNR>000020</POSNR>
      <MATNR>1SDA059669R1</MATNR>
      <ARKTX>E3 WFP 3P HR-HR NEW</ARKTX>
      <WERKS>AEAV</WERKS>
      <LFIMG>5</LFIMG>
      <ABRDT>20120209</ABRDT>
      <POSEX>000000</POSEX>
      <VGBEL>4200512544</VGBEL>
      <VGPOS>000020</VGPOS>
    - <E1EDL26>
      <SEGNAM>E1EDL26</SEGNAM>
      <PSTYV>ARV</PSTYV>
      </E1EDL26>  </E1EDL24>
    It is giving me configuration error .
    Should subnodes or child be mentioned in the record set structure or not. if not how will i clearly wite it to the next line as a child for every time it writes a parent unbounded times .
    So can anyone tell me if the problem is with mapping or parent child relation or how do i map to get it in the sequence . Your replies can be really helpful
    -Thanks in advance
    Regards
    Ganga

    HI Bhaskar ,
    This is not even so deeply nested . Its just one parent and child that it has to write in the flat file with unbounded times . The output xml is generated perfectly but giving the configuration error . in passing the values . Want to know how to write the child segments in the configuration profile in the content conversion parameters .
    Regards
    Ganga

  • File Content Conversion doesn't pull file

    Hi all,
    I have a Comm Channel using File Content Conversion - it does not pick up the file (no message in msg monitor).  If I copy the Comm Channel, turn off File Content Conversion, and change the Sender Agreement to use the copied Comm Channel, the file is picked up and a message appears in the message monitor.
    Any ideas?  Does File Content Conversion expect certain file names/types/etc...?
    Also, side question - when I change the sender agreement (or anything else in the CD), SXI_CACHE shows "Unable to refresh cache contents" with various errors, one of them being "LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM"; another said something about IF_HTTP_.. HTTP Communication error or something.
    I'll do more searching on this on and post a new topic if necessary...
    Thanks,
    Brian

    I'll try setting those logging settings (don't have access).
    In the meantime, here is my content conversion:
    Content Conversion info - converting a 3 line type flat file to XML
    Example of file layout:
    H060412
    IC11030416          Example yada yada   EA  110137
    IC11030417          Example yada yada   EA  131206
    T000002
    >First letter is key field RecType (H=header, I=detail, T=trailer)
    Doc name:   Material  <--msg type
    Doc ns:     urn:......
    Doc offset: <blank>
    RS name:    Material  <--data type
    RS ns:      <blank>
    RS struc:   Hdr,1,Dtl,*,Trl,1
    RS seq:     ascending
    RS/msg:     1
    Key field:  RecType
    Key type:   String case-sensitive
    Hdr.fieldFixedLengths     1,6
    Hdr.endSeparator        'nl'
    Hdr.fieldNames          RecType,GteamsDate
    Hdr.keyFieldValue       H
    Dtl.fieldFixedLengths     1,1,18,20,4,6
    Dtl.endSeparator        'nl'
    Dtl.fieldNames          RecType,ActivityInd,CatalogNum,Description,UOM,ProductClass
    Dtl.keyFieldValue       I
    Trl.fieldFixedLengths     1,6
    Trl.endSeparator        'nl'
    Trl.fieldNames          RecType,RecCount
    Trl.keyFieldValue       T
    Brian

  • EDI Flat file Content Conversion

    Hi Experts,
    I have got a question on File Content Conversion, Please have  look the following structure, is it possible with FCC or what is the best possible solution for this, which is very big favour to me.
    Some information about this structure,
    This is EDI message in flat file structure, each segment has got 700 characters as a row, LIN item is repeating many times,
    ST ,XQ , N1 , DTM, LIN, P04, N9,ZA , ZA ,ZA , etc are segments, LIN item is repeating, at the end CTT is last segment. Again from ST segment to CTT segment comes 3 more times.
    ST 0000001     4444444
    XQ H            20100531
    N1 xxxxxxxx                            u 00000
    N4 aaaaaaaa, kk                  xx87654
    DTM600                                                        20100531
    LIN           CB224790                        HH002720033676                  PP00027200336760                ZZ0
    P0400001000000000         000000000  000000000  000000000000000000000000
    N9 VN0000000594
    ZA QA238.00000000000CT         LJXX
    ZA QN1.0000000000000CT         LJXX
    ZA QO000000000000000CT         LJXX
    ZA QP210.00000000000CT         LJXX
    ZA QS61.000000000000CT         LJXX
    ZA QW208.00000000000CT         LJXX
    LIN           CB320275                        SS004330033052                  PP00043300330521                ZZ0
    P0400001000000000         000000000  000000000  000000000000000000000000
    N9 VN0000000594
    ZA QA36.000000000000CT         LJXX
    ZA QN1.0000000000000CT         LJXX
    ZA QO000000000000000CT         LJXX
    ZA QP120.00000000000CT         LJXX
    ZA QS8.0000000000000CT         LJXX
    ZA QW36.000000000000CT         LJXX
    CTT00005300000000000000000000  00000000
    ST 0000001     4444444
    XQ H            20100531
    N1 xxxxxxxx                            u 00000
    N4 aaaaaaaa, kk                  xx87654
    DTM600                                                        20100531
    LIN           CB224790                        HH002720033676                  PP00027200336760                ZZ0
    P0400001000000000         000000000  000000000  000000000000000000000000
    N9 VN0000000594
    ZA QA238.00000000000CT         LJXX
    ZA QN1.0000000000000CT         LJXX
    ZA QO000000000000000CT         LJXX
    ZA QP210.00000000000CT         LJXX
    ZA QS61.000000000000CT         LJXX
    ZA QW208.00000000000CT         LJXX
    LIN           CB320275                        SS004330033052                  PP00043300330521                ZZ0
    P0400001000000000         000000000  000000000  000000000000000000000000
    N9 VN0000000594
    ZA QA36.000000000000CT         LJXX
    ZA QN1.0000000000000CT         LJXX
    ZA QO000000000000000CT         LJXX
    ZA QP120.00000000000CT         LJXX
    ZA QS8.0000000000000CT         LJXX
    ZA QW36.000000000000CT         LJXX
    CTT00005300000000000000000000  00000000
    Please I am really requesting you get appropriate answer and quick response please
    Thanks in Advance
    Regards
    Sandya

    Hi Suresh, Raj,
    Thanks for quick reply, but we haven't got Seeburger Adapter in our landscape. Please one small clarification please this message looks to me, we can do with FCC, but i need some experties from you guys.
    1. ST segment comes in one line with 700 characters - has got 5 fields 1..1 cardinolity
    2. XO segment comes in another line with same length 700 ch,  but 8 fields different lengths 1..1 cardinality
    10 LIN segment comes in another line 700 characters, but 0..n
    Can't we take structure as follows:
    Header     --    0..n
        SegID  ---    1..1
        field 2 -
        1..1
        field 3 -
        1..1
        field 4 -
        1..1
        field 5 ---      1..1
        Row2   -
       1..1
           SegID -
       1..1
           field2  -
       1..1
        Row6    -
        1..n  (for LIN segment)
           SegID ---   1..1
           field 2  ---  1...1
    Please can you give me your experties please??
    Regards
    Sandya

  • Query regarding file content conversion using file adapter

    Hi All
    I have a question regarding file content conversion in file adapter.
    I have a file coming in the following format.
    AA,111,222,333
    BB,444,555,666
    CC,777,888,999
    My incoming message structure has a hierarchy. The CC record is a structure part of BB record. BB record is a structure part of AA record. It is like this:
    AA,111,222,333
    <<BB,444,555,666>>
    <<<<CC,777,888,999>>>>
    After file content conversion, in the resulted xml, i am getting a flat hierarchy instead of nested hierarchy.
    Is it possible to get a nested hierarchy as a result of file content conversion?
    Please let me know
    Thanks
    Chandra

    Hi Udo
    According to your suggestion, I am trying to use mapping.
    I am getting a flat file and i am reading it.
    This is my source structure:
    AA,11,22,33
    BB,44,55,66
    CC,77,88,99
    This is my required targer structure:
    AA,11,22,33
    <<BB,44,55,66>>
    <<<<CC,77,88,99>>>>
    To explain this, BB record can have multiple records of CC records.
    AA records can have multiple records of BB record.
    I am using removecontext node function.
    CC (Source)  (removecontext)-> CC (target structure)
    But here, when i rightclick on source CC field in the mapping editor, i cannot see any other context except root node. So, how can i proceed here??
    Many Thanks
    Chandra

Maybe you are looking for

  • Can't use "send to" mail recipient as attachment

    Since installing ML I the send to function won't work.  Mail opens but nothing else happens.  What settings have changed?

  • WRT54GP2 security settings for HP Ipaq 111 handheld

    I have a home wireless network, using a Linksys WRT54GP2 wireless router. I'm trying to secure the network, with has 3 wireless systems, my home PC, a notebook, and my Ipaq 111. I can get my home PC and the notebook to work when I setup the WRT54GP2

  • CO-PA: Value fields - where to find? Function Module?

    Hi there, I want to select all the available value fields (VV010, ...) that can be included in tables CE1xxxx and CE2xxxx. Is there any Function module or table where I can get the (value) fields from? I don't want to create static coding that includ

  • IPad 2 Compatibility in the UK

    hi i was wondering if i bought a ipad 2 32gb 3g in the phillipines will it work here in the UK

  • AwesomeWM and trader workstation (java application)

    Hi guys, is anyone using the Interactive Brokers Trader Workstation (Package: ib-tws) and AwesomeWM? I'm having trouble with some features of Trader Workstation e.g. changing the timeframe of a stock chart. This feature is crucial for me and I did no