SAP System Setup
Certain things in the SAP system must be set up for access to JCo. The first order of business is a valid username and password that the Java program needs to connect to SAP. The username has to have certain authentications in SAP. The authorization objects needed are S_RFC, ACTVT:16, and FUGR. Table 32.3 contains all the function groups needed, based on the SAP system release that's running.
Table 32.3. SAP Function Group Access Needed for JCo
3.1H and greater
RFC1, SG00, SRFC, SUNI, SYST
4.0A and greater
RFC1, SDIF, SG00, SRFC, SUNI, SYST, SYSU
4.6A and greater
RFC1, SDIF, SG00, SRFC, SYST, SYSU
4.6D and greater
RFC1, SDIFRUNTIME, SG00, SRFC, SUNI, SYST
If the preceding settings are unfamiliar to you, don't fret. An SAP basis administrator for your system will set up the system correctly if she has this information.