Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix VMD_API086 - Vendor &1: AP &2 selected for deletion still exists in contact docs


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VMD_API - Vendor APIs

  • Message number: 086

  • Message text: Vendor &1: AP &2 selected for deletion still exists in contact docs

  • Show details Hide details


  • Self-Explanatory Message

    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.



    What else can you do?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VMD_API086 - Vendor &1: AP &2 selected for deletion still exists in contact docs ?

    The SAP error message VMD_API086 indicates that a vendor (identified by &1) and an associated accounts payable (AP) document (identified by &2) are still linked to contact documents, which prevents the deletion of the vendor or the AP document. This typically occurs in the context of vendor management and accounts payable processes within SAP.

    Cause:

    1. Existing References: The vendor or AP document you are trying to delete is still referenced in one or more contact documents. This could be due to:

      • Open purchase orders or contracts.
      • Outstanding invoices or payment documents.
      • Other related documents that maintain a link to the vendor or AP document.
    2. Data Integrity Constraints: SAP enforces data integrity rules to ensure that no orphaned records are left in the system. Therefore, if there are dependencies, the system will not allow deletion.

    Solution:

    To resolve this error, you need to identify and remove the references to the vendor or AP document in the contact documents. Here are the steps you can take:

    1. Identify Dependencies:

      • Use transaction codes like ME2N (for purchase orders) or FB03 (for document display) to check if there are any open documents related to the vendor or AP document.
      • Check for any outstanding invoices, purchase orders, or contracts that reference the vendor.
    2. Clear References:

      • If there are open purchase orders or contracts, you may need to either complete them, cancel them, or change the vendor reference.
      • If there are outstanding invoices, ensure they are processed or cleared.
    3. Delete or Archive:

      • Once all references are cleared, you can attempt to delete the vendor or AP document again.
      • If deletion is not necessary, consider archiving the vendor or AP document instead.
    4. Consult Documentation:

      • Review SAP documentation or consult with your SAP support team for specific procedures related to vendor management and document deletion.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as:

      • ME2N: Display Purchase Orders by Vendor
      • FB03: Display Document
      • MK03: Display Vendor
      • MK05: Mark Vendor for Deletion
    • SAP Notes: Check SAP Notes for any known issues or additional guidance related to this error message.

    • User Roles: Ensure you have the necessary authorizations to view and modify vendor and AP documents.

    By following these steps, you should be able to resolve the error and successfully delete the vendor or AP document as needed.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author