Ansicht
Dokumentation

ABENAPC_CONNECT_VIA_HANDLE_ABEXA - APC CONNECT VIA HANDLE ABEXA

ABENAPC_CONNECT_VIA_HANDLE_ABEXA - APC CONNECT VIA HANDLE ABEXA

rdisp/max_wprun_time - Maximum work process run time   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

- System-Wide Access

This example demonstrates access to any ABAP channel using a connection handle.

Source Code

Execute

Description

The program expects a valid connection handle for a WebSocket connection as its input, creates an access objects for this handle, and uses it to send a simple text message.

An APC connection from the executable example AS ABAP as WebSocket Server publishes its connection handle as follows:

  • Create a WebSocket server without PCP.
  • Open the connection on the Web page.
  • Send the text message "get handle".

This message is identified in the method ON_MESSAGE of the APC handler class CL_APC_WS_EXT_DEMO_APC and the connection handle is retrieved and sent. The Web page displays it in a form that can be copied. If the connection handle is passed to the program above while the connection is open, the message sent by the program is received and displayed by the Web page.






CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 1364 Date: 20240424 Time: 031243     sap01-206 ( 25 ms )