The error "EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty"* was thrown by the SAP .NET connector after sending an IDoc to SAP. The reason was that we've set data fields inside the EDI_DC40 element that SAP had to fill on its own, such as
- DOCNUM
- CREDAT
- CRETIM
- RCVPOR
- SNDPOR
- DOCNUM from the DATAHEADERREC element
Now, we are leaving these empty, and the IDoc can be received by SAP.
Thus, if you get the same error, check which fields you should set, and which SAP should set on its own.
----------
* in German SAP systems: "EDI: Die an EDI_SEGMENTS_ADD_BLOCK übergebene Tabelle ist leer"
1 comment:
This post SAVED MY LIFE!
Danka shurn!
Post a Comment