on 01-03-2006 9:53 AM
Hi all,
I have this error when I execute my application:
com.sap.tc.webdynpro.progmodel.context.ContextException: NodeInfo(GetCostsView): cannot modify Userid because it is mapped and there is no active NodeElement to take the value
I have a Custom controller with this structure:
NodeGetCosts(ModelNode)
-NodeOutput (ModelNode)
-UserId (ModelAttribute)
I have mapped it to context of View01:
-NodeOutput(ModelNode)
-UserId(ModelAttribute)
In doInit method of custom controller I usu this code:
NodeGetCosts input = new NodeGetCosts();
wdContext.NodeGetCosts().bind(input);
try { wdContext.currentNodeGetCosts().modelObject().execute();
wdContext.nodeOutput().invalidate();
} catch (WDDynamicRFCExecuteException e) {
}
What can I do?
Thanks
Andrea
Hello Andrea,
Try to map the whole context structure from the CC to your view.
I think you missed out mapping of the parent node <b>NodeGetCosts(ModelNode)</b>.
If the RFC requires some input like <i>UserId</i> specify the value for that attribute as well. Also, try
to execute the same code from the CC's init.
This should solve your problem.
<i>Please reward appropriate points</i>
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.