SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →Reference

SAP-samples/digital-manufacturing-extension-samples

Worked samples for the six ways SAP Digital Manufacturing can be extended, from POD plugins to XSLT inside an integration flow.

SAP lists six extension types for the product: POD plugin, core plugin, side-by-side, integration, in-app service and ML extension, and this repository holds a worked sample for each, with two POD plugin templates meant to be built from scratch. The POD plugin folder carries both architectures: POD 1.0 as a full UI5 MVC component with Component.js, manifest, controller, view and PropertyEditor registered in designer/components.json, and POD 2.0 as a single JavaScript file extending sap/dm/dme/pod2/widget/Widget and registered in extension.json; the repository states POD 2.0 for new development and points existing POD 1.0 plugins at SAP's migration guide. Twenty-seven core plugin samples change standard plugins in place: an extra worklist column with calculated values, a confirmation before an equipment status change, custom work instructions in the viewer. The integration samples work outside the dashboard, as XSLT templates that strip leading zeros or replace special characters in a material number and a copy of SAP's BAPI Service Processor flow in Cloud Integration that routes a production order yield confirmation to a non-SAP ERP. Deploying a plugin here is a zip uploaded through the POD Designer or the Manage PODs 2.0 app, so what each sample assumes is a configured tenant rather than a build pipeline.

Facts

Last pushLicenceApache-2.0

Where it sits

Requires
SAP Digital ManufacturingSAP Digital Manufacturingoutside the atlasThe samples are uploaded into a Digital Manufacturing tenant and run there: a POD 1.0 plugin through the POD Designer, a POD 2.0 extension through the Manage PODs 2.0 app, and the bootcamp unit lists tenant access as a prerequisite.
Optional
Cloud IntegrationCloud IntegrationartifactThe integration samples are built in Cloud Integration itself: a copy of the SAP-delivered BAPI Service Processor artifact, edited to call a non-SAP receiver, with the XSLT customisation applied to the iFlow's mapping.SAP Destination serviceSAP Destination serviceartifactThe sample service reaches the product's APIs through a named destination, SAP_DMC_DEFAULT_SERVICE_KEY, rather than a URL of its own.SAP Authorization and Trust Management serviceSAP Authorization and Trust Management serviceartifactThe sample's endpoints are protected by an XSUAA instance, and the same client credentials configure the destination that Digital Manufacturing production processes call.

Who is behind it

SAP SamplesSAP SamplesOrganisationMaintains this
In the atlas: maintains 222
@SAP-samples
maintainerAjinkya PatilPersonContributes to this
In the atlas: contributes to 112
@ajinkyapatil8190
alisonjiPersonContributes to this
In the atlas: contributes to 1
@alisonji
ankitshah25PersonContributes to this
In the atlas: contributes to 1
@ankitshah25
Brian BernardPersonContributes to this
In the atlas: contributes to 64
@btbernard
Chris PerumalPersonContributes to this
In the atlas: contributes to 1
@chrisdavisp
Eason-LingPersonContributes to this
In the atlas: contributes to 1
@Eason-Ling
elenaylzPersonContributes to this
In the atlas: contributes to 1
@elenaylz
huschlekPersonContributes to this
In the atlas: contributes to 2
@huschlek
i307698PersonContributes to this
In the atlas: contributes to 1
@i307698
ilias-gmailPersonContributes to this
In the atlas: contributes to 1
@ilias-gmail
20 contributors

Before choosing this

Conditions

PracticalFunctional boundary

Nothing here runs on its own: a plugin sample needs a Digital Manufacturing tenant to be uploaded into, and the integration samples need a Cloud Integration tenant plus an ERP system, or a mock server as the outbound example uses, before they do anything.

What it declares

Every artifact

Type
Sample
Origin
By SAP
Use as
A reference

As a sample

Form
Code snippets

Connections5

