concatToOneQueue will puts all arguments sequentially into one queue. Maximum 5 queues can be added using this function.
concatContextValues will concatenates all values of a context separated by second argument.
Source message type and target message type:
Scenario 1:
Source data and target data:
Put all values from col1 to col5 under single queue, starting at first row, then follow by subsequent rows.
mapping for field list1:
concatToOneQueue take 5 queues that with context change as input, concatenate first row, followed by second and third row.
Scenario 2:
Source data and target data:
Put all values for col1 from all row under single queue, starting at col1, then follow by col2, col3, col4 and col5.
mapping for field list1:
concatToOneQueue take 5 queues that removed context as input, concat col1, followed by col2 until col5.
Scenario 3:
Source data and target data:
Put all values from col1 until col5 under single string separated by delimiter “@”, starting at first row until last row.
mapping for field list1:
concatToOneQueue take 5 queues as input, for each row concatenate col1 until col5 into one context.
concatContextValues will concatenate each context’s values into long string separated by “@”
UDFNodePool – concatToOneQueue and concatContextValues
Hi,
Can you share the source code for this UDF?
Thanks!
Hi,
This is SAP own UDF, not really a good idea to publish SAP developed code in public in my blog. If you have PI 7.31 and above with B2B-AddOn, you can view the UDF code.