Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP Mapping "From IDOC to file" from "How to..." - Problem


we have implemented the code example for converting IDOCs into files via ABAP mapping from "How To convert an IDoc-XML structure to a flat file and vice versa in XI 3.0" and "How to Use ABAP-Mapping in XI 3.0".

in a scenario on our Xi 3.0 SP19.

Now we have this situation:

DESADV are running fine (100 %)

INVOIC01 are running fine with 95 % of all invoices.

This is the error message we have:

<SAP:Stack>Error in mapping program Y_X02_IDOC_TO_FLAT (Type SAP-ABAP, Kernel Error Id UNCAUGHT_EXCEPTION) An exception of type CX_SY_CREATE_DATA_ERROR is raised but is not locally handled or declared by a RAISING-Klausel.

The data object of type C could not be generated: Unpermitted Value for LENGTH.</SAP:Stack>

Does anybody here have experience with this error?

Best regards


Former Member
Not what you were looking for? View more on this topic or Ask a question