on ‎2008 May 30 2:58 PM
What is the Queue, Context in Advanced User Defined Functions ...
when we use CACHE in advanced user defined function...
regards,
raj
Edited by: Raja Sekhar Reddy T on May 30, 2008 3:58 PM
Request clarification before answering.
Hi,
this indicated which values from your XML will be inserted into your funciton
either one - value
from one context only - context
or all - queue
check this page to understand
Working with Contexts or Queues
http://help.sap.com/saphelp_nw04/helpdata/en/f8/2857cbc374da48993c8eb7d3c8c87a/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f8/2857cbc374da48993c8eb7d3c8c87a/content.htm
look into this link that explains about the same.
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
http://help.sap.com/saphelp_nw04/helpdata/en/d2/58cd3b11571962e10000000a11402f/frameset.htm
There r 2 types of UDF - Simple and Advanced- 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!!
Soumya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.