cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Null fields.

0 Kudos

Hi all,

I’ve configured an IDOC-to-File scenario with the IDOC MATMAS. The file generated uses the ‘nl’ as the record delimiter and #! as the field separator. Everything works fine except when the IDOC has null fields. In these cases the communication channel does not write these fields because they are not in the XML message and then the structure within the file is bad. I need to write the entire fields even if they are not in the XML-IDOC. I found the mapping function mapWithDefault but there are a lot of fields to map. Is there any other solution to force Comunication Channel or the mapping process to write all the fields even if they have null values?

Thank you in advance!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

you have that facility in webMethods but as far I know, you cannot do that in XI. You need to map each field separately

Former Member
0 Kudos

You shud map all the necessary fields manually using the graphical mapping for instantiating the fields on the target.

Regards,

Kittu.

Former Member
0 Kudos

AFAIK you should map manually to all the fields. There is no other way in comm. channel.

---Satish