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

Regarding collapse context

The help site from SAP is not clear on ...regarding "Collapse Context" node function..

In http://help.sap.com/saphelp_nw04/helpdata/en/58/cd834014d26f1de10000000a1550b0/content.htm

it mentioned CollapseContexts() as.....

Using collapseContexts() puts the first values of all contexts into a context. Empty contexts are replaced with an empty string

But actually when I used ...its taking the first value of each context ,Why so...

So is the documentation provided by SAP is wrong or I have taken it in wrong perspective...

Please suggest me on this....

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 21, 2008 at 12:28 PM

    Hi,

    Yes! It will take the first value of each context, even the document tells the same

    first values of all contexts

    Thanks

    SaNv...

    Edited by: Sãnthosh Kûmãr V on Sep 21, 2008 5:59 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 04:12 AM

    Hi,

    Documentation provided by SAP is right.

    Output of This function is depending upon CC(Context Change)

    1)

    Using collapseContexts() puts the first values of all contexts into a context

    e.g. 1) If Input Values are as follows,

    A

    B

    CC(Context Change)

    C

    suppress value

    D

    CC(Context Change)

    After putting collapse context Output Values are,

    A

    C

    It takes 1st value only depending upon context.

    2) Input value

    A

    CC(Context Change)

    B

    CC(Context Change)

    C

    CC(Context Change)

    suppress value

    CC(Context Change)

    D

    CC(Context Change)

    Output Value

    A

    B

    C

    "" (Blank value)

    D

    Regards,

    Rohit.

    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.