How To Fix SCTS_HDI558 - Could not delete user-provided service &2 of container &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SCTS_HDI - Messages for CTS HDI API

  • Message number: 558

  • Message text: Could not delete user-provided service &2 of container &1

  • Show details Hide details
  • What causes this issue?

    Development work in in ABAP-managed HDI containers (particularly for
    communication between Web IDE for SAP HANA on XS Advanced (XSA) and the
    SAP HANA database of the ABAP system) requires external services
    (user-provided services) in XSA. When ABAP-managed HDI containers are
    deleted, the user-provided services must also be deleted.
    The user-provided service &v2& of the container &v1& could not be
    deleted in XSA. The deletion was not possible because of a communication
    problem between ABAP and XSA. One possible reason is a missing
    configuration of the OAuth2 client in client 000.

    System Response

    The system displays an error message.

    How to fix this error?

    To delete the user-provided service manually, proceed as follows:
    Start SAP HANA XS Advanced Cockpit.
    Navigate to the organization section and the space of the ABAP system
    (usually called ABAP_SAP<(><<)>SID>).
    Navigate to <LS>Services -> User-Provided Services</>.
    Select the delete icon of the user-provided service in question.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SCTS_HDI558 - Could not delete user-provided service &2 of container &1 ?

    The SAP error message SCTS_HDI558, which states "Could not delete user-provided service &2 of container &1," typically occurs in the context of SAP HANA database management, particularly when dealing with HDI (HANA Deployment Infrastructure) containers and user-provided services.

    Cause:

    This error can arise due to several reasons, including:

    1. Service Dependencies: The user-provided service you are trying to delete may be in use or have dependencies that prevent its deletion.
    2. Permissions: The user account attempting to delete the service may not have the necessary permissions to perform this action.
    3. Container State: The HDI container may be in a state that does not allow modifications, such as being locked or in a failed state.
    4. Service Not Found: The specified service may not exist or may have already been deleted, leading to a failure in the deletion process.

    Solution:

    To resolve the error, you can take the following steps:

    1. Check Dependencies: Ensure that the user-provided service is not being used by any applications or other services. If it is in use, you will need to stop or remove those dependencies before attempting to delete the service again.

    2. Verify Permissions: Ensure that the user account has the necessary permissions to delete the service. You may need to check the roles and privileges assigned to the user in the SAP HANA system.

    3. Check Container Status: Verify the status of the HDI container. If the container is locked or in a failed state, you may need to resolve those issues first. You can check the container status using the SAP HANA Cockpit or relevant SQL commands.

    4. Use Correct Commands: Make sure you are using the correct commands or API calls to delete the user-provided service. Refer to the SAP documentation for the appropriate syntax and methods.

    5. Logs and Traces: Check the logs for more detailed error messages that might provide additional context on why the deletion failed. This can help in diagnosing the issue more accurately.

    6. Retry Deletion: After addressing any dependencies, permissions, or container state issues, try to delete the user-provided service again.

    Related Information:

    • SAP HANA Documentation: Refer to the official SAP HANA documentation for detailed information on managing HDI containers and user-provided services.
    • SAP Community: Engage with the SAP Community forums to see if others have encountered similar issues and what solutions they found effective.
    • Support Tickets: If the issue persists, consider opening a support ticket with SAP for further assistance.

    By following these steps, you should be able to identify the cause of the error and implement a solution to successfully delete the user-provided service.

    • 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