The CALLRFC Procedure |
PROC CALLRFC <options>; |
Task | Option | |
---|---|---|
Specify the name of the ABAP function module that SAS uses internally for metadata requests |
ABAPFM= |
|
Specify the name of the ABAP program that the SAS uses |
ABAPPROG= |
|
Specify connection and logon parameters |
|
|
|
Accessing the SAP System using connection and logon parameters associated with a libref |
LIBREF= |
|
Specify additional logon or connection parameters |
RFC_STRING= |
Specify logon parameters |
|
|
|
Specify the SAP logon parameter for user |
USER= |
|
Specify the SAP logon parameter for password |
PASSWORD= |
|
Specify the SAP logon parameter for password in an encrypted form |
PASSWORDX= |
|
Specify the SAP logon parameter for client |
CLIENT= |
|
Specify the SAP logon parameter for language |
LANGUAGE= |
Specify connection parameters |
|
|
|
Specify the host name or IP address of a specific application server |
ASHOST= |
|
Specify the destination defined in saprfc.ini for connecting to the SAP System |
DESTINATION= |
|
Specify the name for a group of application servers |
GROUP= |
|
Specify the host name of the SAP gateway |
GWHOST= |
|
Specify the service of the SAP gateway |
GWSERV= |
|
Specify the host name of the Message Server for the SAP System |
MSHOST= |
|
Specify the name of the SAP System |
R3NAME= |
|
Specify the string defined for SAPLOGON on 32-bit Windows |
SAPLOGON_ID= |
|
Specify the SAP System number |
SYSNR= |
Specify SAS RFC Server parameters (z/OS only) | ||
|
Specify the host name of the SAS RFC Server |
HOST= |
|
Specify the port number of the SAS RFC Server |
PORT= |
|
Specify the mode for the CALLRFC procedure |
MODE= |
Specify data type and handling options |
|
|
|
Specify whether floating-point numbers are byte-reversed |
IEEE_REVERSE= |
|
Specify the SAS data type for the ABAP type NUMC |
NUMC_SAS_TYPE= |
Enable tracing of RFC requests |
TRACE= |
Options |
specifies the name of the ABAP function module that SAS uses internally for metadata requests.
Note: This option is not the name of the ABAP function that is called in the CALL FUNCTION statement.
Aliases | ABAPFUNCTION=, ABAPFUNC= |
Default | Z_SAS_DIALOG |
specifies the name of the ABAP program that SAS uses.
Aliases | ABAPREPORT=, ABAPPROGRAM= |
Default | Z_SAS_READ and is set by the ABAP function module |
specifies the host name or IP address of a specific application server. This option is used for SAP R/3 when it is not configured for load balancing.
Aliases | HST=, RFCHOST=, R3HOST= |
specifies the SAP logon parameter for client. Examples for a client are 000 or 800. This is a required SAP LIBNAME engine option. The SAP System performs a logon check at OPEN time.
Aliases | CLI=, RFCCLIENT=, RFCCLI= |
Default | The default value for this option is the SAP System default. |
specifies the destination in saprfc.ini if working with a saprfc.ini file for connecting to the SAP System. If the SAP System is an R/3 system this destination must also be defined in the 'sideinfo' for the SAP gateway.
Aliases | DEST=, DST=, DSTN= |
specifies the name for the group of application servers when the SAP System is configured for load balancing.
specifies the host name of the SAP gateway.
Alias | GATEWAY_HOST= |
specifies the service of the SAP gateway.
Alias | GATEWAY_SERVICE |
This option is supported in z/OS operating environments only. This option specifies the host name of the SAS RFC Server.
Aliases | RFC_SERVER_HOST=, RFC_SERVER=, SASRFC_SERVER=, SASRFC_SERVER_HOST= |
Default | localhost |
specifies whether floating-point numbers are byte-reversed.
Default |
Y when the SAP R/3 application server
is running on Windows
N for all other platforms |
Alias | IE3_REVERSE |
specifies the SAP logon parameter for language. The value for language is either the 2-byte ISO-language key or the 1-byte SAP-language. Examples for the language are EN, DE or E, D. The SAP System performs a logon check at OPEN time.
Aliases | LANG=, LNG=, RFCLANG=, RFCLNG= |
Default | The default value for this option is the SAP System default. |
specifies the libref for the library used to access the SAP System. The connection and logon information is copied from the libref. Because the connection and logon information is copied from the libref, this is the easiest way of using PROC CALLRFC.
specifies the mode for the SAP LIBNAME engine. If DIRECT_SAP is specified, the SAP LIBNAME engine uses RFC calls to the SAP System directly. If RFC_SERVER is specified, a SAS RFC Server is used to communicate with the SAP System.
Default | The default for z/OS operating environments is RFC_SERVER, on all other hosts it is DIRECT_SAP. |
specifies the host name of the Message Server when the SAP System is configured for load balancing.
specifies the SAS data type for the ABAP type NUMC. In SAS 8 generated views, it was N, but C is a better match. Setting NUMC_SAS_TYPE='N' ensures SAS 8 compatibility. The macro %R3CONNC sets this option to 'N' by default.
Aliases | NUMC_SASTYPE=, NUMC_TYPE=, NUMC= |
specifies the SAP logon parameter for password. When using the SAP LIBNAME engine, either use the USER and PASSWORD options to specify logon credentials, or use the AUTHDOMAIN option to retrieve credentials from metadata. If single sign-on is used, this option is not needed. The SAP System performs a logon check at OPEN time.
Aliases | PASSWD=, PWD=, PW=, PASS= |
specifies the SAP logon parameter for password in an encrypted form. It uses the encryption available with SAS/ACCESS Interface to R/3 for SAS version 8 and is supported for compatibility with the V8 connection profile.
Aliases | PASSWDX=, PWDX=, PWX=, PASSX= |
This option is supported in z/OS operating environments only. This option specifies the port number of the SAS RFC Server that is used to connect to the SAP System.
Aliases | RFC_SERVER_PORT=, RFCSERVERPORT=, SASRFC_SERVER_PORT=, SASRFCSERVERPORT= |
Default | 6999 |
specifies the name of the SAP R/3 system when the SAP System is configured for load balancing.
specifies additional logon or connection parameters for the RfcOpenEx() call. This call is used to log on the SAP System. Using this option enables passing parameters to the RfcOpenEx call that are not SAP LIBNAME engine options. This option can be used to support future extensions of the RfcOpenEx call.
Alias | RFCSTRING=, RFC_OPTIONS_EXT=, RFCOPENEX=, ADDITIONAL_RFC_OPTIONS= |
specifies the string defined for SAPLOGON on 32-bit Windows.
specifies the SAP R/3 system number. This option is used for SAP R/3 when it is not configured for load balancing.
Aliases | SYS=, SYSTEM=, SYSNO= |
determines whether the SAP RFC library traces the RFC requests. The default directory location is read from the RFC_TRACE_DIR environment variable. The rfc library logs messages in the file dev_rfc in the same directory.
0 or N : RFC tracing is disabled
1 or Y : RFC tracing is enabled
Default | 0 |
specifies the SAP logon parameter for user. When using the SAP LIBNAME engine, either use the USER and PASSWORD options to specify logon credentials, or use the AUTHDOMAIN option to retrieve credentials from metadata. If single sign-on is used, this option is not needed. The SAP System performs a logon check at OPEN time.
Aliases | USR=, RFCUSER=, USERNAME=, USERID= |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.