on 04-09-2012 2:03 PM
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
"
please ignore my above post, confused with sender adapter.
You can try adding parameters
ShipTo.fixedLengthTooShortHandling:Cut
ShipTo.addHeaderLine:0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you try changing parameter as,
RecordSet structure:ShipTo,*
-Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.