cancel
Showing results for 
Search instead for 
Did you mean: 

JCO$Exception - JCO_FIELD_NOT_FOUND + Agentry

Former Member
0 Kudos

Hi;

I am working on SAP Work Manager 6.0 customisation, Agentry 6.1.3. I am working on a new screen all together, with an object(Inspection order) with a collection within it(Inspection Point). Everything was working fine, I could get the object and its collections within, onto the device. Up until I had to create a new SAPOBJECT in the SAP backend to cater for the other collection(Inspection Task), that should be within the collection(Inspection Point) which is inside the main object (Inspection Order). Suddenly, with the same jar file that was working perfectly initially and the same application definitions, I now get the exception : "JCO$Exception - JCO_FIELD_NOT_FOUND", when I debug on the Java side, the code snippet of where and when I am getting this exception is shown below. The Java code did not change, it is the BAPI that was changed to include another output table for the new collection within the collection inside the main object. What could possibly be going wrong here?

.

Much appreciated!

Thanks and Regards;

Sizo Ndlovu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ok, I got this! I was using a field to connect the order and the point, but this field was only existant in the order table and not in the point table.

So for the line highlighted in red, the getString ("ZZWARPL") field and the field being returned by getZZWARPL were not matching, hence this field must be available in both the order table and the point table!!

Regards;

Sizo Ndlovu

Answers (0)