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

Close

How To Fix WG340 - Unknown purchasing group used for selection. Please re-enter pur. group


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 340

  • Message text: Unknown purchasing group used for selection. Please re-enter pur. group

  • 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 WG340 - Unknown purchasing group used for selection. Please re-enter pur. group ?

    SAP Error Message:
    WG340 - Unknown purchasing group used for selection. Please re-enter pur. group


    Cause:

    This error occurs when a purchasing group entered in a selection screen or transaction is not recognized by the SAP system. The purchasing group code you have entered does not exist in the system's master data for purchasing groups.

    In other words, the system is trying to find a purchasing group with the given code, but it cannot find it in the table that stores purchasing group data (typically table T024).


    Explanation:

    • Purchasing groups are organizational units responsible for procurement activities.
    • Each purchasing group must be defined and maintained in SAP before it can be used.
    • If you enter a purchasing group that is not defined or has been deleted, the system throws this error.

    Solution:

    1. Check the Purchasing Group Code:

      • Verify that the purchasing group code you entered is correct.
      • Ensure there are no typos or extra spaces.
    2. Check if the Purchasing Group Exists:

      • Use transaction OMSG or SPRO to check the list of valid purchasing groups.
      • Alternatively, you can check table T024 directly via SE16/SE16N to see if the purchasing group exists.
    3. Create or Maintain the Purchasing Group:

      • If the purchasing group does not exist, create it using transaction OMSG:
        • Path: SPRO ? Materials Management ? Purchasing ? Maintain Purchasing Groups
      • Enter the new purchasing group code and description, then save.
    4. Re-enter the Purchasing Group:

      • After confirming or creating the purchasing group, re-enter the purchasing group code in your selection or transaction screen.

    Additional Information:

    • Purchasing groups are used in various procurement documents such as purchase requisitions, purchase orders, contracts, etc.
    • The purchasing group is often linked to a buyer or a team responsible for procurement.
    • Proper maintenance of purchasing groups is essential for reporting, workflow, and authorization purposes.

    Summary:

    Aspect Details
    Error WG340 - Unknown purchasing group
    Cause Entered purchasing group does not exist
    Solution Verify, maintain or create purchasing group in OMSG or SPRO
    Table involved T024 (Purchasing Groups)

    If you continue to face issues after verifying the purchasing group, check for user-specific defaults or authorization issues that might restrict access to certain purchasing groups.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant