ABAP Keyword Documentation → ABAP − Reference → Data Interfaces and Communication Interfaces → ABAP Channels → APC - ABAP Push Channels
APC - Non-Blocking Mode
Stateful APC processing takes place in an event-driven way:
- AS ABAP as a stateful APC server
- AS ABAP as a stateful detached APC client
To stop APC sessions of this type from being blocked for inbound messages, processing must run in non-blocking mode. The following blocking statements are not allowed in non-blocking mode for APC:
- Calls
- Exit
CHECK
,EXIT
,STOP
, andREJECT
for exiting reporting events
- Wait
Using a statement like this in non-blocking mode produces the runtime error APC_ILLEGAL_STATEMENT.
Other versions:
7.31 | 7.40 | 7.54
Notes
- The statement
WAIT
is not allowed in non-blocking mode. To be able to wait for certain events despite this restriction (such as the end of a callback routine in aRFC, ABAP Timers can be used. An ABAP Timer is created by ABAP Timer Manager and handled using ABAP Timer handlers. The associated class and interfaces are CL_ABAP_TIMER_MANAGER, IF_ABAP_TIMER_MANAGER, and IF_ABAP_TIMER_HANDLER. ABAP Timers can only be used in non-blocking mode, namely APC and ABAP Daemon sessions.
- Unlike in APC processing, the statement
CALL FUNCTION DESTINATION
is allowed for sRFC in non-blocking mode for ADF.