Skip to Content

Advance UDF --- Remove Context

Hi all

I want to use RemoveContext function in UDF ...as this will be based on few conditiond.

Hence i can not use the standard removeContext node function..

can any one tell me the code for doing the same..

Sheetal

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 30, 2007 at 06:37 AM

    you can have a remove context functionality outside the UDF itself.

    Right click the source field and change the context from the parent node to the top(root) node to remove all contexts.

    Note: you can indeed ADD context etc in a UDF - http://help.sap.com/saphelp_nw04/helpdata/en/b1/83a09f668320419dbe00a741e0fe6a/content.htm

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2007 at 06:45 AM

    Hi Sheetal,

    if you Create QUEUE function.you can check context change using ResultList.CC constant and you can add context change using ResultList.CC constant.

    so if you want to create target Queue from source Queue which have context changes, just read source and use result.addValue() and if you want to add context change use result.addValue(ResultList.CC)

    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.