cancel
Showing results for 
Search instead for 
Did you mean: 

Expose external API to SAP DM

SunnyCH
Explorer
0 Kudos
160

HI, 
I am trying to test a scenario where: Expose an S/4HANA private cloud API to SAP Digital Manufacturing, and use this API as external API in the production process designer. 
My progress is as below: 

  1. Create destination on SAP BTP
    SunnyCH_2-1733316821073.png
    Checked connection: Green without any error. 
    User is technical user created in the ERP system. 
  2. Create server via app "Manage Web Servers" in SAP DM
    SunnyCH_3-1733317010777.png
    After server SCN_S4DEMO created, I connected this server to DMC_Cloud server. So now server SCN_S4DEMO will be consumed by DMC_Cloud. 
  3. Create service via app "Manage Service Registry" in SAP DM
     SunnyCH_1-1733316682143.png
    Added service definition here with response as well. 
  4. Create production process with this service via app "Production process designer" in SAP DM
    SunnyCH_4-1733317247822.png
    But this production process kept giving the same error at step 2: 
    SunnyCH_5-1733317430018.png

    If i look into the error message in debug mode, it says Failed to resolve "Host" (this info is identical to the URL stated at step 1). 

Seems like SAP DM cannot speak to the backend system but it is connected when click on Check Connection in BTP. 
Note: everything is configured based on https://help.sap.com/docs/sap-digital-manufacturing/business-process-extensions-developer-s-guide/ap...

Any help is appreciated! 

KR,
Sunny 

View Entire Topic
tobias_renth
Participant

Issue seems to be in Manage Web Servers. Create Web Server with type OnPrem instead of Cloud Services, and add the relevant Cloud Connector.

SunnyCH
Explorer
0 Kudos
Thanks, indeed we changed to onPrem it's working now.