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

difference between remove contexts and collapse contexts

hi all,

what is the difference remove contexts and collapse contexts ,please help me.

regards,

subba reddy

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    Posted on Jul 15, 2009 at 09:32 AM

    Hi,

    Remove Context : Removes the context. all elements will be in a single context.

    eg:

    1

        • (Context Change)

        2

            • (Context Change)

            3

                • (Context Change)

                When you do remopve context output will be

                1

                2

                3

                    • (Context Change)

                    Collapse Context : Collapses the context. Top element will b only available.

                    example:

                    1

                    2

                        • (Context Change)

                        3

                        4

                        5

                            • (Context Change)

                            6

                                • (Context Change)

                                After applying collapse context output will be

                                1

                                3

                                6

                                    • (Context Change)

                                    First element of each context is kept.

                                    Regards

                                    Suraj

                                    Suraj

                                    Add a comment
                                    10|10000 characters needed characters exceeded

                                  • author's profile photo Former Member
                                    Former Member
                                    Posted on Jul 15, 2009 at 09:31 AM

                                    hi,

                                    Remove Contexts:

                                    Removes all immediate level contexts of a source field. In this way, you can delete all hierarchy levels and generate a list.

                                    Collapse contexts:

                                    It takes the first value from all the contexts and put them into a context on the target side, So that all values come under one context.

                                    Empty contexts are replaced by empty strings.

                                    Regards

                                    Venkat

                                    Add a comment
                                    10|10000 characters needed characters exceeded

                                  • Posted on Jul 15, 2009 at 09:35 AM

                                    HI Subbu,

                                    please find below link it wil clearly help you.this query answered many times search in sdn for more info..

                                    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=XI&title=DifferenceBetweenRemoveContextandCollapseContext.&decorator=printable

                                    regards,

                                    Raj

                                    Add a comment
                                    10|10000 characters needed characters exceeded

                                  • author's profile photo Former Member
                                    Former Member
                                    Posted on Jul 15, 2009 at 11:00 AM

                                    Hi Subbu,

                                    Please refer to the below mentioned wiki. It provides you with a clear view on the same:

                                    [https://wiki.sdn.sap.com/wiki/display/XI/DifferenceBetweenRemoveContextandCollapseContext.]

                                    Warm Regards,

                                    Anshul

                                    Add a comment
                                    10|10000 characters needed characters exceeded

                                  • author's profile photo Former Member
                                    Former Member
                                    Posted on Jul 15, 2009 at 11:39 AM

                                    Blog-/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

                                    Regards,

                                    Manjusha.

                                    Add a comment
                                    10|10000 characters needed characters exceeded

                                  • author's profile photo Former Member
                                    Former Member
                                    Posted on Jul 17, 2009 at 04:06 AM

                                    solved my problem

                                    regards,

                                    subba reddy

                                    Add a comment
                                    10|10000 characters needed characters exceeded

                                  • author's profile photo Former Member
                                    Former Member
                                    Posted on Jul 17, 2009 at 04:28 AM

                                    Hi,

                                    Remove context will genarate a new queue by collating all the values across the contexts.

                                    1 1

                                    2 2

                                    Context Change 3

                                    3 -


                                    >RemoveContext----


                                    > 4

                                    4 5

                                    Context Change 6

                                    5

                                    6

                                    CollapseContext will genarte a new queue by picking the value from each context.

                                    1 1

                                    2 3

                                    Context Change 5

                                    3 -


                                    >CollapseContext----


                                    >

                                    4

                                    Context Change

                                    5

                                    6

                                    Thanks,

                                    Kiran.

                                    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.