Message type: E = Error
Message class: VG - EDI Messages in SD
Message number: 004
Message text: Termination point in intermed.doc. (item &)
The content of a field in the <GL:EDI>EDI</>
<GL:Intermediate_Document>Intermediate Document</> has caused an error.
You will find the field in one of the item segments for the item
specified in the Intermediate Document.
Read the other status record in the Intermediate Document with the
sames status. You will find the detailed error message here.
Error message extract from SAP system. Copyright SAP SE.
VG004
- Termination point in intermed.doc. (item &) ?SAP Error Message: VG004 - Termination point in intermed.doc. (item &)
Cause: The error message VG004 typically occurs in the context of intermediate documents (IDocs) during data transfer or processing in SAP. It indicates that there is a problem with the termination point in the intermediate document, specifically related to an item number (the placeholder "&" is replaced by the actual item number in the message). More specifically, this error arises when the system encounters an unexpected or incorrect termination point in the IDoc structure. This could be due to: Incorrect or incomplete IDoc segment data. Missing or wrongly configured segment termination indicators. Data inconsistencies in the IDoc that prevent proper parsing or processing. Custom enhancements or user exits that incorrectly manipulate the IDoc structure. Issues in the partner profile or message type configuration causing improper IDoc generation.
Solution: To resolve the VG004 error, follow these steps: Check the IDoc Data: Use transaction WE02 or WE05 to display the IDoc. Look at the segment
Get instant SAP help. Sign up for our Free Essentials Plan.
VG003
Termination point in intermed.doc. (header)
What causes this issue? The content of a field in <GL:EDI>EDI</>-Intermediate Document <GL:Intermediate_Document>(Intermediate Docu...
VG002
EDI incoming inquiries terminated
What causes this issue? System errorHow to fix this error? Check installation.Error message extract from SAP system. Copyright SAP SE. ...
VG005
Termination point in intermed.doc. (item &, sched.line &)
What causes this issue? The content of a field in <GL:EDI>EDI</> <GL:Intermediate_Document>Intermediate Document</> has cause...
VG010
Int.doc.item category & is incorrect (item &)
What causes this issue? The item category of the item in the <GL:EDI>EDI</> <GL:Intermediate_Document>Intermediate Document</>...
Click on this link to search all SAP messages.