SAP Knowledge Base Article - Preview

1813678 - Message E0051 "Field DOCREL in control record with value xxx is invalid" or EDI: Field MANDT in control record with value xxx is invalid

Symptom

  1. 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

  2. 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 invalid and e.g JCO traces reports sample error below:

 JCo error.JPG


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 R/3 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.