The CALLRFC Procedure

Syntax

PROC CALLRFC <options>;
CALL <FUNCTION> 'function-name'
<EXPORTING parameter-1
| parameter-1.field-1 =value-1< … parameter-n=value-n>>

<IMPORTING parameter-1=SAS-dataset-name-1
< … parameter-n=SAS-dataset-name-n>>

<INTABLES table-parameter-1=SAS-dataset-name-1
<… table-parameter-n=SAS-dataset-name-n>>

<TABLES table-parameter-1=SAS-dataset-name-1
<… table-parameter-n=SAS-dataset-name-n>>

<CALLBACK <callback-parameter-1=SAS-dataset-name-1
<… table-parameter-n=SAS-dataset-name-n>>
>
</ default = SAS-library>;
DESCRIBE <FUNCTION> 'function-name' <SHORT>;

Table of Procedure Tasks

Statement Task Example
PROC CALLRFC Statement Specify connection and log on information for an SAP system, in preparation for calling a Remote Function Call or RFC-enabled module on the SAP system. Ex. 1, Ex. 2
CALL FUNCTION Statement Call an RFC on the RFC system. Ex. 1
DESCRIBE FUNCTION Statement Read metadata about an RFC and write the information to the SAS log or a SAS data set. Ex. 2