How To Fix PK338 - Cancel the Kanban using material document &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: PK - Production - KANBAN

  • Message number: 338

  • Message text: Cancel the Kanban using material document &1

  • Show details Hide details
  • What causes this issue?

    You want to cancel a kanban container, for which a material document was
    posted on its last goods movement, in which the changes in status of
    several kanban containers were recorded simultaneously. As you can only
    cancel the entire material document, all kanban containers are cancelled
    whose goods movements are posted with this document. In this transaction
    it is not possible to cancel a kanban container if its material document
    contains the goods movements of several kanban containers.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Please go to the menu of the inventory management and cancel the kanban
    container with the material document.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message PK338 - Cancel the Kanban using material document &1 ?

    The SAP error message PK338, which states "Cancel the Kanban using material document &1," typically occurs in the context of the Kanban process within SAP's Production Planning (PP) module. This error indicates that there is an issue with the cancellation of a Kanban container or signal, and it is often related to the handling of material documents.

    Cause:

    1. Material Document Not Found: The specified material document (&1) may not exist or may not be accessible in the system.
    2. Incorrect Status: The Kanban container may be in a status that does not allow for cancellation, such as being in the process of being processed or already completed.
    3. Authorization Issues: The user may not have the necessary authorizations to cancel the Kanban or access the material document.
    4. Configuration Issues: There may be configuration settings in the Kanban process that are not set up correctly, leading to this error.

    Solution:

    1. Verify Material Document: Check if the material document number provided in the error message is correct and exists in the system. You can do this by using transaction codes like MB03 (Display Material Document) to confirm its status.
    2. Check Kanban Status: Ensure that the Kanban container you are trying to cancel is in a status that allows for cancellation. You can check the status using transaction code PK13N (Display Kanban).
    3. User Authorizations: Ensure that the user has the necessary authorizations to perform the cancellation. This may involve checking roles and permissions in the user profile.
    4. Follow Correct Procedure: Make sure you are following the correct procedure for canceling a Kanban. This typically involves using the appropriate transaction code (e.g., PK02 for changing Kanban) and ensuring that all prerequisites are met.
    5. Consult Configuration: If the issue persists, consult with your SAP configuration team to review the settings related to the Kanban process. There may be specific configurations that need to be adjusted.

    Related Information:

    • Transaction Codes:
      • PK02: Change Kanban
      • PK13N: Display Kanban
      • MB03: Display Material Document
    • Documentation: Refer to SAP Help documentation for detailed information on the Kanban process and error handling.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional troubleshooting steps.

    If the problem continues after following these steps, it may be beneficial to reach out to SAP support or your internal SAP support team for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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