%R3CONNE Macro

Disconnects from an SAP system.

Type: batch macro
Data source: R/3
See: %R3CONNB macro, %R3CONNC macro

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: Disconnect 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.