Skip to Content

Context Vs Queue in UDF

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2007 at 07:51 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 20, 2007 at 08:01 AM

    Hi ,

    Please refer the Following thread

    difference-between-context-and-queue-in-udf

    Reagrds.,

    V.Rangarajan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2007 at 09:46 AM

    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-adb5e89a6638https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.