on 09-07-2007 7:29 AM
Hi ,
Can someone help me out with this situation:
1 - I have a parent DC compA.
2. The child DC CompB is creating a component in CompA dynamically using the IWDComponentUsage.createComponent(componentname, dcname)
[view in the CompB is embeeding a view which is prsent in CompA]
4 - The parent has a context node and 2 attributes.
5. How do i map this parent components Conetx Node to the Child Component's Context Node dynamically.
In short how to perform context mapping (external) at runtime ?
Cheers,
Madhusudhan
chk it
http://help.sap.com/saphelp_nw04s/helpdata/en/67/cc744176cb127de10000000a155106/frameset.htm
1. Define the interface component with context node (Input Element Externl)
2. Create a component which defines a usage to the interface component
3. Go to the component usages folder and open it.
4. Right click on the usage you just created and choose Create controller
usage.
5. Double click the interfacecontroller_usage you just created.
6. Here you can add a controller usage using the button at the top.
7. Now you should be able to define the external mapping by dragging the node of
the component controller to the interfacecontroller_usage node.
Message was edited by:
Kanwalpreet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhusudhan,
Check this links.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459cb44">Dynamically Creating, Building, and Mapping a Context in Web Dynpro</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#34">Dynamic UI Generation in Web</a>
Regards,
Mithu
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.