How To Fix /SAPDMC/LSMW_GLO_010058 - Error when copying user-defined routine & & (RC = &).


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /SAPDMC/LSMW_GLO_010 -

  • Message number: 058

  • Message text: Error when copying user-defined routine & & (RC = &).

  • 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 /SAPDMC/LSMW_GLO_010058 - Error when copying user-defined routine & & (RC = &). ?

    The SAP error message /SAPDMC/LSMW_GLO_010058 typically occurs in the context of the Legacy System Migration Workbench (LSMW) when there is an issue with copying a user-defined routine. This error can arise due to various reasons, including issues with the routine itself, permissions, or system configuration.

    Cause:

    1. User-Defined Routine Issues: The routine you are trying to copy may contain errors or may not be defined correctly.
    2. Authorization Issues: The user executing the operation may not have the necessary authorizations to copy or modify the routine.
    3. System Configuration: There may be inconsistencies or misconfigurations in the LSMW settings or the project you are working on.
    4. Syntax Errors: If the routine has syntax errors or is not compatible with the current version of SAP, it can lead to this error.
    5. Missing Dependencies: The routine may depend on other objects or routines that are not available or accessible.

    Solution:

    1. Check the Routine: Review the user-defined routine for any syntax errors or logical issues. Ensure that it is correctly defined and functional.
    2. Authorization Check: Verify that the user has the necessary authorizations to perform the copy operation. You may need to consult with your SAP security team to ensure proper roles and permissions are assigned.
    3. Review LSMW Settings: Check the LSMW project settings and ensure that everything is configured correctly. Look for any inconsistencies that might be causing the issue.
    4. Debugging: If possible, use the debugging tools in SAP to trace the execution of the routine and identify where the error occurs.
    5. Consult Documentation: Refer to SAP documentation or notes related to LSMW and user-defined routines for any specific guidance or known issues.
    6. SAP Support: If the issue persists, consider reaching out to SAP support for assistance. Provide them with the error message details and any relevant context to help diagnose the problem.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as LSMW (for the Legacy System Migration Workbench) and SE38 (for ABAP programs) to manage and troubleshoot routines.
    • SAP Notes: Search for SAP Notes related to LSMW and user-defined routines, as they may contain fixes or workarounds for known issues.
    • Community Forums: Engage with SAP community forums or user groups where similar issues may have been discussed, and solutions shared.

    By following these steps, you should be able to identify the cause of the error and implement a solution.

    • 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'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