Skip to Content

sapjco3 error reading a parameter with data type structure as a table

I've searched google, SAP Knowledge Base, and the SAP community to see if anyone else is getting an error using RFC with a parameter that is a structure, after upgrading to the latest version of sapjco (3.0.16). Our ABAP function, parameters, and data types have not changed, and our java code has not changed. The only change is using 3.0.16 instead of 3.0.12.

With sapjco 3.0.16, an export function parameter that is a structure is getting an error because the JCo library incorrectly thinks it's a table. When I switch back to 3.0.12, it works fine.

The error is "Cannot convert field CONFIRMATION of type TABLE to StructureRecord". Debugging statements to check the parameter type show that in 3.0.12 the type is structure, as expected, but for 3.0.16, the type is shown as table, which is incorrect.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers