on 07-24-2008 3:54 PM
Hi!
I'm trying to call a RFC twice, but the second time the execution reports me an Exception:
1rst:
GuardarConocimiento("CI","83",eliminarCaracteres(wdContext.currentIdiomasElement().getAleman()));
GuardarConocimiento("CI","81",eliminarCaracteres(wdContext.currentIdiomasElement().getEspanol()));
<-- this cause the report Exception.
2nd.
Function GuardarConocimiento
wdContext.currentZrfc_Eureka_Ins_Pa0022_InputElement().setSlart(Slart); <- in this line.
wdContext.currentZrfc_Eureka_Ins_Pa0022_InputElement().setSlabs(Slabs);
wdContext.currentZrfc_Eureka_Ins_Pa0022_InputElement().setSltp1(Sltp1);
wdThis.wdGetInventarioPersonasRRHHController().executeZrfc_Eureka_Ins_Pa0022();
Final Function
java.lang.NullPointerException
Hi,
check if you have bound the model node to the Model object. If you used the template to add the service controller then you should have this line in the wdDoInit method:
wdContext.nodeZrfc_Eureka_Ins_Pa0022_Input().bind(new Zrfc_Eureka_Ins_Pa0022_Input());
And also remember to invalidate the context before the second call.
Regards,
Sangeeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gabriel,
Check while calling the rfc for second time wheather values are passing properly. It seems while calling second times null values are passed.
regards,
sukanta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.