| Using the RFC Macros and Macro Variables |
| Type: | batch macro |
| See also: | %R3CONNC |
| Syntax | |
| Details | |
| Example |
Syntax |
| %R3CONNE(CCONN=value, REMSESS=value) |
| Details |
The %R3CONNE macro allows you to disconnect from the SAP System. This macro can be used to log out of the SAP System during batch operation.
The parameters for %R3CONNE are as follows:
| 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. |
| Example |
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.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.