on 08-07-2013 1:01 PM
Hi Guys,
I have a Backend component where I have the main context with a lot of nodes. When I want to use and initialize this component usage I have not problems. However, when I want to load an aditional component that also load this Backend component, I have two instances. So I have three components C1, C2, C3 and I want to to load (-->) them in an Application as follows:
In this case I have two instances of C1 and I need only one.
So, How could I solve this problem?
Thanks,
Sergio.
Hi Sergio,
Take a look at IF_WD_COMPONENT_USAGE methods...
- CREATE_COMP_USAGE_OF_SAME_TYPE.
- This method creates a component usage that refers to the same component. The result is an object of type IF_WD_COMPONENT_USAGE.
- ENTER_REFERENCING_MODE
- You can use this method to determine that one component usage refers to a different component usage.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.