Skip to Content
author's profile photo Former Member
Former Member

UDF

hi sap-xi guru,

can you explain me what is the difference between context and queue in UDF.what are the properties that are present under these context and queue option.

Thanks & Regards

singothu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2009 at 01:18 PM

    If you hava message with occurence 0..unbounded then

    entire message will be a part of the queue

    and each occurence of message will be part of the context

    i.e Input

    data 0.....unbounded

    then

    Input

    data 0

    data 1

    data 2

    will be part of the queue

    and data 0 will be context

    HTH

    Rajesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2009 at 01:20 PM

    Hi,

    Context is a group which belong to a certain parent node.

    <a>
       <b>1</b>
       <b>2</b>
    </a>
    <a>
       <b>11</b>
    </a>
    

    In the example above You can say that

    '<b>1</b>' 

    is in the same context than

    '<b>2</b>'

    but not than '

    <b>11</b>'

    Queue is another way to group the elements, but the queue is a group of context. ie. In the example above you can say that

    '<b>11</b>'

    is in the same queue that

    '<b>1</b>'.

    About properties, in fact both in the UDF are arrays, in queue you can have CC element which are "Change context" to identify You can compare the element with ResultList.CC.

    for more information check the following link:

    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

    Regards

    Ivan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2009 at 08:57 AM

    Hi,

    Queue has the list of all values a field has...

    Whenevr there is a change in hierarchy, there is a change in context.

    regards,

    Ramya Shenoy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2009 at 10:19 AM

    refer this wiki [https://wiki.sdn.sap.com/wiki/display/XI/UDFExecutionType-ContextandQueue.

    ] you will find the explaination with screen shots.

    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.