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

Two different CuCo instances in one component?

Hi,

I am working on component ICCMP_BP_SEARCH. Here I have the views BuPaSearch and BuPaSelectCustomer.

Within each of the views I created a new value node ZPARTNER. The CuCo CuCoSearch also got a value node ZPARTNER. Now I binded the nodes of the each view to the node of the CuCo and added an attribute to the CuCo as well.

Now when I perform a search I fill data into the context node of the view BuPaSearch and set the attribute in the CuCo.

In the view BuPaSelectCustomer (html-file) I try to get the current instance of the CuCo to read the attribute and the value node.

I expected the changes of my value node in BuPaSearch to be published to the CuCo and the BuPaSelectCustomer view. Maybe I need to add some coding, but at least the global attribute should be available, no?

When I get the custom controller in the html file (BuPaSelectCustomer) the CuCo is initial. If I access the CuCo inside the BuPaSearch view where it was filled, I have all the attributes and entities I created.

Seems I am wrong in my thinking or I have some mistake in my implementation.

Any idea what I should check or what could have gone wrong?

Thanks for help!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 13, 2011 at 07:57 PM

    Hello, Benedikt.

    Do you get a CuCo as initial. Or CuCo is not initial but your attribute is initial?

    How do you try to get CuCo? Please provide some coding.

    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.