Skip to Content

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

Node to be created at Target even if no value in the source field


I have to send the CSV file from Idoc.

The requirement is that all the fields in the inbound are to be mapped to target. If the source field does not exists then a blank value has to be mapped to the target so the the output is:


I have used below mapping for each node at the target:


SRCFLD ->(exists) -> (If then else) -> TARGET


So if the source field vaue is not there, still there will be a blank value in the target.

But this is not working and the value is still not getting populated.

Has any one got this issue before?

regards, Anirudh.

Former Member
Former Member replied

Hi Anirudh,

Use mapWithDefault function type node Functions.

In your source node doesnt exist this will be mapped with the value set in mapWithDefault. If you leave this value to a blank, a blank will be

mapped to the target node.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question