cancel
Showing results for 
Search instead for 
Did you mean: 

Use of mapwithDefault

Former Member
0 Kudos

Hi,

I have an IDOC to CSV File Scenario for Matmas04.

Some of the fields in certain segments are blank.

Blank field values donot get reflected in the output file.

After some research, i found that mapwithDefault can solve the problem. However, i would have to transform each individual field in the message mapping editor.

The number of fields involved being large, is there a way

to recursively apply the function to each mapped field.

Or perhaps there is some other solution to this issue using a java program or using XSLT.

Any pointers on the above ?

Regards,

Jeron

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

HI,

No, you need to do for each individual fields.

But using Java Mapping you can reduce the manual work.

If you use XSLT mapping, then you can design this mapping as Fieldwise, if so then you can get this blank field automatically.. But for this you need to write XSLT for each field level ( you need to avoid copy-of with segment level),

SO option is to do this with Message mapping as you planned. It is not prefer to use Java/XSLT mapping only for this purpose.(performance constraints)

Regards,

Moorthy

Answers (0)