Ansicht
Dokumentation

ABENNEWS-740_SP08-ABAP_CHANNELS - NEWS-740 SP08-ABAP CHANNELS

ABENNEWS-740_SP08-ABAP_CHANNELS - NEWS-740 SP08-ABAP CHANNELS

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

ABAP Channels in Release 7.40, SP08





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.



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.



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 linked 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.






ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3104 Date: 20240426 Time: 174014     sap01-206 ( 62 ms )