Streamline SAP ME Routing Maintenance Using Routing Scripts

  • by Nikhil Rana, System Developer, SAP Labs Pvt. Ltd.
  • November 11, 2014
Learn how to implement custom scripts in SAP Manufacturing Execution (ME) to influence decision making on factors other than just non-conformance scripts that come documented with the product.
Learning Objectives
Reading this article, you will learn how to:
•    Affect decision making on the shop floor by fetching required data on the fly and based on it, deciding which operation should be executed next
•    Query the ME database from the custom script context
•    Use the various functions available in the custom script context and how to call them
Key Concept
SAP Manufacturing Execution (ME) supports the use of routing scripts to help in decision making when a branch exists to multiple next possible operations. The ME user needs to be given permission to manage and execute scripts by referring to the Security Guide. The Security Guide is provided to all ME customers. It is part of the documentation that comes along with ME and is also available on the SAP Service Marketplace (SMP) for customers to reference.

SAP Manufacturing Execution (ME) enables you to fetch data from ME databases on the fly for easy decision making when multiple branches exist to the next operation in routing. Consider a scenario in which some components need to be assembled on an operation (assembly) of shop floor control (SFC) routing.

Shop floor control (SFC) is a part of ME. SFC is a common term used on the shop floor. On an actual shop floor, each individual component, such as bikes, handles, frames, engines, and bolts, are all SFCs. A completed SFC with all the inventory assembled to it and finished on the last operation of routing that is now ready for delivery is termed a product.
After the component is completed at assembly, it needs to be checked before moving further, to avoid non-conformities. If assembled, it moves to the next operation. Otherwise, SFC puts it back to the assembly operation.

Use of custom scripts is helpful in this scenario for checking the component and then moving it to the appropriate next step. Custom scripts, which give access to the ME database in real time, do not come with how-to-implement documentation. Based on my interaction with clients, while providing support and seeing the complex routing scenarios customers use to complete SFC on the shop floor, I provide instructions to make routing scenarios less complicated by adding intelligence to routing steps.


Nikhil Rana

Nikhil Rana is a developer with SAP Labs Pvt. Ltd. He has approximately five years of experience building enterprise applications development and production support. He has worked on Java, J2EE, SAP HANA, SAP UI5, HTML5, and SAP HANA Cloud-based applications. He has also conducted official trainings and participation toward SAP customer and internal events such as PIS (Product Innovation Summit), TechEd, DemoJAM, and the SAP Public Sector Forum.

See more by this author


No comments have been submitted on this article. 

Please log in to post a comment.

To learn more about subscription access to premium content, click here.