CL_COMMAND_POC - Domain Model: Command

CPI1466 during Backup   General Data in Customer Master  
This documentation is copyright by SAP AG.

Functionality

A list of commands can be attached to each step. These commands then appear in the context menu, andperform all manner of operations. The abstract higher-level class is CL_COMMAND_POC. For operations performed on steps, data must be derived from higher-level class CL_STEP_COMMAND_POC.

The commands are attached in Factory CL_STEP_BUILDER_POC. There may also be configuration options. The customer can then attach commands to each process instruction element and characteristics.

A table of commands can currently be added to each element via the interface of CL_STEP_BUILDER_POC.

Relationships

Example

Notes

Command classes must follow naming convention CL__COMMAND_POC, for declaration of a command, for example. In a process instruction, suffices.

Procedure for building a command:

1. Create class with CL__COMMAND_POC

2. Derive from CL_COMMAND_POC or CL_STEP_COMMAND_POC

3. Transfer method GET_DESCRIPTION

4. Transfer method EXECUTE_INTERNAL

5. Transfer any event handlers

Further information

CL_STEP_BUILDER_POC

CL_STEP_POC


Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.


Length: 1218 Date: 20120526 Time: 102632     triton ( 55 ms )