Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: VG - EDI Messages in SD
Message number: 080
Message text: Mandatory segment & is missing.
The specified segment in the <GL:EDI>EDI</>
<GL:Intermediate_Document>Intermediate Document</> has not appeared
often enough. It is a mandatory segment, which means it must appear
where specified.
Using the report RSEIDOC1, determine the minimum number of times this
segment must appear, and then try and find out why this minimum number
was not adhered to.
Error message extract from SAP system. Copyright SAP SE.
VG080
- Mandatory segment & is missing. ?SAP Error Message:
VG080 - Mandatory segment & is missing.
Cause:
This error occurs during the processing of a message (such as an IDoc or EDI message) when a mandatory segment expected by the system is missing in the inbound or outbound data. The placeholder "&" in the message will be replaced by the segment name that is missing.
In other words, the system expects a particular segment in the message structure (based on the message type or IDoc type), but it is not found. This leads to the error VG080.
When does it occur?
Identify the missing segment:
Check the error message details or the IDoc/EDI message to find out which segment is missing.
Check the message type and segment structure:
Verify the expected segments for the message type in transaction WE30 (IDoc type) or WE60 (IDoc documentation).
Check the inbound/outbound message:
Review the mapping or EDI conversion:
If using EDI or mapping tools (like SAP PI/PO or EDI subsystems), verify that the mapping logic includes the mandatory segment.
Adjust the sending system or interface:
Ensure the sending system sends the mandatory segment or adjust the interface to include it.
Check configuration:
In some cases, the segment might be conditionally mandatory. Check the configuration in WE31 (segment definition) or partner profiles (WE20) to see if the segment is set as mandatory incorrectly.
Reprocess the IDoc/message:
After correcting the data or configuration, reprocess the IDoc or inbound message.
Summary:
VG080 means a mandatory segment expected in the IDoc or EDI message is missing. To resolve, identify the missing segment, verify the message structure, check the data and mapping, correct the sending system or interface, and reprocess the message. Use SAP tools like WE02, WE05, WE19, and WE20 for analysis and correction.
Get instant SAP help. Sign up for our Free Essentials Plan.
VG070
Mandatory field & is missing in segment &.
What causes this issue? The specified field in the specified segment of the <GL:EDI>EDI</> <GL:Intermediate_Document> Intermediate ...
VG060
Field is too long.
What causes this issue? A field in the <GL:EDI>EDI</>-intermediate document <GL:Intermediate_Document>(intermediate document)</&...
VG090
The segment sequence is incorrect.
What causes this issue? A segment in the <GL:EDI>EDI</> <GL:Intermediate_Document>Intermediate Document</> has appeared in th...
VG100
Program error
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.