FCC Nested

Hi Experts,
Scenario: File - XI- JMS.  It's field fixed length file and using FCC at both the side. The source and target structure are same.
For testing purpose we are using File -- XI --- File  (instead of JMS receiver)
As they were not using KeyField Name and Value in the file, Since the structure seems complex and consists multiple records.
So we convinced them to use Key filed name and value. 
I am Refering the follwing blogs and discussion:
Need sample CSV File & sender FCC
http://www.riyaz.net/blog/xipi-convert-flat-file-to-deeply-nested-xml-structures-using-only-graphical-mapping/
Source structure as shown below:
Root u2013 Occurs 1..unbounded
HEADER_RECORD u2013 Occurs 1..1
DETAIL_RECORD_DEPARTMENTS u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
DETAIL_RECORD_JOBCODES  u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
DETAIL_RECORD_LOCATIONS u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
DETAIL_RECORD_ROUTE  u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
DETAIL_RECORD_STOP u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
TRAILER_RECORD u2013 Occurs 1..1
Target structure is as shown below :
Root u2013 Occurs 1..unbounded
HEADER_RECORD u2013 Occurs 1..1
DETAIL_RECORD_DEPARTMENTS u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
DETAIL_RECORD_JOBCODES  u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
DETAIL_RECORD_LOCATIONS u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
DETAIL_RECORD_ROUTE  u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
DETAIL_RECORD_STOP u2013 Occurs 1..unbounded
---field1
---field2
---fieldx
TRAILER_RECORD u2013 Occurs 1..1
Source and target structure are same.
Requirement:  I need same file structure in the receiver side. Do we need to make any changes in reciver FCC as no Keyfiled value and name parameters are avialable in recv file adapter.
Later will use JMS receiver instead of File recv adapter. So at JMS recv side will this interface work?
Please throw some light and help me out in order to acheive this interface sucessfully.
Sameer

Mapping is required and mandatory in this scenario so we can't avoid. I have created the structure and FCC part also done at both the side. If mapping not needed, we can ahieve it by using without IR.
Input file:
000000001HEADER20100227014824001652
000000002DEPT  VCC  BELDUMMY  2004-01-01IBelgian Dummy Department     
000000003DEPT  VCC  ALSS      1901-01-01ALeveranciersopvolging        
000000679JOBCD 371  AO00011901-01-01AAdm. Onderst. Productie       371  003A  00M
000000680JOBCD 371  AO00021901-01-01AAdm. Competentie Management   371  003A  00M
000001394LOCATNVCC6334 2001-03-01IVOLVO BUSINESS AREA 400       BA400     BELJohn Kennedylaan 25
000001394LOCATNVCC6334 2001-03-01IVOLVO BUSINESS AREA 400       BA400     BELJohn Kennedylaan 25
000001416ROUTE 031901-01-01ASaksenboom ploeg A           
000001417ROUTE 041901-01-01ASaksenboom ploeg B   
000001471STOP  495772004-01-01AWetteren station             
000001472STOP  495802004-01-01AWetteren overschelde voor    
000002103TRAILR               
As the same file we required at the target side. mapping also required so we can't skip.
As decided to make HEADER,DEPT,JOBCD,LOCATN,ROUTE,STOP,TRAILR as a key field.
Will it possible as the key field taken from the second posstion of the given structure?
Recordset Name: Root
Recordset Structure: HEADER_RECORD,1,DETAIL_RECORD_DEPARTMENTS,,DETAIL_RECORD_JOBCODES,,DETAIL_RECORD_LOCATIONS,,DETAIL_RECORD_FMC_ROUTE_TBL,,DETAIL_RECORD_FMC_STOP_TBL,*,TRAILER_RECORD,1
Key Filed Name: Key
HEADER_RECORD.fieldFixedLengths: 9,6,14,6
HEADER_RECORD.fieldNames:Key,RecordSequenceNumber,FileIdentification,FileCreationTimestamp,FileSequenceNumber
HEADER_RECORD.keyFieldValue: HEADER
HEADER_RECORD.keyFieldInStructure: ignore
HEADER_RECORD.endSeparator: 'nl'
DETAIL_RECORD_DEPARTMENTS.fieldFixedLengths: 9,6,5,10,10,1,30
DETAIL_RECORD_DEPARTMENTS.fieldNames:Key,RecordSequenceNumber,DetailRecordType,SetID,DeptID,EffDt,Eff_Status,Descr
DETAIL_RECORD_DEPARTMENTS.keyFieldValue: DEPT
DETAIL_RECORD_DEPARTMENTS.keyFieldInStructure: ignore
DETAIL_RECORD_DEPARTMENTS.endSeparator: 'nl'
DETAIL_RECORD_JOBCODES.fieldFixedLengths: 9,6,5,6,10,1,30,5,3,3,2,1
DETAIL_RECORD_JOBCODES.fieldNames: Key,RecordSequenceNumber,DetailRecordType,SetID,JobCode,EffDt,Eff_Status,Descr,Setid_Salary,Sal_Admin_Plan,Grade,Step,Comp_Frequency
DETAIL_RECORD_JOBCODES.keyFieldValue: JOBCD
DETAIL_RECORD_JOBCODES.keyFieldInStructure: ignore
DETAIL_RECORD_JOBCODES.endSeparator: 'nl'
DETAIL_RECORD_LOCATIONS.fieldFixedLengths: 9,6,3,5,10,1,30,10,3,35,35,35,35,30,6,4,2,30,6,12,11,1
DETAIL_RECORD_LOCATIONS.fieldNames: Key,RecordSequenceNumber,DetailRecordType,SetID,Location,EffDt,Eff_Status,Descr,DescrShort,Country,Address1,Address2,Address3,Address4,City,Num1,Num2,House_Type,Country1,State,Postal,Geo_Code,In_City_Limit
DETAIL_RECORD_LOCATIONS.keyFieldValue: LOCATN
DETAIL_RECORD_LOCATIONS.keyFieldInStructure: ignore
DETAIL_RECORD_LOCATIONS.endSeparator: 'nl'
DETAIL_RECORD_FMC_ROUTE_TBL.fieldFixedLengths: 9,6,2,10,1,30
DETAIL_RECORD_FMC_ROUTE_TBL.fieldNames: Key,RecordSequenceNumber,DetailRecordType,BusRoute,EffDt,Eff_Status,Descr
DETAIL_RECORD_FMC_ROUTE_TBL.keyFieldValue: ROUTE
DETAIL_RECORD_FMC_ROUTE_TBL.keyFieldInStructure: ignore
DETAIL_RECORD_FMC_ROUTE_TBL.endSeparator: 'nl'
DETAIL_RECORD_FMC_STOP_TBL.fieldFixedLengths: 9,6,2,3,10,1,30
DETAIL_RECORD_FMC_STOP_TBL.keyFieldValue: STOP
DETAIL_RECORD_FMC_STOP_TBL.keyFieldInStructure: ignore
DETAIL_RECORD_FMC_STOP_TBL.fieldNames: RecordSequenceNumber,DetailRecordType,BusRoute,BusStop,EffDt,Eff_Status,Descr
DETAIL_RECORD_FMC_STOP_TBL.endSeparator: 'nl'
TRAILER_RECORD.fieldFixedLengths: 9,6,8
TRAILER_RECORD.fieldNames: Key,RecordSequenceNumber,Identification,TotalNumberOfEmployees
TRAILER_RECORD.keyFieldValue: TRAILR
TRAILER_RECORD.keyFieldInStructure: ignore
ignoreRecordsetName: true

