cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to create inbound api endpoint for SAP DMC

Ruudvandeven
Explorer
0 Kudos
589

Consuming external api endpoints is very clear and represented online in many tutorials and topics. The thing thats not clear for me is, can I create an endpoint on the SAP DM side? So that an external system can send information to the DM system. How far did I get:

1. created a service key in BTP

Ruudvandeven_0-1734426185442.png

2. Created a destination in BTP, it uses the data from the service key

Ruudvandeven_1-1734426245625.png

3. now I'm stuck. I think i need to add a Service in the Manage Service registry but what do I put in the URL? 

Ruudvandeven_2-1734426341759.png

4. I want to achieve that when the endpoint is called from the external system a PPD is triggered but how can I connect the service or whatever to the PPD?

Ruudvandeven_3-1734426419168.png

 

What do I need to do to configure this flow?

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

ManoelCosta
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi, there is currently no public API available to call production processes from the external world, but Production Processes can be initiated out of the box in many different ways, including automatic triggers and POD action buttons for example. Hope it clarifies,
Manoel Costa

ManoelCosta
Product and Topic Expert
Product and Topic Expert
Hi, just as a quick update, you should be able to call production processes via REST, using <url>+'/oauth/token', 'clientid' and 'clientsecret' values from the Service Key for OAUTH 2.0 client credential authentication, and 'public-api-endpoint' from the Service Key + 'URL / Path' field from Manage Service Registry app as URL. If my answer was helpful, please consider accepting it as solution. Br, Manoel
Ruudvandeven
Explorer
0 Kudos
Hi, in you second comment you provide an update that it should work. I've found your tutorial and got it to work. the magic for me was that when you publish a PPD to the service registry it automatically creates an API endpoint for you. This was unclear before. Now I can go to the service registry, find the service (it is named the same as my PPD) and use that path.

Answers (0)