Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Receiver File Adapter Content Conversion Problem.

Hi All,

I am getting in receiver file adapter due to content conversion setting. Problem is that all the fields coming in file adapter are optional. In content conversion , i have specified fieldfixedlengths. So whenever any optional field is not present , it fails . How should we handle it? is there any option to declare fields as optional, I know that is the there for sender adapter. But no. of fields is also very large, so putting each and every field as optional is very time consuming.

What should i do?

Ranjeet Singh.

Former Member
Former Member replied

Hi,

your code needs the source element to <i>exist</i> to work fine.

Try the following: in the test tab of you mapping, remove a node and then test your UDF on that node with the "display queue" tool. You should see an empty context as result.

In that case no output will be produced and your message will fail.

Check the difference with the MapWithDefault function.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question