cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy to File scenario issue with FCC conversion

0 Kudos

Hi Experts,

I am facing a typical issue in FCC conversion in case of multiple records in a Proxy to File scenario.

I am ilustraing the issue in details below:

My target side structure is as below:

MT_AccessControl_ShipTo_In            1......1

>Record                                              0.......1

>Ship To                                            0.....Unbounded

  CUSTOMER_NBR                           

  SALES_ORGANISATION

  DISTRIBUTION_CHANNEL

  DIVISION

  PARTNER_FUNCTION

  LOCATION_CUST_NBR
  LOCATION_REP

The FCC is :

RecordSet structure:ShipTo

ShitpTo.fieldNames:CUSTOMER_NBR , SALES_ORGANISATION,DISTRIBUTION_CHANNEL, DIVISION, PARTNER_FUNCTION,  LOCATION_CUST_NBR,   LOCATION_REP

ShipTo.fieldFixedLengths:10,4,2,2,2,10,10

ShipTo.endSeparator:'nl'

The input payload is as below:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_AccessControl_Out xmlns:ns0="XXXXXXXXXX">

   <Record>

      <ShipTo>

         <KUNNR>0001000000</KUNNR>

         <VKORG>2000</VKORG>

         <VTWEG>01</VTWEG>

         <SPART>01</SPART>

         <PARVW>WE</PARVW>

         <KUNN2>0001000000</KUNN2>

         <LOCATION_REP>1234567890</LOCATION_REP>

      </ShipTo>

      <ShipTo>

         <KUNNR>0001000001</KUNNR>

         <VKORG>2000</VKORG>

         <VTWEG>01</VTWEG>

         <SPART>01</SPART>

         <PARVW>WE</PARVW>

         <KUNN2>0001000001</KUNN2>

         <LOCATION_REP>1234567890</LOCATION_REP>

      </ShipTo>

    </Record>

</ns0:MT_AccessControl_Out>

Now the issue is if I send multiple ShipTO Records then it is throwing an error in the FCC that "Coloumn Value 0001000000 is too long(>4)" but if I send one ShipTo Record then it is not throwing this issue.So i believe that the error is not with the FCC parametrs config but might be with something else.Also you can also validate with the FCC config and the input payload attached that everything is fine.

Therefore if you can please guide me in finding where is the issue.

Thanks and Regards

Atanu Mazumdar

"

Accepted Solutions (0)

Answers (2)

Answers (2)

zameerf
Contributor
0 Kudos

please ignore my above post, confused with sender adapter.

You can try adding parameters

ShipTo.fixedLengthTooShortHandling:Cut

ShipTo.addHeaderLine:0

zameerf
Contributor
0 Kudos

can you try changing parameter as,

RecordSet structure:ShipTo,*

-Zameer

0 Kudos

Hi Zameer,
I have also tried with that but it will throw initiallization error.Actually I think we use that in case of sender file adapter not in case of receiver file adapter.

Thanks and Regards

Atanu Mazumdar