Ansicht
Dokumentation

ABENAPC_TCP_CLIENT_ABEXA - APC TCP CLIENT ABEXA

ABENAPC_TCP_CLIENT_ABEXA - APC TCP CLIENT ABEXA

Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

- AS ABAP as TCP Socket Client

This example demonstrates AS ABAP as a TCP socket client.

Source Code

Execute

Description

This example demonstrates how an ABAP program can create an APC client for the TCP socket protocol. It is structured in exactly the same way as in the executable example for the WebSocket client, but with the connection made to a TCP socket server. The current front-end computer is used as the TCP socket server here and the freely available Ncat can be downloaded to this computer.

This program requires the Ncat.exe directory and the address of the current front-end computer, for which suggestions are made. In addition, a terminator character is needed for the TCP framework structure.

When the program is executed, Ncat.exe is started and waits for messages from the APC client. Once a message is sent, this client waits for a message that can be entered in the Ncat window and confirmed using Enter.






General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1580 Date: 20240425 Time: 165426     sap01-206 ( 36 ms )