SAP-samples/digital-manufacturing-extension-samples connectionsSAP-samples/digital-manufacturing-extension-samplesNEEDS→ connects to1connects to stated The samples extend the product and call its APIs: the side-by-side Assembly POD example works against the DM public APIs, and the in-app service sample fetches reason codes from the DM APIs through a destination. SAP Digital Manufacturing Extension Samples — Sample Extensions: https://github.com/sap-samples/digital-manufacturing-extension-samples Digital Manufacturing Extension: Custom protected BTP service calling DM APIs: https://raw.githubusercontent.com/SAP-samples/digital-manufacturing-extension-samples/main/dm-inapp-service-extensions/dm-custom-api/README.mdSAP Digital Manufacturing→ needs1needs stated The samples are uploaded into a Digital Manufacturing tenant and run there: a POD 1.0 plugin through the POD Designer, a POD 2.0 extension through the Manage PODs 2.0 app, and the bootcamp unit lists tenant access as a prerequisite. SAP Digital Manufacturing POD Plugin Extensions — Deployment: https://raw.githubusercontent.com/SAP-samples/digital-manufacturing-extension-samples/main/dm-podplugin-extensions/README.md Unit 2 - Field and Integration Extensions — Prerequisites: https://raw.githubusercontent.com/SAP-samples/digital-manufacturing-extension-samples/main/bootcampdocs/Field%26IntegrationExtensions.mdSAP Digital Manufacturing→ optionally needs3optionally needs stated If: An integration extension sample is used. The integration samples are built in Cloud Integration itself: a copy of the SAP-delivered BAPI Service Processor artifact, edited to call a non-SAP receiver, with the XSLT customisation applied to the iFlow's mapping. Outbound request from SAP DM system to non-SAP ERP system — Steps to create: https://raw.githubusercontent.com/SAP-samples/digital-manufacturing-extension-samples/main/dm-integration-extensions/OutboundFromSAPDMToNonSAPERPExample/README.MD Unit 2 - Field and Integration Extensions — Prerequisites: https://raw.githubusercontent.com/SAP-samples/digital-manufacturing-extension-samples/main/bootcampdocs/Field%26IntegrationExtensions.mdCloud Integrationifoptionally needs stated If: The dm-custom-api in-app service extension sample is deployed. The sample's endpoints are protected by an XSUAA instance, and the same client credentials configure the destination that Digital Manufacturing production processes call. Digital Manufacturing Extension: Custom protected BTP service calling DM APIs — Protecting endpoints: https://raw.githubusercontent.com/SAP-samples/digital-manufacturing-extension-samples/main/dm-inapp-service-extensions/dm-custom-api/README.mdSAP Authorization and Trust Managementserviceifoptionally needs stated If: The dm-custom-api in-app service extension sample is deployed. The sample service reaches the product's APIs through a named destination, SAP_DMC_DEFAULT_SERVICE_KEY, rather than a URL of its own. Digital Manufacturing Extension: Custom protected BTP service calling DM APIs: https://raw.githubusercontent.com/SAP-samples/digital-manufacturing-extension-samples/main/dm-inapp-service-extensions/dm-custom-api/README.mdSAP Destination serviceif

README

quoted from SAP-samples/digital-manufacturing-extension-samples under Apache-2.0, read
SAP-samples/digital-manufacturing-extension-samples/README.mdOn GitHub

REUSE status

SAP Digital Manufacturing Extension Samples

SAP Digital Manufacturing provides an out-of-the-box Manufacturing Execution System (MES) to run production on the shop floor. However, based on the experience gained from customer and partner projects, we also know that a successful MES must have the capability to be extended. With the new releases of Digital Manufacturing, the options for extensibility have made a significant step forward. Using the sample extensions provided will allow you to learn and understand how to build your own extensions to use with SAP Digital Manufacturing.

Description

The POD Plugins Developer Guide provides more details on developing custom plugins. Some of the templates can be referred as following code snippets.

  • POD Plugin Extension
  • Core Plugin Extension
  • Side by side Extension
  • Integration Extension
  • In-App Service Extension
  • ML Extension

Sample Extensions

NameDescription
Sample Execution PluginThis sample demonstrates how to implement a Execution type plugin
Sample View PluginThis sample demonstrates how to implement a View type plugin
View POD Plugin Template This sample demonstrates how to build a sample view plugin from scratch
Execution POD Plugin Template This sample demonstrates how to build a sample execution plugin from scratch
Inbound Integration Extension with XSLTSample XSLT to map custom fields for Production Order
Outbound Integration Extension with customized workflowsThis sample demonstrates using customized CPI workflow to pass additional information from DM to ERP
Next Number Extension with Mongo DB This sample demonstrates how to build write an extension function to generate next numbers using Mongo DB
Next Number Extension with PostgresThis sample demonstrates how to build write an extension function to generate next numbers using Postgres
DM Execution - storing temporary process variables in MSSQLThis sample demonstrates how to store variables from DM execution in an external DB managed from kyma
Custom URL Integration POD pluginThis sample demonstrates how to build a sample custom plugin for URL Integration
Custom Scrap Confirmation with PPDThis sample demonstrates how to build a sample custom plugin for Scrap Confirmation
Custom Assembly PODThis sample demonstrates how to build a side by side extension for Assembly using DM public APIs
Side by side Extension Template on KymaThis sample demonstrates how to build a side by side extension in Kyma
Custom AuditLog AppThis sample demonstrates how to build a side by side extension for customized auditlog app

More samples on core plugin extensions can be found here - Core Plugin Extension Samples

Digital Manufacturing Extensibility Bootcamp

DayContent
Day 1PDF - Recording
Day 2PDF - Recording
Day 3PDF - Recording
Day 4PDF - Recording
Day 5PDF - Recording
Day 6PDF - Recording
Day 7PDF - Recording

Few Real World Customer Examples

How to obtain support

If you have issues with a sample, please open a report using GitHub issues.

License

Copyright © 2020 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, v2.0 except as noted otherwise in the LICENSE.

Apache-2.0, read

Details

Sources3
GitHub APIdiscovered herechecked
github.com/SAP-samples/digital-manufacturing-extension-samplestree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaGitHub API
first seen in the atlas
ecosystem and domaindigital-manufacturing, learning-and-reference
Contributors20
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:sap-samples-digital-manufacturing-extension-samples
JSON
/artifacts/sap-samples-digital-manufacturing-extension-samples.json
MCP
Connecting an agent