Symptom
- When changing the SAP release version in IDOC control record, following error occurs:
EDI: Field DOCREL in control record with value xxx is invalid E0051
- When sending an IDoc from an external system to SAP, function module IDOC_INBOUND_SINGLE is called and returns the application exception IDOC_NOT_SAVED from ABAP side, error message is
EDI: Field MANDT in control record with value xxx is invalidand e.g JCO traces reports sample error below:
Read more...
Environment
- SAP Basis ALE
- SAP NetWeaver
- SAP Web Application Server for SAP S/4 HANA
- ABAP PLATFORM - Application Server ABAP
Product
ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions
Keywords
DOCREL, MANDT, E0 051, E0051, IDOCTYPE_READ_COMPLETE, EXIT_SAPLEDI1_001, IDOC_INBOUND_SINGLE, EDI, Caused by: com.sap.conn.jco.AbapException: IDOC_NOT_SAVED, BASIS_ALE, ALESTD , KBA , BC-MID-ALE , Integration Technology ALE , BC-MID-CON-JCO , Java-Connector , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview