How To Fix CM_EHSDS_INTEGRATION021 - &1 SDS generation failed: Unauthorized call to the service.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CM_EHSDS_INTEGRATION - SDS Integration related Messages

  • Message number: 021

  • Message text: &1 SDS generation failed: Unauthorized call to the service.

  • Show details Hide details
  • What causes this issue?

    INCLUDE EHSDS_FINAL_SDS_GEN_INTRO OBJECT DOKU ID TX
    OAuth 2.0 is a standard authentication method where the service provides
    a possibility to generate a temporary token (based on a client ID and
    secret) that can be used for subsequent calls to the service. The tokens
    have an expiration time. Calls without a token or with an expired token
    are rejected.

    System Response

    The service does not generate a final safety data sheet for &V1&.

    How to fix this error?

    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 CM_EHSDS_INTEGRATION021 - &1 SDS generation failed: Unauthorized call to the service. ?
    The SAP error message CM_EHSDS_INTEGRATION021 indicates that there was an issue with generating a Safety Data Sheet (SDS) due to an unauthorized call to the service. This error typically arises in the context of SAP Environment, Health, and Safety (EHS) module, particularly when integrating with other systems or services for SDS generation.
    Causes:
    
    Authorization Issues: The user or service account attempting to generate the SDS may not have the necessary authorizations or roles assigned to access the required services.
    Service Configuration: The service responsible for generating the SDS may not be properly configured or may not be active.
    Network Issues: There could be network-related issues preventing the service from being accessed.
    Incorrect Parameters: The parameters being passed to the service may be incorrect or incomplete, leading to unauthorized access errors.
    
    Solutions:
    
    
    Check User Authorizations:
    
    Ensure that the user or service account has the necessary roles and authorizations to access the SDS generation service. This can be done by

    Already have an account? Login here!




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