Start of Content Area

Process documentation Implementing Your Own Process Type Locate the document in its SAP Library structure

Purpose

If you:

we recommend that you implement your own process type.

Prerequisites

You need to have a good knowledge of the ABAP object-orientated language enhancement - Structure linkABAP Objects.

Process

Note

You can find additional information about the Class Builder in the SAP Web Application Server documentation under BC - ABAP Workbench ® ABAP Workbench: Tools ® Structure linkClass Builder.

The following IF_RSPC_* interfaces are available:

Interface IF_RSPC_*

Description

EXECUTE

Executes the process.

This interface is the main interface used to implement your own process type and is the only process chain maintenance interface that is obligatory.

GET_INFO

Transfers the information for a process to the successor.

GET_LOG

Returns the log for a variant and an instance to the process chain maintenance, either as a title and text or as a list of messages

MAINTAIN

Enables process variants to be created and maintained in the process chain maintenance. It also determines the header information for a variant so that it can be displayed in the process chain maintenance.

GET_VARIANT

Provides value help (F4) for variants.

You need to implement this interface and/or interface IF_RSPC_MAINTAIN, in order to be able to add process variants to a chain.

GET_DEFAULT_CHAIN

Gives the default chain for a process. You can suggest, for each variant to be scheduled, which additional process it would make sense to schedule before or after the process.

CHECK

Consistency check at scheduling time for the process/chain

You can carry out a check to determine:

  • the consistency of a process
  • dependencies on other processes in the same chain and
  • dependencies on other processes in other chains.

GET_STATUS

We recommend you implement this interface for distributed processes. Distributed processes, such as the loading process, are characterized as having different work processes involved in specific tasks.

The interface allows you to request the status of the instance in the process chain maintenance(for distributed processes when follow-on events are not sent). Therefore, the system can also recognize terminations even for distributed processes.

CALL_MONITOR

Calls up the process monitor from the log view in the process chain maintenance.

TRANSPORT

Returns TLOGO entry.

CONTEXT_MENU

Adds some functions to the context menu for a process in the process chain maintenance.

You can find further documentation for the IF_RSPC_* interfaces under Tools ® ABAP Workbench ® Development ® Class Builder in the BW system. For Object Type, enter the interface name and choose display. You can access the documentation in the subsequent screen using the Jump menu.

An Overview of the Interfaces:

This graphic is explained in the accompanying text

Result

Your process is available in the process chain maintenance of the process category you assigned.

End of Content Area