on 04-08-2013 5:40 AM
Hi
I am calling Sap's HR_ESS_WHO_PROG_PICT_URI from
our java web dynpro project. In our dev and qa environments
everything works great, but in production, I am getting
JCO.AbapEception NOT_FOUND NOT_FOUND
exception.
When I debug this FM, I see that the debugger skips this
FM all together and I get the JCO.AbapException on the portal.
There is no dump found in ST22.
Any Idea?
Does this FM need a special role or authorization in R3?
regards
yuval
Hi
1. First I tried to reimport my RFC from R3 Dev. Nothing found.
2. Then I tried to reimport my RFC from R3 QA . I received
a list of field descriptions that were modified in R3.
3. I reimported my RFC from QA and made sure the same
field descriptions are copied back to R3 Dev.
4. I deployed the project. Everything turned out ok.
5. I assume the portal has no special exception for this kind
of error where field descriptions differ, that is why I received
a NullPointerException NOT_FOUND, NOT_FOUND.
6.FYI.
Regards
Yuval
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check the jco destination.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
JCO.AbapEception NOT_FOUND NOT_FOUND
exception
XXXXXXX#com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: failed to create or init instance of model 'com.XX.MyModel' in scope APPLICATION_SCOPE with instanceId 'null'
at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getOrCreateModelInstanceFromScopeMaintainer(WDModelFactory.java:341)
at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getModelInstance(WDModelFactory.java:155)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass._associatedModel(DynamicRFCModelClass.java:203)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.associatedModelClassInfo(DynamicRFCModelClass.java:217)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.elementIndexForFrontendName(DynamicRFCModelClass.java:1359)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsString(DynamicRFCModelClass.java:664)
Regards
let me just add that in a previous call to the model
I end my call with
input.disconnectifalive();
now:
hr_ess_who_Prog_get_Pict_Uri_Input input = new hr_ess_who_Prog_get_Pict_Uri_Input();
wdContext.nodehr_ess_who_Prog_get_Pict_Uri_Input().bind(input);
input.setPerNr(myPernr); // it is here that i get NullPointerException of input
input.execute();
wdContext.nodehr_ess_who_Prog_get_Pict_Uri_Output().invalidate();
nothing special aboutr this code...
Hello yuval,
I don't see any issue in the code.
And moreover it is working already in DEV and QA.
It seems to me that the issue might be with RFC or JCos.
Can you please make sure the below two things?
System Administration ->System Configuration-> Web Dynpro Console
Goto Invalidate ARFC Cache ->Invalidation of ARFC Metadata Cache
Better to go option 2: Enter dictionary name.
Even if it does not solve your issue, it can at least provide more accurate error message.
Regards,
Siva
Hi,
This could be due to RFC library. Is the RFC library patch level same on all the systems? If not, please download the latest RFC patch level on PROD. Also, check the below links where this was already discussed:
http://scn.sap.com/thread/2020712
Hope this help.
BR,
Balajii
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 | |
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.