on 04-24-2009 10:39 PM
Hello Everybody,
I have imported a ARFC model, and i am trying to set the values and execute it. But it is giving a NullPointer Exception, when i am trying to set values to the input parameters and also when executing etc... Can anybody help in solving this.
Thanks & Regards,
Ravi
Hi ravi,
Did you binding the instrance of the model context attribute?
Regards,
Manivannan P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
You need to create an element of the node for which you are trying to set the values first and then set the values and bind the element to the node.
Hopefully it should work!!
Cheers,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ravi,
let check your code in this manner
<node mode>_input setNode=new <node mode>_input ();
wdContext.node<node mode>_input ().bind(setNode);
if you have any iternal table or structre z_icsss_crm.
z_icsss_crm inernalTab=new z_icsss_crm();
inernalTab.setName("your value");//wdContext.currentPersonElement().getName();
inernalTab.setCity("your value"); //wdContext.currentPersonElement().getCity();
setNode.set<model table or stucture>(inernalTab);
wdContext.current<model value node>_inputElement().modelobject().excute();
wdcontext.node<output>.invalidate();
you follow this code......
thanks
jati
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.