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

Close

How To Fix WG020 - Default for document category & not valid. Value reset


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 020

  • Message text: Default for document category & not valid. Value reset

  • Show details Hide details
  • What causes this issue?

    The specified document category is not maintained as a default and
    therefore not permitted.
    Only those values are permitted that can be defined in the "store order
    control".

    System Response

    The system sets the default value.

    How to fix this error?

    Maintain the <DS:SIMG.W_DF_VK_0131.SIMG_OPOS>store order control</> if
    necessary.
    INCLUDE ISR_CUSTOMIZING

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WG020 - Default for document category & not valid. Value reset ?

    SAP Error Message:
    WG020 - Default for document category & not valid. Value reset


    Meaning / Cause:

    This error occurs when the system tries to assign a default document category (e.g., for a goods movement or delivery document) that is not valid or not maintained in the current context. The placeholder "&" in the message is replaced by the document category code that is invalid.

    In other words, the system is trying to use a default document category that either:

    • Does not exist in the customizing settings.
    • Is not allowed for the particular transaction or movement type.
    • Has been deleted or incorrectly configured.
    • The user or process is trying to use a document category that is not valid for the document type or movement type.

    Where it typically occurs:

    • In Inventory Management (IM) or Warehouse Management (WM) when posting goods movements.
    • During delivery processing or outbound/inbound delivery creation.
    • When customizing or using movement types and their associated document categories.
    • When default values are set in user parameters or transaction defaults but are inconsistent with system configuration.

    Solution / How to fix:

    1. Check Document Category Configuration:

      • Go to SPRO ? Logistics Execution ? Shipping ? Basic Shipping Functions ? Document Categories.
      • Verify that the document category mentioned in the error message exists and is correctly configured.
    2. Check Movement Type Settings:

      • Go to SPRO ? Materials Management ? Inventory Management and Physical Inventory ? Movement Types.
      • Check the movement type used in the transaction and verify the assigned document category.
      • Ensure the document category assigned to the movement type is valid and active.
    3. Check User Defaults / Parameters:

      • Sometimes, user parameters or default values in transaction variants or user profiles might be set to an invalid document category.
      • Check user-specific defaults (e.g., in SU3 or SU01) for any default document category values and correct them.
    4. Reset or Correct Default Values:

      • If the system resets the value automatically, it means it found the default invalid and replaced it with a valid one.
      • Identify where the invalid default is coming from and correct it.
    5. Check Customizing for Document Types:

      • For delivery or billing documents, check the document types and their assigned document categories.
      • Ensure consistency between document types and categories.
    6. Transport or System Changes:

      • If this error started after a transport or system upgrade, verify that all customizing related to document categories and movement types was transported correctly.

    Additional Information:

    • Transaction Codes to check:

      • OMJJ - Movement Types customizing.
      • OVL2 - Document Categories customizing.
      • VL01N / VL02N - Delivery creation/change (if related).
      • MB1A, MB1B, MB1C - Goods movements.
    • SAP Notes:

      • Search SAP Service Marketplace or SAP ONE Support Launchpad for notes related to WG020 if the problem persists after checking customizing.
    • Debugging:

      • If you have development access, you can debug the transaction to see where the document category is being fetched and why it is considered invalid.

    Summary:

    Aspect Details
    Cause Default document category used is not valid or not maintained in customizing.
    Effect System resets the invalid value to a valid one or throws the error message WG020.
    Solution Verify and correct document category customizing, movement type assignments, and user defaults.
    Transactions OMJJ, OVL2, SU01, SU3, VL01N, MB1A/B/C

    If you provide the exact document category code or transaction where this occurs, I can help you with more specific steps.

    • 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