cancel
Showing results for 
Search instead for 
Did you mean: 

Defaulting fixed length file fields to 'blank'

Former Member
0 Kudos

Hi,

I am currently working on an outbound interface which results in the construction of a fixed length record flat file. At the moment I am having to deal with each field in person to ensure that either a value,or a blank is mapped to the target field as each field is mandatory. Is there an easier way to do this such as using the 'default' setting in the data type definition with some special character to represent a blank so that I dont have to worry about missing values in my message.

Regards,

Pete

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

When the occurrance of the element is 1..1, the element is provided in the target even when no mapping is done for it.

But there is no blank, just an empty node. But that should be OK, when you use the default conversion.

Regards

Stefan

Former Member
0 Kudos

Hi

I have the same problem, and didn't find any way to default the fields.

It helps to use the function "mapWithDefault", but you still have to deal with each field.

Br,

Elling