cancel
Showing results for 
Search instead for 
Did you mean: 

Fill blanks in target structure - Message Mapping

Former Member
0 Kudos

my scenario is idoc>xi>flat file

I want to fill blanks in the target file in the places that the idoc doesn't have values so the file will contain spaces ( field fixed lengths)

can I do this with content conversion or should I map empty values to target message type in message maping?

thx

Frank

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

Use the node function mapWithDefault.

Source -


> mapWithDefault -


> Target.

>>so the file will contain spaces

Set the default value of the mapWithDefault function to a space' '.

Thanks

SaNv...

Former Member
0 Kudos

this is good for each field

but can I do it for all fiedls at once?

santhosh_kumarv
Active Contributor
0 Kudos

>>but can I do it for all fiedls at once?

No. You have to do it for each and every required field individually.

Thanks

SaNv...

Former Member
0 Kudos

Thx a lot

Frank

former_member192295
Active Contributor
0 Kudos

Hi,

In graphical mapping need to make condition individually for each field. If you want make one condition for all fields better to choose java/abap mapping, it will work. Graphical mapping it is not possible.

Answers (0)