/
SAP Gui Handler

SAP Gui Handler

To execute a standard task in SAP Gui a special SAP Gui handler class using the interface /PCH/IF_BPF_TASK_HNDL_SG has to be implemented. For separation of concerns, a separate handler class with the suffix _HSG is recommended.

The interface only knows one method EXECUTE and provides the current instance of the runtime task and the action (see /PCH/IF_BPF_TASK=>C_ACTION). The method has not exporting or returning values. Instead, one of the events SUCCEEDED, FAILED or CANCELLED must be raised.

The whole interaction between the handler and the runtime task should happen within an Executor, which should be created right at the beginning. If the status mode of the standard task is set to automatic, then the standard must set the status of the runtime task.

© ProNovia AG | Imprint | Data Protection