Skip to Content
-1

Repeat target header node of XML based on constant integer in source in sap hci mapping

Hi All,

I have a scenario where I need to repeat the header node in target structure depending on the constant integer value passed from source. Please help with the Groovy Script Custom Function UDF or Graphical Mapping logic in SAP HCI.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 11 at 12:24 PM

    Hi Aman!

    Just write a simple UDF generating result list containing the number of rows according to number given in input parameter:

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 11 at 08:32 AM

    Hello Aman,

    It would be great if you can provide input structure and what you are expecting ( output structure ) instead of putting things in general.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded