RFC_CONNOPT_CPIC 
This structure provides options for an SNA connection via the SAP gateway. The connection data must be specified at the SAP gateway. At the SAP gateway, 'destination' is used as key for the 'sideinfo' file.
Syntax
typedef struct {char * gateway_host;
char * gateway_service;
} RFC_CONNECT_CPIC;
This structure is defined in SAPRFC.H.
gateway_host
gateway hostname
gateway_service
gateway service (in general sapgw00)