cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal place not written in file.

Former Member
0 Kudos

Hi Guys,

I have IDOC to File scenario.

Below is the mapping and FCC parameters.

The problem is Netweight and GrossWeight fields are not written as it is with decimal places.

But if I see in output payload in MONI it is rightly populated.

Why is this happening?

Regards,

Sachi

Accepted Solutions (1)

Accepted Solutions (1)

former_member182412
Active Contributor
0 Kudos

Hi Dubey,

Using below FCC parameters i could able to write the decimal values into the file.

File:

I think you got spaces in the decimal fields and the length is more than 10 characters, use trim() function to remove the spaces in both fields.

Regards,

Praveen.

Former Member
0 Kudos

You are right, that was also the reason I had to use fixedLenghTooShortHandling as Cut, because I had to keep the length as 10 also.


Thank You!.


Regards,

Sachi

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Dubey,

Remove that fixedlenghtoo shord handling parameter and try.

Former Member
0 Kudos

I tried that, It is failing at the adapter level.

former_member186851
Active Contributor
0 Kudos

Hello Dubey,

Try like this

fixedLengthTooShortHandling Ignore