cancel
Showing results for 
Search instead for 
Did you mean: 

File content conversion

former_member190624
Active Contributor
0 Kudos

Hi,

My field length (Item.fieldFixedLengths)is given as 10. But there was some exceptional cases were field length will exceed 10. To overcome this , we used parameter Item.fixedLengthTooShortHandling as Ignore. Channel is picking file  content conversion is done , if field length is less than 10 , we are getting  correct output.If length > 10 , we are not getting correct output.

Example:

if field Length <10

Input                          output

0000123                   0000123 (correct)

if  field length >10

Input                                    output

012345678910                   0123456789 ( last two values missing)

Thanks in advance.

Regards

Hari.

Accepted Solutions (1)

Accepted Solutions (1)

GabrielSagaya
Active Contributor
0 Kudos

You cannot use fixedLengthTooShortHandling parameter in sender FCC.

http://help.sap.com/saphelp_nw04/helpdata/EN/ee/c9f0b4925af54cb17c454788d8e466/frameset.htm

In this case, you can use NameA.keepIncompleteFields as YES and mention the fieldFixedLength as 12 for that field so that even if the filed size is less than 12, you can pass the value.

Thanks

Gabriel

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

That is how it works, fixedLengthTooShortHandling has 3 options refer below SAP help doc note

Specify how you want  the system to respond when column widths in the actual document exceed those defined in NameA.fieldFixedLengths. The following values are permitted:

  • Error:  Error means that processing of the document is terminated.

  • Cut: Cut means that a value is shortened to the maximum permitted length.

  • Ignore: Ignore means that the system applies the value completely, regardless of it being too long. Subsequent columns are moved correspondingly.