Skip to Content

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

Repeat target based on non-blank source fields

Hello,

I have a requirement where I need to generate (and repeat) the target 'Record' node on the basis of the number of non-blank fields in the source 'Record' node. Also, the target field values would be the name of sender fields. Here is an example:

Source:

<Record>

     <Name>abc</Name>

     <PIN></PIN>

     <Country>xyz</Country>

</Record>

Target:

<Record>

     <1>Name</1>

</Record>

<Record>

     <1>Country</1>

</Record>


Requesting your kind inputs here.


Regards,

Aman

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