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:
concatToOneQueue_MT
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.
concatToOneQueue_data_with_context
mapping for field list1:
concatToOneQueue take 5 queues that with context change as input, concatenate first row, followed by second and third row.
concatToOneQueue_list1_with_context
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.
concatToOneQueue_data_without_context
mapping for field list1:
concatToOneQueue take 5 queues that removed context as input, concat col1, followed by col2 until col5.
concatToOneQueue_list1_without_context
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.
concatToOneQueue_data_concatContextValues
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 “@”
concatToOneQueue_list1_concatContextValues
 
 

UDFNodePool – concatToOneQueue and concatContextValues

2 thoughts on “UDFNodePool – concatToOneQueue and concatContextValues

  • March 7, 2016 at 5:44 pm
    Permalink

    Hi,
    Can you share the source code for this UDF?
    Thanks!

    Reply
    • April 27, 2016 at 11:13 am
      Permalink

      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.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *