If you:
we recommend that you implement your own process type.
You need to have a good knowledge of the ABAP object-orientated language enhancement - ABAP Objects .
You can find additional information about the Class Builder in the SAP Web Application Server documentation under BC - ABAP Workbench → ABAP Workbench: Tools → Class Builder .
IF_RSPC_*
Interface IF_RSPC_* |
Description | Method is called in ... | Implementation is .... |
---|---|---|---|
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. |
Runtime |
Required |
GET_INFO |
Transfers the information for a process to the successor. |
Maintenance and runtime |
Optional |
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 |
Runtime and log view |
Optional |
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. |
Maintenance |
Alternative or in addition to interface IF_RSPC_GET_VARIANT |
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. |
Maintenance |
Alternative or in addition to interface IF_RSPC_MAINTAIN |
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. |
Maintenance |
Optional |
CHECK |
Consistency check at scheduling time for the process/chain You can carry out a check to determine:
|
Maintenance |
Optional |
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. |
Runtime and log view |
Optional |
CALL_MONITOR |
Calls up the process monitor from the log view in the process chain maintenance. |
Log view |
Optional |
TRANSPORT |
Returns TLOGO entry. |
Maintenance |
Optional |
CONTEXTMENU |
Adds some functions to the context menu for a process in the process chain maintenance. |
Maintenance |
Optional |
VARIABLES |
Declares if the process can process runtime variables |
Runtime |
Optional |
SIMULATION |
Passes on and displays the simulation results |
Runtime |
Optional |
MULTI_EVENT |
Declares the possible end states of the process |
Maintenance and runtime |
Optional |
You can find further documentation for the IF_RSPC_* interfaces under Tools → ABAP Workbench → Development → Class Builder . For Object Type, enter the interface name and choose display. You can access the documentation in the subsequent screen using the Jump menu.
RSPROCESSTYPES
Then choose Edit → New Entries, allocate the technical name, short and long description for the process type, enter the name of your class and choose ABAP-OO Class as the Object Type. Make the other settings for your process type and save the entry.
Your process is available in the process chain maintenance of the process category you assigned.