cancel
Showing results for 
Search instead for 
Did you mean: 

Context Vs Queue in UDF

GabrielSagaya
Active Contributor
0 Kudos

Can you give an idea about Context Vs Queue in UDF????

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ! Gabriel

this indicated which values from your XML will be inserted into your funciton

either one - value

from one context only - context

or all - queue

<b>check this page to understand</b>

<b>Working with Contexts or Queues</b>

http://help.sap.com/saphelp_nw04/helpdata/en/f8/2857cbc374da48993c8eb7d3c8c87a/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/f8/2857cbc374da48993c8eb7d3c8c87a/content.htm

<b>look into this link that explains about the same.</b>

value ---> is a value for the input parameter. It may be a single value or multiple values.

Queue-----> it is an entire instance of XML message. That means, if you have duplicates of a node, all those contexts will be includedin Queue, which is passed to UDF.

Context -


> refers to a particular context of the XML message.

Please refer to the following document which comprehensively explain differences b/w the various options with examples

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb...

http://help.sap.com/saphelp_nw04/helpdata/en/d2/58cd3b11571962e10000000a11402f/frameset.htm

<b>There r 2 types of UDF - Simple and Advanced</b>- Simple UDFs uses Value, wherein we can manipulate only one value (input is one String). Therefore a single string is expected as input and the output would also b a single string.

- Advanced UDFs uses Context or Queue, where you manipulate many values (input is an array of Strings).

This will help u

http://help.sap.com/saphelp_nw2004s/helpdata/en/40/7b8e40496f6f1de10000000a1550b0/content.htm

Thanks!!

Regards

Abhishek

former_member189387
Active Contributor
0 Kudos

Hi ,

Please refer the Following thread

Reagrds.,

V.Rangarajan

Former Member
0 Kudos

Hi

Context - It donot have identifiable context change.

Queue - Contains context change indicator and it is much more memory intensive.

Working functionalities are same.

Regards,

Yuga