Similar Messages

  • Nested structure and FCC problem (Header Problem)

    Hi all,
    I have a target structure like this:
    MT
    -Recordset (0..unbounded)
    --field1 (1)
    --field2 (1)
    Record (0..unbounded)
    field6 (0..1)
    field7 (0..1)
    After mapping:
    MT
    -Recordset (0..unbounded)
    --field1 (1)
    --field2 (1)
    Record (0..unbounded)
    field6 (0..1)
    field7 (0..1)
    -Recordset (0..unbounded)
    --field1 (1)
    --field2 (1)
    Record (0..unbounded)
    field6 (0..1)
    field7 (0..1)
    -Recordset (0..unbounded)
    --field1 (1)
    --field2 (1)
    Record (0..unbounded)
    field6 (0..1)
    field7 (0..1)
    I need header like this after FCC:
    field1,field2, field6,field7
    But Iu2019m getting something like this:
    field1,field2,Record (Because of the nested structure, I can't change the structure)
    I have used xml.addHeaderLine = 1 it didnu2019t work it gives something like the above structure.
    I have also used xml.HeaderLine = field1,field2,field6,field7  and xml.addHeaderLine =3
    Nothing is working is there any option.
    Thanks,
    Srinivas
    Edited by: Srinivas Davuluri on Jul 17, 2008 10:13 PM

    Hi,
    one option could be
    RecordSet.addHeaderLine = 3
    Recordset.headerLine = field1<ur seperator>field2<ur seperator> field6<ur seperator> field7
    Edited by: Progirl Progirl on Jul 18, 2008 9:50 AM

  • 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

  • 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.

  • JMS Receiver FCC Problem After Upgraded from SP19 to SP22 in XI3.0

    Hello,
    I am facing a problem in my Receiver JMS adapter in FCC just after the upgrading it from SP19 to SP22 in XI 3.0 by our basis consultant. Before that everything was working perfect in DEV.
    I am getting the below mentioned error in CC monitoring.
    > MP: Exception caught with cause com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.NullPointerException''; nested exception caused by: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.NullPointerException'
    This problem is happening in other scenario too in our DEV system.
    But at the same time since we have not applied any upgrade in QA therefore same scenario is working fine.
    Regards,
    Sarvesh

    Ok Friends...
    I got the solution from SAP.. there was a problem in the SP22 for XI 3.0 which I donloaded from Service Market Place. Now I have applied the correct SP22 to my system and now it is working fine...
    I hope this may help you...
    Regards,
    Sarvesh

  • How to convert sequencial textlines into nested structure?

    Hi experts,
    I have an input-TXT file in which I get headerdata (1 line), positiondata (n lines) and for each position partnerdata (n lines). I have to map this data to Idoc ORDERS05. In this structure, there is 1 element per position (E1EDP01) which contains a subelement where I can enter position-partners. How can I achieve this mapping using the graphical message mapping tool in XI?
    Example lines of inputfile:
    (headerdata) 199992;100;10;...
    (positiondata) 10;100200;50
    (positionpartners) 10;partner1
    (positionpartners) 10;partner2
    (positionpartners) 10;partner3
    (positionpartners) 10;partner4
    (positiondata) 20;100201;100
    (positionpartners) 20;partner1
    (positionpartners) 20;partner2
    (positiondata) 30;100202;75
    must result in:
    headerdata linked to E1EDK01, no problem
    positiondata linked to E1EDP01, no problem
    positionpartners linked to E1EDPA1 within E1EDP01. Here is the problem...just linking the input-positionpartners to EDEDPA1 does not work. Then I get all positionpartners of the complete inputfile linked to the first E1EDP01, and no partners from the second E1EDP01 on...
    Regards,
    William

    Hey,
    First step is create a mapping structure(i.e data type and message type) which will be convenient
    for you to map with the Idoc.
    Then you can use File content conversion to convert the text file into the nested structure(one which you have created))
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    refer to this blog in order to convert the input file stream into the required nested structure.
    Once done this map the message type to your Idoc.
    revert in case of any problem with FCC(file content conversion).
    reward points if useful.

  • Limitations of File Content Conversion (FCC)

    Hi
    I want to know the Limitations of File Content Conversion (FCC) while defining for a particular structure.
    I was bit confused from the [SAP Help |http://help.sap.com/saphelp_nw2004s/helpdata/EN/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm]
    It says "There can be a fixed or variable number of substructures in a recordset." but from sdn i found
    [Content Conversion in File Adapter   |Content Conversion in File Adapter]
    It will support "A maximum of 3 hierarchy level will be supported in FCC"
    Is <recordset> Mandatetory in for FCC, what if we dont have <recordset> in the structure.
    Till what hierarchy level it supports
    what is the limitation of FCC
    Regards,
    Varun
    Edited by: Varun Reddy on Feb 26, 2009 4:52 PM

    Varun,
    Both statements are true:
    Consider, for instance, a file containing orders. You could have:
    HEADER;123;456;11112 (containing sender 123, receiver 456, order number 11112)
    PARTNER;OR;234 (containing the ordering partner number 234)
    PARTNER;DL;235 (containing the delivery address 235)
    DATE;OR;20090226 (containing the order date 26/02/2009)
    DATE;DL;20090228 (containing the delivery date 28/02/2009)
    LINE;9998;12 (article number 9998, quantity 12)
    LINE;9996;25 (article number 9996, quantity 25)
    LINE;9991;3 (article number 9991, quantity 3)
    HEADER;123;456;11113 (2nd order containing sender 123, receiver 456, order number 11113)
    PARTNER;OR;234 (containing the ordering partner number 234)
    PARTNER;DL;237 (containing the delivery address 237)
    DATE;OR;20090226 (containing the order date 26/02/2009)
    DATE;DL;20090301 (containing the delivery date 01/03/2009)
    LINE;9998;4 (article number 9998, quantity 4)
    Parsing such a file with FCC would be possible, provided there's an identifier that indicates the type of line (like 'HEADER', 'PARTNER', etc). This is an example of There can be a variable number of substructures in a recordset.
    If the records do not contain an identifier from which you can see the line type, FCC can only parse this if the order of the various structure types is fixed, so that it can determine from the line number what type of record this is. This would be an example of There can be a fixed number of substructures in a recordset.
    Now, about A maximum of 3 hierachy level will be supported in FCC. In the FCC, there are three levels: the recordset (one order in the above example), the record (a line in the file) and the field (the order number, for instance). The FCC does not support files with deeper nesting. For instance, if a line item in your flat file could also contain a delivery date, FCC does not support this.
    Hope this helps,
    Koen

  • FCC Configuration for Multilevel Hierarchy

    Hello Everyone,
    I have a problem with FCC in sender side.
    I have a multilevel nested structure shown below:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_XX__OB xmlns:ns0="http://xx.com">
       <Record1>
          <X/>
          <Record2>
             <A/>
             <B/>
             <C/>
             <D/>
             <E/>
          </Record2>
       </Record1>
    </ns0:MT_XX_OB>
    However I couldn't implement Record2 with FCC.Because,Lower subelement Record2 and Its elemnts weren't determined with FCC(with .fixedLenght).Furthermore,Data doesn't include keyfields.So,I couldn't use .keyfield.Can you help me please about this problem?
    Thnx..

    Hello Hareen,
    Thanks your reply.
    But,I need a solution in fcc side when retrieving data from text for multivel structure.Is it possible or not?I need fcc parameters for creating multilevel structure.
    RECORD1
         -->PARTNR
         -->RECORD2
              --->matnr
              --->idnrk
              --->menge

  • Problem in creation of Nested Table

    Hi Everyone,
    I have applied thisexample for creating nested tables but at the end I got the message of invalid datatype
    current_address full_mailing_address_type,
    ERROR at line 4:
    ORA-00902: invalid datatype
    http://www.praetoriate.com/oracle_tips_nested_tables.htm
    Please help me out.....
    Message was edited by:
    Dharmendra

    What is the output for
    select * from user_types
    ?

  • Media Encoder CC 2014 using cached versions of Precomps in AE and Nested Sequences in Premiere?

    I'm seeing this weird thing where Media Encoder is using older versions of certain assets when exporting a Premiere Pro CC 2014 sequence.  I'm seeing issues with nested sequences...Media Encoder uses an old version of a linked AE comp or it doesn't render a certain video track. With linked AE comps...I'm seeing Media Encoder use an earlier version of a precomp within the main comp.
    When I look at the video in the Export Settings dialogue in Media Encoder, the old version of the AE comp shows .
    If I look at the Export Settings dialogue in Premiere, it's up to date and looks right.
    Anyone dealing with this or found a workaround?  Thanks!
    Calvin

    I don't think I'd call this issue expected behavior...at best it's anticipated behavior that's going wrong.  The only reason I wouldn't call it expected behavior is because what I'm seeing is AME reverting to a cached state on a FRESH LOAD of a sequence to render directly from Premiere.  Basically, AME isn't open...sequence looks fine in PPro...load into AME via PPro export...look at export settings dialog in AME and note that the sequence is the old/cached version.  So, it's not like the export was already in AME and THEN I made changes in PPro.  It appears AME might be incorrectly identifying the newly imported sequence for export as an older, cached version.
    However, I didn't get a chance to test your original solution so I'll try that the next time I see it happen.  I also fixed the issue by clearing out the media cache and databases.  NOT an elegant solution at all and TOTAL overkill...but it did work.
    Thanks for the links!

  • Mapping  problem due to FCC in sender file adapter

    Hi All
    I am doing File( Flat File ) to RFC Scenario.it is working fine..
    the problem comes in mapping with multiple records.
    FCC at sender file adapter is used
    my Data Type are :
    Source DT                      Target RFC import parameter(table).
    E2ED20*                            ITEM*
        KEY                                    VBELN
        VBELN                                 POSNR                                                
    E2E24*                                     CHARG
        KEY
        POSNR                             
        CHARG
    <b>*->>multiple occurence
    E2ED20  and E2E24 are 2 segment ,KEY is used in FCC to identify E2EDL20 & E2EDL24</b>
    My source text file is like this :
    E2EDL20                       0200
    E2EDL24                       xyz
    E2EDL20                       0201
    E2EDL24                       abc
    E2EDL24                       efg
    E2EDL24                       mln                      
    E2EDL20                       0202
    E2EDL24                       gty
    so the payload should be :
      0200   xyz
      0201   abc
      0201   efg     
      0201   mln
      0202   gty
    in <i>FCC ignoer record set= true</i>
    otherwise is not called...
    i try to use split by value & use oneasmany  , not helpfull.
    in message mapping when i checked th field VBELN -> display queue
    i am getting an array   0200
                                     0201
                                     0202  in white fields
    thanks & regards
    Ashutosh Rawat

    <b>Source payload</b>
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_MATNO_FILE xmlns:ns="urn:abc:xxx">
    - <E2ED20>
      <KZ>E2EDL20</KZ>
      <FIELD1>020</FIELD1>
      <b><VBELN>0083662685</VBELN></b>
      </E2ED20>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900001</POSNR>
      <CHARG>1078629</CHARG>
      <LFIMG>3200</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900002</POSNR>
      <CHARG>1078630</CHARG>
      <LFIMG>1895</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900003</POSNR>
      <CHARG>1079145</CHARG>
      <LFIMG>1883</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900004</POSNR>
      <CHARG>1079146</CHARG>
      <LFIMG>3195</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
    - <E2ED20>
      <KZ>E2EDL20</KZ>
      <FIELD1>020</FIELD1>
    <b> <VBELN>0083662648</VBELN></b>
      </E2ED20>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900011</POSNR>
      <CHARG>1001450</CHARG>
      <LFIMG>2946</LFIMG>
      <MEINS>8PC</MEINS>
      </E2E24>
    - <E2ED20>
      <KZ>E2EDL20</KZ>
      <FIELD1>020</FIELD1>
    <b> <VBELN>0083673936</VBELN></b>   </E2ED20>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900012</POSNR>
      <CHARG>1073953</CHARG>
      <LFIMG>2458</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
      </ns:MT_MATNO_FILE>
    <b>at target what required is</b>
    <item>
    <b><VBELN>0083662685</VBELN></b>
    <POSNR>900001</POSNR>
    </item>
    <item>
    <b><VBELN>0083662685</VBELN></b>
    <POSNR>900002</POSNR>
    </item>
    <item>
    <b><VBELN>0083662685</VBELN></b>
    <POSNR>900003</POSNR>
    </item>
    <item>
    <b><VBELN>0083662685</VBELN></b>
    <POSNR>900004</POSNR>
    </item>
    <item>
    <b><VBELN>0083662648</VBELN></b>
    <POSNR>900011</POSNR>
    </item>
    <item>
    <b><VBELN>0083673936</VBELN></b>
    <POSNR>900012</POSNR>
    </item>
    in Sender FCC
    E2ED20.fieldFixedLengths               7,76
    E2ED20.fieldNames                            KZ,VBELN
    E2ED20.keyFieldValue              E1EDL20
    E2ED20.endSeparator              'nl'
    E2E24.fieldFixedLengths              7,24,13,7,3
    E2E24.keyFieldValue                              E1EDL24
    E2E24.fieldNames                               KZ,POSNR,CHARG,LFIMG,MEINS
    E2E24.endSeparator                              'nl'
    ignoreRecordsetName              true
    source file is already there...
    Message was edited by:
            ashutosh rawat

  • Problem in Sender File Adapter using FCC with Variable structure

    Hi Experts,
    Hi Experts,
    I have facing an issues while using FCC in Sender File adapter. Below are the configs for the same:-
    Recordset structure required is ==HEADER,1,DATA,*,TRAILER,1
    Recordset per message == *
    Key Field Name == Key
    (Sorry i dont know how to insert screen shot here..pls tell me how can i insert screen shots here on sdn)
    HEADER.fieldSeparator           ,
    HEADER.endSeparator           u2018nlu2019
    HEADER.fieldNames               Key,x,y,zu2026
    HEADER.keyFieldValue          1
    HEADER.keyFieldInStructure      ignore
    HEADER.fieldContentFormatting     trim
    HEADER.additionalLastFields     ignore
    HEADER.missingLastFields     ignore
    DATA.fieldSeparator
    DATA.endSeparator
    DATA.fieldNames
    DATA.keyFieldValue
    DATA.keyFieldInStructure
    DATA.fieldContentFormatting
    DATA.additionalLastFields
    DATA.missingLastFields
    Using same variables for Trailer record as well.
    Source CSV file which i am picking:-
    ADSE ,RASD,replan  Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,  S Top Up ,20080401  ,20080430  ,sdf  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,  r Cash Award ,20070701  ,20070703  ,ded  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,   Cash Award ,20070801  ,20070831  ,df  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,sf  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    BTRL ,   5140, 
    When i tested the scenario and monitored it using MDT in CC monitoring tool its giving me below mentioned error.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'http://myurlname/mdt/me...
    However if i change the occurence of DATA as some specific value for eg 4 instead of * it works fine.
    Kindly help me in solving this problem.
    Thanks,
    Aditya Verma

    Hi Madan,
    Thanks a lot for giving me the way to this. But when i tested this with the below file its giving me the same error. Please let me know if i need to do any changes to the parameters mentioned above:-
    ADSE ,ASDA,Sha  replan Fr ont Feed Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,   r Cash Award ,20070701  ,20070703  ,TPV  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,  r Cash Award ,20070801  ,20070831  ,TPV  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,TPV  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    EMPL ,0255555,   Cash Award ,20080301  ,20080320  ,TPV  ,                          00000000027870  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:25,
    EMPL ,0266666,   Cash Award ,20071001  ,20071020  ,TPV  ,                          00000000020681  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0877777,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000036000  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:05,
    EMPL ,0888888,   Leaver Cash Award ,20071201  ,20071231  ,TPV  ,                          00000000157200  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:11:29,
    EMPL ,0899999,  S Leaver Cash Award ,20080301  ,20080331  ,TPV  ,                          00000000153530  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:42,
    EMPL ,0800000,  S Leaver Cash Award ,20070701  ,20070731  ,TPV  ,                          00000000012234  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:34,
    BTRL ,   5140,
    This the original csv file which i'll get in live. Kindly suggest as ur solution worked with other file but not working with this scv file.
    Thanks a lot,
    Aditya.

  • Nested tables and multiset operators in Oracle 10g

    Consider the following scenario:
    We have two identical relations R and S defined as:
    CREATE TABLE R(
    a INTEGER,
    b table_type)
    NESTED TABLE b STORE as b_1;
    CREATE TABLE S(
    a INTEGER,
    b table_type)
    NESTED TABLE b STORE as b_2;
    where table_typ is defined as
    CREATE TYPE table_typ AS TABLE OF VARCHAR2(8);
    Suppose we have two instances of R and S, each having one tuple as follows: R(1,table_typ('a','b')) and S(1,table_typ('b','c')).
    I would like to "merge" these two simple instances (e.g., achieve the effect of a simple SELECT * FROM R UNION SELECT * FROM S query) and obtain the following resulting instance: Result(1,table_typ('a','b','c')).
    Would this be possible in Oracle 10g? A simple UNION does not work (I got a "inconsistent datatypes: expected - got SCOTT.TABLE_TYP" error). I also took a look at the MULTISET UNION operator over nested tables available in Oracle 10g, but it doesn't seem to get me anywhere. Any help on this would be greatly appreciated.
    Thank you,
    Laura

    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> CREATE OR REPLACE TYPE table_type AS TABLE OF VARCHAR2 (8);
      2  /
    Type created.
    SQL> CREATE TABLE r(
      2    a INTEGER,
      3    b table_type)
      4    NESTED TABLE b STORE as b_1;
    Table created.
    SQL> CREATE TABLE s(
      2    a INTEGER,
      3    b table_type)
      4    NESTED TABLE b STORE as b_2;
    Table created.
    SQL> INSERT INTO r VALUES (1, table_type ('a', 'b'));
    1 row created.
    SQL> INSERT INTO s VALUES (1, table_type ('b', 'c'));
    1 row created.
    SQL> COLUMN c FORMAT A10;
    SQL> SELECT r.a, r.b MULTISET UNION DISTINCT s.b c
      2  FROM   r, s
      3  WHERE  r.a = s.a;
             A C
             1 TABLE_TYPE('a', 'b', 'c')
    SQL>

  • ISE 1.2...Nest AuthZ rules?

    Is it possible to nest rules in ISE 1.2? 
    For example, rule 1 matches parent group, then rule 1.1 is a sub-group that applies policy 1, rule 1.2 matches another sub-group that applies policy 2. So on...
    Thanks.

    Yep, Policy Sets would do the trick! Good job on figuring out a solution to your own problem and thank you for taking the time to come back and share it with everyone. (+5 from me)
    You should probably mark the thread as "Answered" now :)
    Thank you for rating helpful posts!

  • Query help,  Percentages / ratio to reports / nests

    Hi
    I have a query that returns data like this
    D_NO POINTS COUNT_POINTS ID_COUNT
    4002 L_T_69 12 282
    4219 L_T_69 1 151
    4228 L_T_69 18 193
    4229 L_T_69 7 181
    4230 L_T_69 0 197
    I need to also output a column that works out a percentage of count_points and Id_count. e.g 12/282 * 100 = 4.2
    I had a try with ratio to reports function but no joy for me. I think i need to add in
    another nested select or something but what i was trying wasnt working.
    Can anyone help.
    here is the query so far
    SELECT D_NO,
    GROUPS.POINTS,
    DECODE(GROUPS.POINTS, 'L_T_69' , L_T_69) AS COUNT_POINTS,
    ID_COUNT
    FROM
         (SELECT D_NO,
         Count (CASE WHEN VERBAL <= 69 THEN 1
              END) AS L_T_69,
         COUNT(ID_NUMBER) AS ID_COUNT
         FROM TBL_1
         WHERE VERBAL IS NOT NULL
         group by D_NO)
    TBL_1,
    ( SELECT 'L_T_69' POINTS FROM DUAL )GROUPS
    thank you

    Not sure if this is what you're looking for but it may give you some clues:
    select object_type
          ,has_a_c
          ,type_total
          ,round(100 * (has_a_c / type_total),2) ratio
    from
       select object_type
             ,sum (case when instr(object_name,'C') <> 0 then 1
                        else 0
                   end) has_a_c
             ,count(*) type_total
       from   all_objects
       group by object_type
    OBJECT_TYPE          HAS_A_C   TYPE_TOTAL   RATIO
    CONSUMER GROUP             1            2      50
    EVALUATION CONTEXT         1            1     100
    FUNCTION                  50          113   44.25
    INDEX                      7           20      35
    LIBRARY                    0            2       0
    OPERATOR                   1            2      50
    PACKAGE                  500         1158   43.18
    PACKAGE BODY             487         1126   43.25
    PROCEDURE                 54           86   62.79
    SEQUENCE                  62          116   53.45
    SYNONYM                 1060         2298   46.13
    TABLE                    365          721   50.62
    TABLE PARTITION           15           15     100
    TYPE                     104          272   38.24
    VIEW                     834         1896   43.99
    15 rows selected.

