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

Close

How To Fix WSTRN058 - Cannot dynamically create internal table used for reviewing site group


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSTRN - Message for Prepack Creation and Planning Dialog

  • Message number: 058

  • Message text: Cannot dynamically create internal table used for reviewing site 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 WSTRN058 - Cannot dynamically create internal table used for reviewing site group ?

    SAP Error Message:
    WSTRN058 Cannot dynamically create internal table used for reviewing site group


    Cause

    This error typically occurs in SAP Transportation Management (SAP TM) or related logistics modules when the system tries to dynamically create an internal table for processing or reviewing site groups but fails. The failure is often due to one or more of the following reasons:

    • Missing or incorrect table type definition: The internal table type that the program expects to create dynamically is not defined or incorrectly defined in the ABAP Dictionary.
    • Authorization or system inconsistency: The user or system does not have the necessary authorizations or the system environment is inconsistent, preventing dynamic creation.
    • Incorrect or missing configuration: The site group or related configuration data is incomplete or inconsistent, causing the program logic to fail when trying to build the internal table.
    • Program or patch level issue: A bug or missing patch in the SAP TM component or related add-ons can cause this error.

    Solution

    1. Check Table Type Definitions:

      • Verify that the internal table type used for site group processing exists in the ABAP Dictionary (transaction SE11).
      • If missing, create or import the required table type as per SAP notes or standard SAP TM configuration.
    2. Review Configuration:

      • Check the site group configuration in the system (e.g., transaction /SCMTMS/ or relevant customizing).
      • Ensure all required site groups and related master data are correctly maintained.
    3. Apply SAP Notes / Patches:

      • Search for SAP Notes related to message WSTRN058 or the specific module (SAP TM).
      • Apply any relevant corrections or patches provided by SAP.
    4. Check Authorizations:

      • Ensure the user running the transaction or report has the necessary authorizations to create or access the internal tables and site group data.
    5. Debugging:

      • If you have ABAP development access, debug the program where the error occurs to identify the exact point of failure.
      • Check the dynamic creation statement (e.g., CREATE DATA or REF TO statements) and verify the table type name and parameters.
    6. Consult SAP Support:

      • If the above steps do not resolve the issue, raise a support ticket with SAP, providing the full error message, system details, and steps to reproduce.

    Related Information

    • Module: SAP Transportation Management (SAP TM), Logistics Execution
    • Transactions: Site group maintenance and review transactions (may vary depending on system setup)
    • ABAP Concepts: Dynamic internal table creation (CREATE DATA, field symbols, data references)
    • SAP Notes: Search SAP ONE Support Launchpad for WSTRN058 or related keywords
    • Common Debugging Tools: SE80, SE11, SE37, ST22 (for dumps), SM21 (system logs)

    If you provide the exact transaction or program where this error occurs, I can help with 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
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