Ansicht
Dokumentation
ABENABAP_MINI_DAEMON_ABEXA - ABAP MINI DAEMON ABEXA
PERFORM Short Reference BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
- Mini ABAP Daemon
This example demonstrates a mini ABAP daemon.
Source Code
Description
The class CL_DEMO_ABAP_MINI_DAEMON used by the program above demonstrates a mini ABAP daemon class. It implements only the following methods of the interface IF_ABAP_DAEMON_EXTENSION:
- ON_ACCEPT
- In this method, the return value E_SETUP_MODE must be set, otherwise the daemon is not created. The method limits the creation of daemons to the program DEMO_ABAP_MINI_DAEMON.
- ON_MESSAGE
- This method indicates that the daemon is reacting to message from a program. To enable this, the message is exported to the cross-transaction application buffer of the shared memory.
The program DEMO_ABAP_MINI_DAEMON uses the ABAP daemon manager to do the following:
- Start a daemon based on the class CL_DEMO_ABAP_MINI_DAEMON.
- Send a PCP message using a temporary ABAP daemon handle.
- Stop the daemon immediately, which is not a typical step.
It then checks whether the daemon wrote the message to the shared memory.
RFUMSV00 - Advance Return for Tax on Sales/Purchases BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2122 Date: 20240426 Time: 234647 sap01-206 ( 28 ms )