on 07-19-2007 9:42 AM
Hello all,
by getting an element of interface-node within a component I get follow error message
"the mapping to node COMPONENTCONTROLLER.1.INIT_DATA" has not been completed"
Can anybody say me, what does it mean?
Some more information (in case for somebody need it):
1. I have a component A, where I have defined usage component of component B.
2. Component B has an interface node INIT_DATA, which is mapped with the node INIT_DATA of component A.
3. I set attributes of node INIT_DATA of component A and expect, that those values will be assigned to the node INIT_DATA of component B (becouse they are mapped)
4. by doing it within a component A:
lo_node = wd_context->get_child_node( name = if_componentcontroller->wdctx=>init_data).
lo_elem->get_element( ).
lo_elem->set_attribute(....).
I get this error message:
"the mapping to node COMPONENTCONTROLLER.1.INIT_DATA" has not been completed"
Please let me know, what I do wrong?
thanks in advance
Anna
Hi Anna,
You should not be having the node INIT_DATA defined separately in both components. It should be defined only in component B and marked as Interface node. Now when you define a usage of component B in component A, you will be able to see this node. You need to map this in component A by drag and drop.
Also, in the properties tab of the component controller of component A, declare the usage of component B using the F4 help. I think that should solve your problem.
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.