Auto Draft

SAP Digital Manufacturing Cloud Integration Extension Half II

Auto Draft


Expensive Colleagues,

On this weblog submit will attempt to introduce situation improve the outbound integration between SAP Digital Manufacturing Cloud and SAP S/4HANA.

In order for you see the inbound integration eventualities, please see Part I.

On this submit will improve an outbound interface scrap/yield affirmation, will present two extra fields personnel quantity and variance cause code. and this may require we do some extensions from DMC aspect for the combination.

  1. Register CPI interface as a service in DMC
  2. Create Manufacturing Course of to eat the service in step 1.
  3. Develop an PoD Plugin to eat the manufacturing course of in step 2.
  4. Create a POD to set off the PoD Plugin


  1. Integration configuration has been setup.
  2. You’ve got entry to the DMC sub-account.
  3. Enterprise Utility Studio has been enabled on your account.


## Particulars:

Register CPI interface as a service in DMC

  1. open app Handle Internet Servers and create a brand new internet’ll be able to reuse the the Vacation spot CPI_DESTINATION_IFLMAP created for the combination, or create a brand new one.
    The online server ought to be eat by DMC_Cloud.
  2. open app Handle Service Registry and create a brand new service.Internet Server ought to be the one in step 1.
    Url/Path: the trail to the SAP CI yield/scrap interface: /gw/odata/SAP/API_PROD_ORDER_CONFIRMATION_2_SRV;v=1/ProdnOrdConf2
    Parameters create one erpDestination to specify the erp system to combine.Auto Draft
    For the inbound request physique, may be outlined as under(not embody supported fields, see metadata of the cpi interface for particulars):
    Auto DraftAfter save, we will eat this service by the Manufacturing Course of.

Create Manufacturing Course of to eat the SAP CI service

  1. open app Design Manufacturing Course of and select ‘Create’
  2. change to ‘Edit’ mode and select the service you created by click on ‘Choose Providers’
  3. browse the service and toggle it, then save
  4. You possibly can choose it from left record and drag it to the fitting designer
  5. outline your individual manufacturing course of, debug and repair points.
  6. Deploy the manufacturing course of and edit header to ensure its public to Service Registry
    it is possible for you to confirm the brand new service generated from app Handle Service Registry with a prefix P_****
    Auto DraftAuto DraftAuto Draft

Develop an PoD Plugin to eat the manufacturing course of

  1. Create your individual PoD plugin from template or modify from pattern >> [git repo]
  2. Edit view/MainView.view.xml to make the ui fulfill your necessities
  3. Edit the controller/MainView.controller.js to satisfy your necessities
  4. Edit the builder/PropertyEditor.js to outline properties may be configured from POD Designer
    Auto Draft
  5. Edit the mta.yaml to permit DMC tenant in a position to entry the plugin, by edit CORS part
    Auto Draft
  6. Proper click on the mta.yaml and construct the applying, and there can be an *.mtar file generated beneath folder mta_archives
    Auto Draft
  7. choose the mtar file and deploy it from the fitting click on menu.
    Auto Draft
  8. Then it is possible for you to to confirm out of your sub account that the plugin utility deployed within the area.
    Auto Draft

Create a POD to set off the PoD Plugin

  1. open app POD Designer and create one POD or modify present one
  2. add the PoD Plugin we created right into a plugin container
  3. configure the Plugin parameters you uncovered to designer
    Auto Draft
  4. Save the POD and check it, order id right here was 1878936.
    Auto Draft
  5. Confirm the standing of order 1878936 from SAP S/4 HANA aspect.
    Auto Draft
    Auto DraftAs you’ll be able to see, the Personnel no. and Purpose code populated



With this submit you know the way to name the interface that normal SAP CI package deal supplied with values that normal DMC course of didn’t supplied.




Related Posts