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

Close

How To Fix WG117 - 0 entered as quantity -> PO not created


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WG - Messages for store order and investment buy

  • Message number: 117

  • Message text: 0 entered as quantity -> PO not created

  • 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 WG117 - 0 entered as quantity -> PO not created ?

    SAP Error Message:
    WG117 0 entered as quantity -> PO not created


    Cause:

    This error occurs when a purchase order (PO) is attempted to be created with a quantity of zero (0) for one or more line items. SAP does not allow the creation of a PO with zero quantity because it is logically inconsistent to order "nothing."


    Explanation:

    • The system checks the quantity field during PO creation.
    • If the quantity is zero or blank, the system throws the WG117 error.
    • This is a validation to prevent meaningless or incomplete purchase orders.

    Solution:

    1. Check the Quantity Field:

      • Go to the PO creation screen.
      • Verify that the quantity entered for each line item is greater than zero.
    2. Correct the Quantity:

      • Enter a valid, positive quantity for the material or service you want to order.
    3. Recreate the PO:

      • After correcting the quantity, try to save or create the PO again.
    4. Check for User Exits or Custom Validations:

      • Sometimes, custom code or user exits might enforce additional checks on quantity.
      • Review any custom logic if the standard quantity is correct but the error persists.

    Related Information:

    • Transaction Codes: ME21N (Create PO), ME22N (Change PO)
    • Field: Quantity (usually in the item overview section)
    • SAP Module: MM (Materials Management)
    • Message Class: WG (Purchasing)
    • Similar Messages:
      • WG118: Quantity must be greater than zero
      • ME025: Quantity zero not allowed

    Summary:

    • Cause: PO line item quantity is zero.
    • Solution: Enter a valid, non-zero quantity before saving the PO.
    • Additional: Check for custom validations if the problem persists despite correct quantity.

    If you need further assistance, please provide the transaction code and the exact steps leading to the error.

    • 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