Show TOC

Background documentationRFC_CONNOPT_R3ONLY Locate this document in the navigation structure

 

This structure provides options for a connection to an SAP system.

Syntax Syntax

  1. typedef struct {
  2. 	char * hostname;
  3. 	int sysnr;
  4. 	char * gateway_host;
  5. 	char * gateway_service;
  6. } RFC_CONNOPT_R3ONLY;
End of the code.

This structure is defined in SAPRFC.H.

Members:
  • hostname

    host name of target system

    Host names can be regular host names defined in a 'hosts' file, an IP address like 123.123.123.123 or a saprouter address as /H/hostname/S/port/H/host/S/port/...

  • sysnr

    system number (0-99)

    This is the number by which the target system is identified. In general, this is 0.

  • gateway_host

    gateway hostname

    If the pointer is NULL, the gateway is assumed to run at 'hostname'.

  • gateway_service

    gateway service

    If the pointer is NULL, the service "sapgw##" with ## = 'sysnr' is assumed.