Product Lifecycle Management Blogs by Members
Get insider knowledge about product lifecycle management software from SAP. Tap into insights and real-world experiences with community member blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
abolik97
Explorer

Business Concept:


Activity Hook in SAP ME: An Activity hook is a Hookable Activity assigned to a hook point.


In SAP ME we have functionality to assign activities at some hook points so that system will automatically trigger that in manufacturing process.


In this blog you will get to know how we can achieve this functionality in SAP DMC.




Business Scenario:


Example: Let us consider there is requirement to auto start and auto complete one of the operations in routing without operator intervention.




Solution in SAP ME: we will create a customized activity and assign it to the hook point (POST_COMPLETE) of previous operation on routing level.

(i.e., on completion of the current operation next operation will auto start and auto complete.)




Solution in SAP DMC: To achieve the same functionality in DMC we can create Production Process.  More Information about Production Process you can find in here Design Production Process SAP Help.


We can assign production process to POD buttons however in our example we don't want any operator intervention. So, we should use the Manage Automatic Triggers App. There we can create business rule providing the triggering condition and attaching the production process that needs to be triggered.





Steps to create Production Process:



  1. Search for Manage Production Process App in SAP DMC. Click on create. Provide Name, Description. Version will auto populate however we can change version as well. 

  2. Click on + to create the production process. Provide Name, Description, select Runtime type as Cloud and Runtime Environment will auto populate as Cloud. Click on create.

  3. Now start designing the production process. First drag and drop start control then select services Start SFCs and Complete SFCs under SFC Production Activities.

  4. Next step is to manage input parameters of the production process. Need to create input parameters to PP so that autostart & autocomplete process can be used for any operation, any resource, and any SFC. Select first control (Start) and click on Manage Parameters to add inputs to production process. Check the inputs which are mandatory for SFC Start and SFC Complete Services accordingly add the inputs to production process. Provide Name to input, select data type from drop down if its mandatory filed for production process then select checkbox 'Required' and click on Save.

  5. Now assign the created variables to the inputs of start and complete services. Click on Save All to save the production process.  Now Production process to automatically start and complete the SFC at given operation is developed. Next step is to deploy the PP. 

  6. To deploy the production process click on Quick Deploy. Click on Deploy and Activate.

  7. To make the created production process visible in the service registry (To be able to use in another apps) Choose more, click on edit header and set Publish to Service Registry to ON. 


Now we need to create a business rule using Manage Automatic App to trigger the production process on given conditions. 

Steps to create business rule using Manage Automatic App:

  1. Search for Manage Automatic Triggers App in SAP DMC. Click on Business Rule to create a new business rule and click on Create. 

  2. Provide Name, Description to business rule. Select Trigger Type as: Event. Select Event Type as ‘SFC Operation Activity Completed’ on which you want to trigger production process. Considering our example: 

    On completion of the current operation, we want to automatically start the next operation. So, select Event Type as ‘SFC Operation Activity Completed’.



  3. Next step is to configure the Conditions on which business rule should trigger: 

    In SAP ME we can add hook point activity on operation, routing, or resource level. Similarly, we can provide here conditions for which plant, operation, routing, or resource we want to trigger business rule.  



  4. Now we need to assign the production process that we want to trigger. Under Action Item browse for Production Process created. 

  5. Now configure input parameters of production process. We created business rule to auto start and auto complete SFC at XYZ operation.  Thus, providing operation, resource as constant values and SFC will be passed dynamically. Click on create to save created business rule.

  6. Last step is to deploy created business rule. Click on Quick Deploy. 


Summary: Using business rule we have successfully achieved calling a production process on an event.

Conclusion: Please, let me know your comments/observations. If you have any questions, I encourage you to post in the comment section here and I will try to answer them as soon as possible.

To know more about SAP DMC follow here.
2 Comments