ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Release 7.40 and Its SPs → Changes in Release 7.40, SP08
ABAP Channels in Release 7.40, SP08
1. Protocol for ABAP Messaging Channels
2. New classes and interfaces for ABAP Push Channels
3. Subprotocol for ABAP Push Channels
Other versions:
7.31 | 7.40 | 7.54
Modification 1
Protocol for ABAP Messaging Channels
From Release 7.40, SP05, ABAP Messaging Channels (AMC) can be used to send and receive messages in SAP's own Push Channel Protocol (PCP). This uses the message type PCP and the class CL_AC_MESSAGE_TYPE_PCP for serializing and deserializing ABAP data. The documentation for AMC and the associated executable examples have been revised to reflect this.
Modification 2
New Classes and Interfaces for ABAP Push Channels
The previous classes and interfaces in the APC frameworks, introduced using the prefixes IF_APC_WS_ and CL_APC_WS_, are replaced by the (identically named) classes and interfaces with the prefixes IF_APC_WSP_ and CL_APC_WSP_. Unlike the previous classes and interfaces, the new classes and interfaces also support optional subprotocols of the WebSocket protocol.
It is recommended that the new classes and interfaces are used. When new ABAP Push Channels are created, the APC handler class becomes the subclass of the new class CL_APC_WSP_EXT_STATELESS_BASE automatically. The previous classes and interfaces have been kept for compatibility reasons but can be switched easily to the new classes and interfaces. New functions, such as the method ON_ACCEPT of the interface IF_APC_WSP_EXTENSION, are accepted only for the new classes and interfaces.
Modification 3
Subprotocol for ABAP Push Channels
A subprotocol can be specified when creating an ABAP Push Channel (APC). Currently, SAP's own Push Channel Protocol (PCP) can be specified. The APC framework contains new classes and interfaces for handling messages in the PCP format. The APC handler class of an ABAP Push Channel with PCP is generated accordingly. ABAP Push Channels can be associated with an ABAP Messaging Channel (AMC) with the appropriate message type, PCP. For WebSocket clients, the API for PCP is provided as a JavaScript file in the MIME repository.