Implementing Event Scripts in SAP Business Network Global Track and Trace

Objective

After completing this lesson, you will be able to implement event-to-action scripts in the SAP Business Network Global Track and Trace model.

Event Scripting

The Event to Action script gives the flexibility to add additional business rules or logic into the model.

It has four segments:

  • Standard Declaration
  • User Script Before Standard Script
  • Standard Script
  • User Script After Standard Script

You can leverage User Script Before and After to add additional logic. Refer to the syntax and scripting detailsfor more information.

A configuration interface displays multiple code blocks for customizing event handling scripts in an SAP GTT standard model.

Summary

  • Event to Action scripts add business rules and logic to your model.
  • Scripts are divided into four segments: Standard Declaration, User Script Before, Standard Script, and User Script After.
  • Use User Script Before and After to insert custom logic before or after the standard processing.
  • Refer to syntax documentation for details on writing and inserting script logic.