%R3CONNE

Disconnects from an SAP system
Type: batch macro
See: %R3CONNC

Syntax

%R3CONNE(CCONN=value, REMSESS=value)

Optional Arguments

CCONN
specifies the connection identifier that is associated with the current session.
REMSESS
specifies the SAS/CONNECT remote session identifier that is associated with the current remote session.

Details

The %R3CONNE macro lets you disconnect from the SAP system. You can use this macro to log off from the SAP system during batch operation.

Example: Disconnecting from an R/3 System

The following example shows how to use the %R3CONNE macro to disconnect from an R/3 system:
%r3conne(CCONN=IDES);
In this example, the %R3CONNE macro is used to terminate the R/3 connection with an ID of IDES.