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

Close

How To Fix VHU01058 - &1 &2 is marked for deletion and therefore cannot be used


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VHU01 - Message ID for Master Data Maintenance Packing Objects

  • Message number: 058

  • Message text: &1 &2 is marked for deletion and therefore cannot be used

  • 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 VHU01058 - &1 &2 is marked for deletion and therefore cannot be used ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    VHU01058 &1 &2 is marked for deletion and therefore cannot be used


    Meaning / Cause:

    This error occurs when you try to use an object (such as a vendor, customer, material, or another master data record) that has been flagged or marked for deletion in the system. SAP prevents further processing or usage of such objects to avoid inconsistencies or errors in business transactions.

    • &1 and &2 are placeholders in the message that typically represent the object type and the object number or name.
    • For example, if a vendor is marked for deletion, you cannot create a purchase order or invoice referencing that vendor.
    • The system checks the deletion flag before allowing transactions involving the object.

    Common Scenarios:

    • Using a vendor or customer master record that is flagged for deletion.
    • Attempting to create or change documents referencing a material or master data marked for deletion.
    • Trying to assign or reference an object in a transaction where the object is logically "inactive" due to deletion flag.

    Solution / How to Resolve:

    1. Check the Deletion Flag:

      • Go to the master data record (e.g., vendor, customer, material).
      • Verify if the deletion flag is set.
      • For vendors/customers, use transaction codes like XK03 (Display Vendor), FD03 (Display Customer).
      • For materials, use MM03.
    2. Remove the Deletion Flag (if appropriate):

      • If the object was marked for deletion by mistake and should be active, remove the deletion flag.
      • Use the appropriate transaction to change the master data (e.g., XK02 for vendor change).
      • Remove the deletion indicator and save.
    3. Use a Different Object:

      • If the object is correctly marked for deletion (e.g., obsolete vendor or material), use an alternative active object.
      • Create a new master record if necessary.
    4. Check Authorizations:

      • Sometimes, users may not have authorization to remove deletion flags.
      • Ensure proper authorization is granted to perform changes.
    5. Consult Business Process:

      • Confirm with business whether the object should be reactivated or replaced.
      • Deletion flags are often set for valid business reasons (e.g., vendor no longer used).

    Additional Information:

    • Deletion flags in SAP are used to logically delete master data without physically removing it from the database.
    • This allows historical data to remain intact while preventing future use.
    • The message is a safeguard to maintain data integrity.
    • The exact object type and number will be shown in the message replacing &1 and &2.

    Example:

    If the message reads:
    VHU01058 Vendor 1000123 is marked for deletion and therefore cannot be used.

    • You cannot create a purchase order for vendor 1000123.
    • Check vendor 1000123 in XK03.
    • If deletion flag is set, decide whether to remove it or use another vendor.

    If you provide the exact object type or transaction where this error occurs, I can give more specific guidance.

    • 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker