cancel
Showing results for 
Search instead for 
Did you mean: 

How to Restrict Communication User to Read-Only Access in SAP_COM_0009 Without Using SAP BTP APIM

peter_munt4
Participant
0 Kudos
215

I have a requirement for a 3rd Party company to access our data.

For example;I am using the SAP_COM_0009 communication arrangement in SAP S/4HANA Public Cloud to allow reading and creation of products. The arrangement is configured with a communication system and communication user.

I want to restrict the communication user to only read access (i.e., allow only GET operations and block POST, PUT, and DELETE). However, I cannot find a straightforward way to configure this restriction.

Here’s what I’ve tried so far:

  1. Checked the Maintain Communication Users app but found no option to link or adjust business roles for communication users.
  2. Explored the Maintain Business Roles app to find roles or catalogs associated with the communication user but couldn't identify any direct link.
  3. Attempted to modify the scope of the communication arrangement itself, but there seems to be no configurable option to enforce read-only permissions.

Critical Note:
While I understand that SAP BTP API Management (APIM) could provide a way to restrict operations at the API level, I do not want to involve SAP BTP APIM due to:

  1. Additional overhead in configuration and maintenance.
  2. The preference to keep the setup fully within SAP S/4HANA Cloud for simplicity and to avoid reliance on BTP.

Could someone clarify:

  • How to configure a communication user for read-only access in SAP_COM_0009 within the boundaries of S/4HANA Cloud?
  • Is it possible to adjust the scope of operations (e.g., GET only) for this communication arrangement?

Any guidance or alternative approaches would be greatly appreciated. Thank you!

View Entire Topic
Jerry_Lowery
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi peter_munt4 ,

I am not sure if this is possible- I will check some options.

I know this is not what you asked, but one option could be to expose the data as a custom CDS View and then expose the CDS View as an API.

You would be able to control the fields that are available and CDS View APIS are read only.

Thank you

Jerry