Maybe you are looking for

  • Problem: add a picture to a header in Pages 5.2

    Hello! Does anyone know how to add a picrure to header in Pages 5.2? It was easy do do it in previous Pages 4.2 - just Paste and Edit: Now it pastes only picture's name: Apple Support says that Pages 4.2 doesn't work on Maverics so I can't work in pr

  • SQL Developer - problems with the Data Modeller part

    Hi SQL Developer users, I can open the Data Modeler pane, but I can't insert any object into the logical model or into the relational model. Any ideas about what I'm doing wrong? Do I need specific privileges to the database, or do I need to install

  • Acrobat Plug In...Could not find external window handler

    When I try to open a pdf file with Adobe Acrobat, my computer gives me a prompt, Acrobat Plug In...Could not find external window handler... The problem just started recently.  I am running Adobe Acrobat 6.0 and the ME version of Windows.  The Micros

  • CRM 2013 - Javascript - Open New Record Of A Different Entity

    Hi In my order form the user can input a address for a ship to address. They have the option to save this address via a decision box, if they click yes i'd like CRM to open a new form displaying the entity customeraddress so that the user can save th

  • Unable to connect to the remote server error

    Hi All, I am new to visual studio web development. when I try to run my application  locally it is throwing the below error. I don't know exactly but I think it is unable to access webservice on my local machine. I have turned off all firewalls. Can