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: 870
Message text: DB error saving intermediate document
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
VG870
- DB error saving intermediate document ?The SAP error message VG870: DB error saving intermediate document typically occurs during the processing of goods movements or inventory management transactions, especially when handling intermediate documents in the system.
Cause
Database issues: The error usually indicates a problem when SAP tries to save an intermediate document to the database. This can be due to:
Authorization or configuration problems: Sometimes, missing authorizations or incorrect configuration in the movement types or document types can cause the system to fail when saving intermediate documents.
Custom enhancements or user exits: If there are custom developments (user exits, BADIs, or enhancements) triggered during the document save process, errors in the custom code can cause the save operation to fail.
Data inconsistencies: Invalid or inconsistent data in the document being saved (e.g., missing mandatory fields, incorrect material master data) can also cause this error.
Check system logs and dumps:
Analyze database locks:
Check database health:
Review authorizations:
Check configuration:
Debug or review custom code:
Retry the transaction:
SAP Notes and Support:
Message Class: VG (Inventory Management)
Common tables involved: MKPF (Material Document Header), MSEG (Material Document Segment)
Transactions to check:
SAP Notes: Check SAP Service Marketplace or SAP ONE Support Launchpad for notes related to VG870.
If you provide more context (e.g., transaction used, exact scenario, dump details), I can help with a more targeted analysis.
Get instant SAP help. Sign up for our Free Essentials Plan.
VG860
Unknown error closing intermediate document
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VG850
Item & (& is not assigned to an ISO country key)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VG880
Incorrect parameters used to save intermediate document
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VG890
Unknown error describing intermediate document
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.