SAP Adapter (IDOC Record Definition Generation)

We are having problems generating a Record from an IDOC. We are reading in an IDOC File’s content as a string, then using the idoc:decodeString service to get IDOC_CONTROL and IDOC_DATA records. In our next step we implement transformFlatFileToHierarchy. This service is giving us an error that reads “java.lang.NullPointerException”. Has anyone seen this error or does anyone know how to resolve this issue?


Have you tried getting the IDOC schema from

That might be easier to import into the application.