cancel
Showing results for 
Search instead for 
Did you mean: 

missingLastfields

Former Member
0 Kudos

Hi Guys,

I have a txt inbound file  where the last two fields sometimes are missing.

I placed those fields as 0... to 1 in the data type; And in the communication channel I used missingLastfields add.

But it never works. I got an error in the communication channel specifying that I'm missing the command lastFieldsOptional but per the link here: http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm  the use of lastFieldsOptional is obsolete.

But if I use lastFieldsOptional the error is in the mapping where is expecting those fields. My question is:

missingLastfields with the option add is not supposed to append the missing fields as empty?

Thanks!!!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

For some reason missingLastfields didn't work. But I resolved the problem in the mapping verifying if the node exits.

Thanks

Answers (1)

Answers (1)

naveen_chichili
Active Contributor
0 Kudos

Hi Miguel,

Try adding this parameter:

Record.missingLastfields = add

please refer below link for reference.

http://scn.sap.com/thread/1977521

thanks,

Naveen