on 07-19-2011 1:43 PM
Hi everyone,
I have component A , which has an interface node with Input element checked:
Nodes
Node Name IF_HROBJID
Interface Node 1
Input Element (Ext.) 1
Dictionary structure ZHR_HROBJID_LIST
Cardinality 0..n
I have another component: Component B Where I want to bind a table to this interface node.
In component B :
1. I definied the Componenet Usage of component B in the componenet controller.
2. I drag & drop the IF_HROBJID node to the component controller's context (the node is mapped)
But when I try to bind a table, I always get the " The Mapping to Node COMPONENTCONTROLLER.1.IF_HROBJID Has Not Been Completed. " error.
nd_if_hrobjid = wd_context->path_get_node( path = 'IF_HROBJID' ).
nd_if_hrobjid->bind_table( lt_if_hrobjid ).
Can someone tell me what is the problem, and how can I solve it?
Thanks
N.
Hi,
Here you are trying to use component A in component B right?
Then what you need to do is:
1. Declare the component usage of A say A_USAGE in properties tab of component B.
2. Create a node say 'DATA' in component controller of component B. The node 'DATA' would have the same structure as the node in your component A.
3. Fill the node 'DATA' in component controller's method.
4. Under your webdynpro component B, you will see Component Usages -> A_USAGE. open interface controller inside that.
Goto context tab and drag the 'DATA' node from component controller of B on to the node in interface controller.
Hope this is clear!
Best Regards,
Srilatha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi..
once you check the interface node property, that node will be available in interface controller.from there you have to maintain mapping not from component controller.
So now, in interface controller you wil find IF_HROBJID node, bind to this node from your required node.
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.