Do you have any question about this error?
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.
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.
The service does not generate a final safety data sheet for &V1&.
Error message extract from SAP system. Copyright SAP SE.
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 reviewing the user roles in transaction PFCG.
- If necessary, assign the appropriate roles that include access to the EHS and SDS generation functionalities.
Review Service Configuration:
- Verify that the SDS generation service is correctly configured in the system. Check the relevant settings in the SAP EHS module.
- Ensure that the service is active and properly set up in the system.
Check Network Connectivity:
- If the SDS generation involves external services, ensure that there are no network issues preventing access to those services.
- Test the connectivity to the service endpoint to confirm that it is reachable.
Validate Input Parameters:
- Review the parameters being sent to the SDS generation service. Ensure that all required fields are populated correctly and that the data is valid.
- Check for any specific requirements or constraints related to the data being processed.
Consult Logs and Traces:
- Check the application logs and traces for more detailed error messages that can provide additional context about the failure.
- Use transaction SLG1 to view application logs related to the EHS module.
Contact SAP Support:
- If the issue persists after checking the above points, consider reaching out to SAP support for further assistance. Provide them with the error message details and any relevant logs.
Related Information:
By following these steps, you should be able to identify and resolve the issue causing the SDS generation failure in SAP.
Get instant SAP help. Start your 7-day free trial now.
CM_EHSDS_INTEGRATION020
&1 SDS generation failed: Generation ID is not valid.
What causes this issue? INCLUDE EHSDS_FINAL_SDS_GEN_INTRO OBJECT DOKU ID TX This service cannot generate the final safety data sheet since the servic...
CM_EHSDS_INTEGRATION019
&1 SDS generation failed: Unexpected server error occured.
What causes this issue? INCLUDE EHSDS_FINAL_SDS_GEN_INTRO OBJECT DOKU ID TX This service returned the status code &V2&. And additionally, th...
CM_EHSDS_INTEGRATION022
&1 SDS generation failed: Method not allowed.
What causes this issue? INCLUDE EHSDS_FINAL_SDS_GEN_INTRO OBJECT DOKU ID TX This service requires an SSL/TLS based encryption of the data between the...
CM_EHSDS_INTEGRATION023
&1 SDS generation failed: Unsupported media type.
What causes this issue? INCLUDE EHSDS_FINAL_SDS_GEN_INTRO OBJECT DOKU ID TX This service is called with a media type or MIME type that is not support...
Click on this link to search all SAP messages.