Explaining Testing and Monitoring of a PO Process

Objective

After completing this lesson, you will be able to explain testing and monitoring of PO processes

Business Process Start Overview

There are several ways of starting a process, depending on its purpose and starting point. In order for a process to start, it must have an active version. The methods for starting a process include the following:

  • Starting processes from the Process Repository

    Start the process from the Process Repository tool that is integrated in the SAP NetWeaver Administrator. This method is mostly used for test purposes.

  • Starting processes by Web services

    This method can be used to start a process from the Web Service Navigator, Web Dynpro applications, or from a Web service client.

  • Starting processes from the Debugger

    You can start a process from the Debugger that is integrated in the SAP NetWeaver Developer Studio (NWDS).

Business Process Start from the Process Repository

For testing purposes, BPM processes can be started using the Process Repository in the NetWeaver Administrator.

To start a process in the NetWeaver Administrator, use the following method:

  1. Start the NetWeaver Administrator by going to the following URL and providing your user name and password: http://<host>:<httpport>/nwa.
  2. Choose SAP NWAConfiguration ManagementProcesses and TasksProcess Repository.

    The system displays the development components of the deployed processes and their details.

  3. Choose the development component (DC) of the process you want to start.
  4. Choose the Processes, Tasks, and Rules tab.
  5. Choose the applicable process, then choose Start Process.

For testing purposes, Business Process Management (BPM) process can be started using the Process Repository in the NetWeaver Administrator. Although users typically do not use the NetWeaver Administrator BPM processes, this application provides a Web service that allows you to start a BPM process through a standard wWeb service call. This includes processes with UIs built in Web Dynpro, Visual Composer, and similar technologies. These Web services can be used by any application.

The Web services can include data, which can be passed from the UIs to the processes that are started. The data stored in the process context can influence the process flow or be processed in process activities.

BPM Process Monitoring

The SAP NetWeaver Administrator includes a system status monitor that allows you to view the configuration of processes and tasks. This monitor is accessible at http://<host>:<port>/nwa, under Availability and PerformanceBPM System Overview.

The figure shows the BPM System Overview screen in the Availability and Performance tab of the NWA.

Manage Processes in the NWA

To view a comprehensive overview of all running and finished processes in SAP NetWeaver, choose OperationsProcesses and TasksManage Processes. From here you have access to all process details.

The figure, Process Management Overview, progresses as follows:

  1. Once a process is selected, all the currently running instances of the process appear.
  2. Actions such as Suspend and Resume can be chosen for currently running process instances.
  3. Choosing the Show Process Flow button opens a new window with a graphical representation of the selected process. In the example the green dot indicates that the process in currently in waiting. This process waits on the intermediate message event waitOfMessages.

You can monitor messages by choosing the link Show Related PI Messages from the Details tab. The message monitor that appears displays XI protocol messages for the selected process.

History Tab

The History tab allows you to view the steps of the selected process according to the option chosen in the Show drop-down box. In particular, you can view outgoing and incoming messages. The Group by drop-down box allows you to filter what appears in the display.

Context Data Tab

The current values of context data in the register for individually selected data objects is shown in the Context Data tab.

Create the Distribution Process

Create the Distribution Process - Part 2

Exercise Information

Note

In this exercise, when the values include ##, replace the character with a two-digit number (01–30).

Exercise Options

You can perform this exercise in two ways:

  1. Live Environment: choose Start Exercise, and from the entry page choose Open PDF Document. Follow the steps described in this pdf in your own system landscape.
  2. Simulation: choose Start Exercise, and from the entry page choose Start Tutorial. Watch the step-by-step instructions within the simulation.

Note

We recommend running the simulation first.

Create the Distribution Process - Part 1

Create the Distribution Process - Part 2

Log in to track your progress & complete quizzes