Skip to Content

Sender FCC parameters issue

Hi Experts,

We are receiving flat file with pipe delimited file from the source system.

First row Contains Header Data  and from Second row onwards contains Record data.

Sender structure                                                                                   Receiver Structure

Invoice

RecordSet                                                                                              Invoice

                                                                                                                 RecordSet

   Header                                                                                                       Header

       Batch_Date                                                                                               Batch_Date

   Record                                                                                                   Record

       Field1                                                                                                      Field1

       Field2                                                                                                      Field2

       Field3                                                                                                      Field3

i defined FCC parameters as below

Document Offset 1

Recordset Name: RecordSet

Recordset Structure: Header,1,Record,*

Header.fieldSeparator:|

Header.endSeparator:'nl'

Header.fieldNames:Filler1,Filler2,Batch_Date,Filler3

Record.fieldSeparator:l

Record.endSeparator:'nl'

RecordSet.fieldSeparator:'nl'

Record.fieldNames:Filler, Field1, Filler2,Filler3 Field2.


But the Header is not populating in the inbound payload,only Record is populating, Due to that it is failing in mapping.


Error" Cannot produce target element /ns0:ConcurInvoice2/RecordSet. Queue does not have enougth values in context, Queue does not have enough values to generate Target structure".


Please help me to fix this.


Regards

Bhargava Krishna

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 05, 2015 at 01:07 PM

    Bhargava,

    Document Offset 1, ignores first line of input file. Make it zero and try.

    Also try Link

    NameA.missingLastFields

    If the inbound structure has less fields than specified in the configuration then the XML outbound structure is created as follows:

    • ignoreOutbound structure only contains the fields in the inbound structure
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Bhargava krishna Talasila

      HI Bhargava,

      Your FCC parameters should be

      Header.keyFieldvalue Filler; Record.keyFieldValue Filler


      Post a sample file too.

      Regards,

      Pranav

  • avatar image
    Former Member
    Feb 06, 2015 at 06:36 AM

    Hi Bhargava,

    Try NameA.additionalLastFields

    Add comment
    10|10000 characters needed characters exceeded