The rfcconnect command specifies connection strings for one or more SAP application servers. This command is usually found in the guixt.sjs configuration file and is used to send a connection string specifying the SAP ERP system to which the RFC user will connect. The syntax for a typical rfcconnect single entry will look as shown in the following example:
rfcconnect="IFDATABASE=XXX,LANG=E,CLIENT=xxx,ASHOST=SAP_system,SYSNR=00,LCHECK=0,USE_SAP GUI=0,USER=rfc_user, PASSWD=rfc_password";
The rfcconnect comand, along with the associated rfcuser and rfcpassword, is used to make remote calls between two SAP systems or between a SAP system and a non_SAP system, such as a GuiXT Server. In order to log onto the SAP system, the RFC neds a user name and password. The password can be either encrypted or in plain text. Synactive recommends that you create a new RFC user in SAP, and give that user the approriate rights. The GuiXT functionality that requires RFc is as follows.
Calling scripts from the SAP Web Repository (SAPWR)
The table below contains the GuiXT actions that require RFC. In addition, the table contains the following information for each action:
| Action | Client | Function | RFC Permissions |
|---|---|---|---|
| Read Script For Transaction Variants | OOO | RS_HDSYS_GET_ GUIXT_SCRIPT |
S_RFC:
RFC_TYPE=FUGR, RFC_NAME=SURL, ACTVT=16 |
| Read SAPWR Objects | 000 | WWW_DISPATCH_ REQUEST |
S_RFC:
RFC_TYPE=FUGR, RFC_NAME=SURL, ACTVT=16 |
| Use Call Statement in Script |
Value specified in script. |
Value specified in script. |
S_RFC:
RFC_TYPE=FUGR, RFC_NAME=xxxx, ACTVT=16 Note: The value 'xxxx' is the function group of the function you are calling.
|
|
Role-based access restriction |
BAPI_USER_GET DETAIL |
See examples for custom functions and sample code. |
S_RFC:
RFC_TYPE=FUGR, RFC_NAME=xxxx, ACTVT=16 S_USER_GRPCLASS=SUPER, ACTVT=90 S_USER_SYSCLASS=SUPER, ACTVT=90 (if using central user adminstration) |
| Profile-based access restriction |
BAPI_USER_GET DETAIL |
See examples for custom functions and sample code. |
S_RFC:
RFC_TYPE=FUGR, RFC_NAME=xxxx, ACTVT=16 S_USER_GRPCLASS=SUPER, ACTVT=90 S_USER_SYSCLASS=SUPER, ACTVT=90 (if using central user adminstration) |
| Reading images from 'SAPDB...' | 000 | RS_HDSYS_GET_ GUIXT_IMAGE |
S_RFC:
RFC_TYPE=FUGR, RFC_NAME=xxxx, ACTVT=16 Note: Value 'xxxx' is defined in the script.
|
| Reading images from 'SAPIM'... | 000 | RS_HDSYS_GET_ BDS_IMAGE |
S_RFC:
RFC_TYPE=FUGR, RFC_NAME=RSIMG, ACTVT=16 S_BDS_DS:CLASSNAME=cccc, CLASSTYP=OT, ACTVT=30 Note: Value 'cccc' is the class name of the BDS image file.
|