Query on Receiver FCC for nested structure

Hi Friends,
I want to  configure the Receiver side FCC for the below nested structure.
Can you guide me how can i achicve it? or its not possible for nested structure?
Seg100,Seg200.Seg300 and Seg400 are nested one below the other.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Test xmlns:ns0="http://hello.com">
--<Seg100>
--<field1>0000564.30</field1>
--<field2>KG</field2>
--<Seg200>
---<field3>1070</field3>
---<Seg300>
<field4>5</field4>
<Seg400>
<field4>5</field4>
</Seg400>
---</Seg300>
--</Seg200>
-</Seg100>
</ns0:Test>
Regards
Venkatesh

Hi,
  For nested structure we cont do the File content conversion.
  so that we need to convert it a flat structure in the mapping level and then we can go for FCC.
Regards,
Prakasu

Similar Messages

  • BAdI - AC_DOCUMENT / data passing for nested structures

    Hi all.
    I need your help for this scenario:  
    I used this to pass value of MM field to FI field from transaction MIGO.
    Our company placed field in EKKN-WEMPF to BSEG-ZUONR.
    For this one option was:  BAdI AC_DOCUMENT
    Questions: 
    1.  Nested structures - passing of data:
    First problem encountered was with the reading of data from nested structures and passing them to nested structures as well.  How to do this?  I have used a certain declaration but any input will be much appreciated. 
    2.  When I activated my BAdI, it says error on FI Interface,
    specifically on AWREF and AWORG fields. 
    It is currently blank.  Can I use the values in IM_DOCUMENT to pass to EX_DOCUMENT? 
    (What is a good way to do it since simple syntax does not allow for passing of data bec. structures are incompatible, and added complexity, it has nested structures.)
    If you have sample code for this, it would truly be helpful. 
    Thanks and God bless!

    Hi,
    Check that for which condition the message is triggering.
    Try to check the condition.
    Regards
    Sandipan

  • Fill internal table with mutliple entries for nested structure

    Dear ABAP Experts,
    I have a question related to fill internal tables with nested structures.
    I have a structure like this:
    BEGIN OF proto,
              sicht TYPE ysicht,
              version TYPE FAGLFLEXA-RVERS,
              BEGIN OF kons,
    kon TYPE YKONSEINHEIT,
              END OF kons,
              jahr TYPE CHAR04,
    END OF proto.
    Now I need to fill this structure with values (over an internal table), but how can I achieve that I save multiple datas für element "kon" für one single entry of structure "proto"?
    An example could be:
    sicht = '01'
    version = '100'
    kon = 1001 (first entry)
    kon = 1002 (second entry)
    usw... (n entry)
    jahr = '2008'
    Thanks in advance for every helpful answer.
    Regards
    Thomas

    BEGIN OF proto,
               sicht TYPE ysicht,
               version TYPE FAGLFLEXA-RVERS,
               kons TYPE STANDARD TABLE OF YKONSEINHEIT WITH NON-UNIQUE KEY TABLE_LINE,
               jahr TYPE CHAR04,
    END OF proto.
    DATA: ls_proto TYPE proto,
          lt_proto TYPE STANDARD TABLE OF proto,
          ls_kon
    ls_proto-sicht = '01'.
    ls_proto-version = '100'
    INSERT '1001' INTO TABLE ls_proto-kons.
    INSERT '1002' INTO TABLE ls_proto-kons.
    ls_proto-jahr = '2008'.
    INSERT ls_proto INTO TABLE lt_proto
    If you're going to use a more complicated inner table with several components, then you need to define a type for those components. 
    matt

  • FCC for deep structures

    Hi
    I have a flat file like this.
    I am not able to create sender and receiver data types. can anyone tell me how to do.
    Here For one plant there are many materials.
    =====================================================================
    Werks  MATNR               ERSDA           ERNAM                    MTART    MATKL        MAKTX
    ====================================================================
    0001     CP-12                  20020719     PREMKE               KMAT                      CP-12
    0001     CP12                   20020717     PREMKE                   HAWA     015           CP12
    0001     CPH_3001             20050802           D035495                 ROH                       Aqua
    005     T-EC0201               20060327      WILHELMH             HAWA     009          Cycle shorts
    0005     T-FC0101               20060327      WILHELMH             FERT                   Lady`s 24'' Street Bike
    0006     NGL-OS-FILE         20060316         LCHAMDONDOG      NLAG     006           File
    0007     NGL-OS-FILE         20060316        LCHAMDONDOG      NLAG     006           File
    0008     NGL-OS-FILE          20060316     LCHAMDONDOG              NLAG     006           File
    I want XML file should be like this
    <MT_Sender>
    <record>
    <plant>
           <werks>0001</werks>
    </plant>
    <matinfo>
    <matnr>cp-12></matnr>
    <ersda>20020719</ersda>
    </matinfo>
    <matinfo>
    <matnr>cp-12</matnr>
    <ersda>20020717</ersda>
    </matinfo>
    </record>
    <record>
    like this..I want to connvert tht into flat file-xml file.
    I looked some deep struture blogs..but I couldnot understand.
    Reagrds
    Vijay
    Edited by: vijay reddy on Apr 10, 2009 4:10 PM

    Hi Vijay,
    Using FCC it is not posible.You can acheive it using two message mapping.
    Steps:
    STEP1:
    Do the normal content conversion and get each Line as separate Record. say the message type you created is MT_FCC_Outbound
    STEP 2:
    First Mapping: 
    Outbound Mesage type : MT_FCC_Outbound
    Inbound Mesage type : MT_FCC_Outbound
    Here in  this mapping you group the records on the basis of werks.
    STEP3:
    Second mapping:
    Outbound Mesage type : MT_FCC_Outbound
                              Inbound Mesage type : MT_FCC_Inbound
    Do the actual maaping
    STEP 4:
    Interface mapping: Outbound Mesage  :
    MI_FCC_Outbound    (message interface)
                           Inbound Mesage  : MI_FCC_Inbound
    first give mapping1 then in second row mapping 2.
    Ritu

  • Receiver FCC Structure For Header and Trailer

    Hi Guys ,
    I need to go for receiver FCC for header and trailer  in PI .How the FCC in communication channel needs to be configured if I am taking a separate node for header and trailer in mapping .Output of the file should be as the file attached.
    Thanks.
    Regards.

    Hi,
    If you are using File communication channel as a reciver you can go with FCC.
    Use record set structure as : Header,detail,trailer.
    https://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Otherwise if you are going for SFTP to create the file ... follow the Indrajit suggestion..
    Still facing any issue.. Please let us know..
    Thanks,
    Sreenivas...

  • Unable to configure file adapter using FCC  for Multilevel hierarchy

    Hi Experts,
    Can anyone help me in configuring the Receiver file adapter with FCC for the structure given below
    <Root>
    <Level1>
         <Ele1>
         <Ele2>
         <Level2>
                <Ele2_1>
                <Ele2_2>
                <Level2a>
                        <Ele2a_1>
                        <Ele2a_2>
                </Level2a>
         </Level2>
    </Level1>

    Hi dineshmale,
    I have do this Multilevel hierarchy before. FCC can directly configure this scenario. But I don't know you output format. What my format shown below(here i use '#' instead of space):
    Level1_Field1##Level1_Field2##Level1_Field3##Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    #######################################Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    Level1_Field1##Level1_Field2##Level1_Field3##Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    #######################################Level2_Field1##Level2_Field2##Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    #################################################################Level3_Field1##Level1_Field2
    FCC Parameter:
    Recordset Structure: Level1,Level2,Level3
    Level1.fieldSeparator = (2 spaces)
    Level2.beginSeparator = (some spaces according to the length of the fields in Level1)
    Level2.fieldSeparator = (2 spaces)
    Level3.beginSeparator = (some spaces according to the length of the fields in Level1and Level2)
    Level3.fieldSeparator = (2 spaces)
    Level3.endSeparator = \n
    There are some points:
    1. the endSeparator for Level1 and Level2 doesn't work.
    2. the first begin separator in Level2 and Level3 doesn't work.
    3. The last field of super node and the first field of child node is separated by the (child).fieldSeparator.
    4. ....
    What's more, I have write a blog of FCC For Hierarchical Structure in Receiver Channel just now. So it need two days for Approval. Let me know for any issues.
    Edited by: guKidd on Dec 14, 2010 7:52 AM
    Edited by: guKidd on Dec 14, 2010 7:54 AM

  • How to do Content Conversion for this structure?

    Hi,
       Urgent required. I have the following structure as below. There is a headerData, itemData and textData. The data that wll come into headerData could be more than one, and the same applies to the itemData and textData. The File adapter is not able to pick this file structure. It is a fixed length file at the receiver end. Could any one tell me how to do the File Content Conversion (FCC) for the structure without using the FCC module. Points to be awarded to best answer. Thaanks in advance.
    The structure :
    <headerData>
    aaaaa
    bbbb
    cccc
    </headerData>
    <headerData>
    aaaaa
    bbbb
    cccc
    </headerData>
    <headerData>
    aaaaa
    bbbb
    cccc
    </headerData>
    <itemData>
    fff
    ggg
    hhh
    </itemData>
    <itemData>
    fff
    ggg
    hhh
    </itemData>
    <itemData>
    fff
    ggg
    hhh
    </itemData>
    <textData>
    fff
    ggg
    hhh
    </textData>
    <textData>
    fff
    ggg
    hhh
    </textData>
    <textData>
    fff
    ggg
    hhh
    </textData>

    HI,
    Use the following content conversion:
    I assume the data coming in the file is of below format:
    Here the key field name is K for 01,02 and 03
    01,aa,bb,cc
    01,aa,bb,cc
    02,ff,gg,hh
    02,ff,gg,hh
    03,hh,ff,hh
    03,hh,ff,hh
    If you data in the file is coming in the above way then your FCC will be
    Recordse strucutre: headerData,,temData,,textData,*
    Keyfield Name: K
    headerData.fieldNames: a,b,c
    headerData.fieldSeparator: ,
    headerData.endSeparator: 'nl'
    headerData.keyFieldValue: 01
    Similarly for itemData and text Data
    Refer the below weblog for the same:
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    Thnx
    Chirag Gohil

  • HRFORM - difference between Flat Staructure & Nested Structure

    Hi,
    I wish to know the dfifference between deciding nested structure or flat structure in tcode HRFORMS. I have to work on form SAP_PAYSLIP_CA which is a nested structure. I have read that working on flat structure is far easier than working on nested structure. I wish to know what fields i have to add to convert this to flat structure. If i have to work on this nested structure what code i have to add in my interface (e.g. loop at.... for nested structure) for working on employee data. Also i wish to know how can i pull non key field data in my program.
    I nee dthe inputs very urgently.
    Thanks in advance.
    Ajay

    Hi Ajay,
    Please check the link
    http://help.sap.com/saphelp_dimp50/helpdata/en/c5/d69f5b6ccb11d3968b00a0c9306433/content.htm
    This is will partially answer your Query.
    Regards
    JwaliniS

  • Error in Receiver FCC: Unknown structure ... found in document

    Hi Experts,
    I have a problem with the Receiver File Adapter. I want to use Content Conversion to generate a plain file.
    Input to receiver file adapter:
    <?xml version="1.0" encoding="utf-8" ?>
    <PlainFile>
      <filename>filename.txt</filename>
      <line>Line 1</line>
      <line>Line 2</line>
    </PlainFile>
    Wanted result: a file filename.txt with this content:
    Line 1
    Line 2
    FCC settings:
    RecordSet Structure: line, filename
    line.fieldSeparator:'nl'
    filename.fieldFixedLengths:0
    filename.fixedLengthTooShortHandling:Cut
    Problem is: the adapter throws error "Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'PlainFile' found in document'"
    If I use:
    RecordSet Structure: PlainFile, line, filename
    and add:
    PlainFile.fieldSeparator:'nl'
    ... the lines are printed, but also the unwanted filename. The XML input results from an 1:n mapping, therefore I want to set different filenames by variable substitution from the payload.
    Many thanks for your help,
    Ralf

    Since you want to the filename to be sent in the payload, check out the below Variable Substitution Method. This information is available in help.sap.com.
    Advanced Tab Page
    Variable Substitution (Target Directory/File Name Scheme)
    If you set the Enable indicator, you can enter variables for the Target Directory and File Name Scheme. Enter the names of the variables and references in the table.
    &#9679;      Enter each variable that you reference in the Target Directory and File Name Scheme fields without the surrounding percentage sign under Name of Variables in the table.
    The variables can refer to attributes of the message header or elements of the message payload.
    &#9675;       If the variables are to refer to an attribute of the message header, add the prefix message: to the name of the variable under Reference. You can specify the following attributes of the message header:
    sender_party, sender_service, receiver_party, receiver_service, interface_name, interface_namespace,
    message_id (message ID with hyphens, for example 9fbe1ff1-9a0d-11d9-8665-cbf10a126331)
    message_id_hex (message ID in hexadecimal format, for example 9fbe1ff19a0d11d98665cbf10a126331)
    For example, if you want to specify the interface name from the message header in the target directory or in the file name scheme, enter message:interface_name as the reference.
    Note
    If one of the message attributes contains characters that are not permitted in a file name, for example \, /, :, *, ?, ", <, >, |, then these characters are replaced by an underscore ("_").
    &#9675;       If the variable refers to an element in XML schema, add the prefix payload: to the information under Reference. The reference then comprises a pseudo path description in the form of a comma-separated list with the schema namea,na,nameb,nb,....
    namea,nameb,... corresponds to the element name and na,nb,... corresponds to the occurrence of the element name at the respective level in the document.
    The description begins at the root of the document and ends at the respective element.
    Example
    To reference the element that is in bold in the example, the following expression is used: payload:root,1,e1,1,e2,2
    The parser searches for the first occurrence of the root element at the first level. It then searches for the first occurrence of e1 at the second level and for the second occurrence of e2 at the third level. The content of the last element (“Example Value”) is set as the value for a specified variable.
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
      <dummy>
         <e1>
            <e2>Data_1</e2>
            <f/>
            <g attr="abc">text</g>
            <e2>Data_2</e2>
         </e1>
      </dummy>
      <e1>
         <e2>illegal/value</e2>
         <f/>
         <g attr="abc">text</g>
         <e2 attr="fghij">Example Value</e2>
      </e1>
    </root>

  • JDBC receiver adapter for AS400-query time out due to Escape Symbol

    Hello,
    I am uisng JDBC receiver adapter for AS 400, When I execute query, the query needs to have arguments in the open and close single ticks ('    12345' )
    My XML pay load looks like this, which is RFC sender. Look at dcudcstmr in <i><b>(' 838912')</b></i>.  When receiver gets this message the ' (single quotes are disappeared.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_Cma_Customer_Select_Request xmlns:ns1="http://freemanco.com/xi/Get_Customer">
    - <Statement>
    - <LawsonCustomer action="SQL_QUERY">
      <access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <i><b>(' 838912')</b></i> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
      </LawsonCustomer>
      </Statement>
      </ns1:MT_Cma_Customer_Select_Request>
    On the Receiver JDBC adapter I have tried with different combinations of Escape Symbol for Aposrophe as follows
    <b>   \
       '</b>
    As you know this is related to epcape character, I get following error all the time. Looks like the query is not able to execute in the specified time. My question is how do I get single quote as part of query.
    <b>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( 100001) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr) 2007-09-20 15:56:42 Error Unable to execute statement for table or stored procedure. 'LawsonCustomer' (Structure 'Statement') due to java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000.. Setting message to status failed. 2007-09-20 15:56:42 Error The message status set to FAIL. 2007-09-20 15:56:42 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000</b>
    Any feedback or helpfull tips appreciated.
    Thank you,
    Balaji

    Raj,
    Thank you for the reponse. I am using UDF on sender to generate sql statement as you see in sender XML message. After the message reaching receiver, gets executed but no response from AS400 becasue of missing single quotes in the sql query executed.
    Sender XML sends
    <access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <u><b>(' 838912')</b></u> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
    Receiver executes as
    select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( <b><u>838912</u></b>) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)
    As you see the single quotes are missing. Like I said in previous posting I tried with following Escape Symbol for Aposrophe.
    Let me know if you need more information.
    Thank you,
    Balaji

  • Nested Structure handling in XML2Plain module of receiver SFTP aadaptor

    Dear Experts,
    Greeting for the day...
    I am working on Receiver SFTP Adaptor scenario where I have to generate CSV file at receiver end. I am using XML2Plain module for the same. But I have a nested structure at receiver end. Receiver structure is given below.
    General Header
       Packet1
          Node1
               Field1, Field2...
          Node2
               Field1, Field2..
          Node3
               Field1, Field2..
          Node4
               Field1, Field2..
       Packet2
          Node1
               Field1, Field2...
          Node2
               Field1,Field2...
          Node3
               Field1, Field2...
          Node4
               Field1, Field2..
    File structure is as given below
    General Header
    Node1-field1,Field2..
    Node2-Field1,Field2..
    Node3-field1,Field2..
    Node4-Field1,Field2..
    Node1-field1,Field2..
    Node2-Field1,Field2..
    Node3-field1,Field2..
    Node4-Field1,Field2..
    I tried regular XML2Plain configuration but it is giving error "Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'Node1'".
    Kindly suggest..
    Thanks in advance.
    Vinit.

    hi Vinit,
    You can add another message mapping next to the original one such that Node1 can be treated as a field in new target and concat fields of Node1 with comma.
    this way u can bring down the levels.
    and finally the output mapping will look something like this
    [General Header]
    [Node1-field1,Field2..] [Node2-Field1,Field2..] [Node3-field1,Field2..] [Node4-Field1,Field2.]
    [Node1-field1,Field2..] [Node2-Field1,Field2..] [Node3-field1,Field2..] [Node4-Field1,Field2.]
    [Node1-field1,Field2..] [Node2-Field1,Field2..] [Node3-field1,Field2..] [Node4-Field1,Field2.]
    [Node1-field1,Field2..] [Node2-Field1,Field2..] [Node3-field1,Field2..] [Node4-Field1,Field2.]
    then in the channel u can give
    field separator  for the node fields as 'nl' which will bring your output as below.
    General Header
    Node1-field1,Field2..
    Node2-Field1,Field2..
    Node3-field1,Field2..
    Node4-Field1,Field2..
    Node1-field1,Field2..
    Node2-Field1,Field2..
    Node3-field1,Field2..
    Node4-Field1,Field2..
    hope this helps
    thanks and regards,
    Praveen T

  • 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

  • Sender FCC with complex nested structure - FCC Configuration

    Hi Guys,
    I am working on a File-to-File Scenario using FCC at sender side. I need to configure FCC for this .
    The structure below is nested.
    Can anyone help me with the FCC Configuration for this structure.?
    Souce structure :
    ROD_DT
      num_orders
      test_mode
      order_x
          order_id
          order_date
          mfg_id
          catalog_id
          first_name
          last_name
          recipient
          message
          address1
          address2
          address3
          city
          state
          zip
          country
          country_code
          phone
          subtotal
          tax
          shipping
          total
          shopatron_total
          fulfiller_total
          shipment_id
          additional_info
              in_store_pickup
          express_shipping
               express_shipping_flag
               express_shipping_text
               express_shipping_arrival
         discount
             discount_description
             discount_percentage
             discount_total
          language_id
          currency_id
          ship_type
          packing_list
        num_items
        items
           item_x
              item_id
              quantity
              price
              part_number
              fulfiller_total
              shopatron_total
              options
                 option_x
    FCC Configuration:
    Recordset Structure =
    Header.fieldNames =
    Header.fieldSeparator =
    Header.endSeparator =
    Body.fieldNames =
    Body.fieldSeparator =
    Body.endSeparator =
    Any help in this regard is highly appreciated

    Note that the maximum nesting level that is supported in FCC is as below;
    <recordset>
    <NameA>
    <field-nameA1>field-value</field-nameA1>
    <field-nameA2>field-value</field-nameA2>
    <field-nameA3>field-value</field-nameA3>
    </NameA>
    <NameB>
    <field-nameB1>column-value</field-nameB1>
    <field-nameB2>column-value</field-nameB2>
    <field-nameB3>column-value</field-nameB3>
    </NameB>
       </recordset>
    So if your nesting exceeds 2 levels ... FCC is not possible.

  • File sender adapter: Content conversion for very deep nested structure

    Hi all
    I have a file which looks like this
    HDOCKET    9800000660980000061911062009AA123456bbWM100012349800000619
    DDOCKET_TEST001 4012YAG1 
    WZOA00000000010000000001
    WZOA00000000020000000002
    WZOB00000000030000000003
    IAAXX000001
    IAAXX000002
    C0000000000000000000100000000000000000001000000000000000000020000000000000000000300000000000000000004
    T2
    and my structure is
    Header  - 1
    Detail     - 0....Unbounded
            Bag     - 0.....Unbounded   (sub node of detail)
            Track  - 0.....Unbounded    (sub node of detail)
            Customer - 0.....Unbounded    (sub node of detail)
    Trailer    - 1
    and in the file sender adapter i mentioned the following content conversion setting
    HEADER,1,DETAIL,*,Bag,*,Track,*,Customer,*,TRAILER,*
    But when i go and see in the monitoring i received the following conversion
    <?xml version="1.0" encoding="utf-8" ?>
    <ns:MT_REQ xmlns:ns="http://royalmail.com/dd_c">
    <HEADER>
      <ID>H</ID>
      <INT>DD</INT>
      <CAR>9899999660</CAR>
      <CUS>9899999619</CUS>
      <POST>11062009</POST>
      <NUMBER>AA123456bbWM10001234</NUMBER>
      <ACC>9899999619</ACC>
      </HEADER>
    <DETAIL>
      <ID>D</ID>
      <Bag>DOCKET_TEST001</Bag>
      <S>4012</S>
      <Code>YAG</Code>
      <mat>1</mat>
      <count/>
      <Mixed />
      </DETAIL>
    <Bag>
      <ID>W</ID>
      <Zone>ZOA</Zone>
      <Item>0000000001</Item>
      <Number>0000000001</Number>
      </Bag>
    <Bag>
      <ID>W</ID>
      <Zone>ZOA</Zone>
      <Item>0000000001</Item>
      <Number>0000000001</Number>
      </Bag>
    <Bag>
      <ID>W</ID>
      <Zone>ZOA</Zone>
      <Item>0000000001</Item>
      <Number>0000000001</Number>
      </Bag>
      </Bag>
    <Track>
      <ID>I</ID>
      <Item>AAXX000001</Item>
      </Track>
    <Track>
      <ID>I</ID>
      <Item>AAXX000001</Item>
      </Tracked>
    <Customer>
      <ID>C</ID>
      <OrigCustomer>00000000000000000001</OrigCustomer>
      <Field1>00000000000000000001</Field1>
      <Field2>00000000000000000002</Field2>
      <Field3>00000000000000000003</Field3>
      <Field4>00000000000000000004</Field4>
      </Customer>
    <TRAILER>
      <ID>T</ID>
      <Count>2</Count>
      </TRAILER>
      </ns:MT_REQ>
    whereas i wanted it like:
    <?xml version="1.0" encoding="utf-8" ?>
    <ns:MT_REQ xmlns:ns="http://royalmail.com/dd_c">
    <HEADER>
      <ID>H</ID>
      <INT>DD</INT>
      <CAR>9899999660</CAR>
      <CUS>9899999619</CUS>
      <POST>11062009</POST>
      <NUMBER>AA123456bbWM10001234</NUMBER>
      <ACC>9899999619</ACC>
      </HEADER>
    <DETAIL>
      <ID>D</ID>
      <Bag>DD_TEST001</Bag>
      <S>4012</S>
      <Code>egg</Code>
      <mat>1</mat>
      <count/>
      <Mixed />
    <Bag>
      <ID>W</ID>
      <Zone>zzz</Zone>
      <Item>0000000001</Item>
      <Number>0000000001</Number>
      </Bag>
    <Bag>
      <ID>W</ID>
      <Zone>zzz</Zone>
      <Item>0000000001</Item>
      <Number>0000000001</Number>
      </Bag>
    <Bag>
      <ID>W</ID>
      <Zone>zzz</Zone>
      <Item>0000000001</Item>
      <Number>0000000001</Number>
      </Bag>
      </Bag>
    <Track>
      <ID>I</ID>
      <Item>AAXX000001</Item>
      </Track>
    <Track>
      <ID>I</ID>
      <Item>AAXX000001</Item>
      </Tracked>
    <Customer>
      <ID>C</ID>
      <OrigCustomer>00000000000000000001</OrigCustomer>
      <Field1>00000000000000000001</Field1>
      <Field2>00000000000000000002</Field2>
      <Field3>00000000000000000003</Field3>
      <Field4>00000000000000000004</Field4>
      </Customer>
    </DETAIL>
    <DETAIL>
      <ID>D</ID>
      <Bag>DD_TEST002</Bag>
      <S>4012</S>
      <Code>egg</Code>
      <mat>1</mat>
      <count/>
      <Mixed />
    <Bag>
      <ID>W</ID>
      <Zone>zzzzzz</Zone>
      <Item>0000000001</Item>
      <Number>0000000001</Number>
      </Bag>
    <Bag>
      <ID>W</ID>
      <Zone>ZOA</Zone>
      <Item>0000000001</Item>
      <Number>0000000001</Number>
      </Bag>
    <Bag>
      <ID>W</ID>
      <Zone>zzz</Zone>
      <Item>0000000001</Item>
      <Number>0000000001</Number>
      </Bag>
      </Bag>
    <Track>
      <ID>I</ID>
      <Item>AAXX000001</Item>
      </Track>
    <Track>
      <ID>I</ID>
      <Item>AAXX000001</Item>
      </Tracked>
    <Customer>
      <ID>C</ID>
      <OrigCustomer>00000000000000000001</OrigCustomer>
      <Field1>00000000000000000001</Field1>
      <Field2>00000000000000000002</Field2>
      <Field3>00000000000000000003</Field3>
      <Field4>00000000000000000004</Field4>
      </Customer>
    </DETAIL>
    <TRAILER>
      <ID>T</ID>
      <Count>2</Count>
      </TRAILER>
      </ns:MT_REQ>
    i.e. i need all Bag ,Track and Customer inside detail tag.
    could anyone help me in this..i've already searched SDN and got some link as useful but none of them were totally related.
    Regards
    Naina

    Naina
    Pls. check my forum link, i had the single level hierarchy XML file which I converted into nested structure & then into flat file.
    File Conversion in Rec File Adapter with subnodes
    This can give you an idea how to go ahead. Let me know in case you need any more info about this.

  • To bold the descriptions for the structure members in the BEX Query

    HI Experts,
    Could any one please advise on how to BOLD the descriptions of the structure members in the BEX query.
    Thanks in advance,
    Jeswanth

    Are you looking at making the same BOLD in the web display ..?
    To do this :
    Execute your query - go to display source for the page and you will see the structure members identified with a particular CSS class.
    Open the CSS file from the MIME repository and then identify the class that is used for the structure elements and then change th CSS to make it bold and then upload the changed CSS into MIME .
    Refresh the HTTP global cache from SMICM and then run your report again - you should be able to see the structure elements in BOLD.

Maybe you are looking for

  • Error 8 while upload the program : row 425 message

    Can any one answer this ? I am not using Any lower case letters any special characteristics in the flat file. But still i am getting the same error "Error 8 while upload the program : row 425 message " Thanks

  • User defined activity problem in process flow

    Hi , any one can help me out I have added a user defined activity in process flow , and given command values as \\windows\system32\cmd.exe and parameter list : ${input.value} and in script : kpi.bat where i written cd \kpi_sap for /f "tokens=1-5 deli

  • ISSUES IN XML FILE HEADER

    Hi Gurus, I am facing issue with the first two lines in incoming XML file. I am unable to read this using my program. <?xml version="1.0"?> <GL_INTERFACE_TBL xmlns="http://xmlns.oracle.com">I am pasting first few lines of my sample code. DECLARE    

  • Dba_source

    select * from dba_source where owner = 'SYS' and name like 'DBMS%' and type = 'PACKAGE' ;am i right to use the code above to list the packages that is available to be use on my XE? It listed dbms_redef NAME                           TYPE             

  • Elements 10 and photo printing

    I have just installed Elements10. After correcting colours on a photo I find that it does not print to the corrected colours. Printer is a new Epson Artisan837 with 6 ink tanks. I am getting great photo prints provided it is not done through Elements