Post Installation Instructions For SAS ACCESS 9.4 Interface To R3
Post Installation Instructions For SAS ACCESS 9.4 Interface To R3
For a hard-copy book: No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the
prior written permission of the publisher, SAS Institute Inc.
For a Web download or e-book: Your use of this publication shall be governed by the terms established by
the vendor at the time you acquire this publication.
The scanning, uploading, and distribution of this book via the Internet or any other means without the
permission of the publisher is illegal and punishable by law. Please purchase only authorized electronic
editions and do not participate in or encourage electronic piracy of copyrighted materials. Your support of
others’ rights is appreciated.
U.S. Government Restricted Rights Notice: Use, duplication, or disclosure of this software and related
documentation by the U.S. government is subject to the Agreement with SAS Institute and the restrictions
set forth in FAR 52.227-19, Commercial Computer Software-Restricted Rights (June 1987).
SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513.
November 2017
SAS® Publishing provides a complete selection of books and electronic products to help customers use SAS
software to its fullest potential. For more information about our e-books, e-learning products, CDs, and
hard-copy books, visit the SAS Publishing Web site at support.sas.com/bookstore or call 1-800-727-3228.
SAS® and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of
SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Other brand and product names are registered trademarks or trademarks of their respective companies.
Table of Contents
Chapter 1 — Introduction ........................................................................................ 1
About This Document ..................................................................................... 1
How to Use This Book ..................................................................................... 1
Configurations of SAS/ACCESS Interface to R/3 Software ............................. 2
Components of SAS/ACCESS Interface to R/3 Software ................................................... 2
SAS Data Surveyor for SAP........................................................................................................................2
SAS/ACCESS Interface to R/3 Software – Client Application .....................................................................2
Data Dictionary Extract ...............................................................................................................................2
SAS Server - LIBNAME Engine and CALLRFC Procedure.........................................................................2
SAS RFC Server (only for SAS/ACCESS Interface to R/3 for z/OS) ..........................................................3
SAP System Application Server ..................................................................................................................3
Considerations when Migrating from an Earlier Version of SAS/ACCESS
Interface to R/3 Software .............................................................................. 3
Considerations when Upgrading to New SAP Releases ................................... 4
Related Publications ....................................................................................... 4
Chapter 2 — Pre-Installation ................................................................................... 5
Overview ........................................................................................................ 5
System Requirements .................................................................................... 5
Operating System ...................................................................................................... 5
SAS/ACCESS Interface to R/3 Software - SAS RFC Server ......................................................................5
SAS/ACCESS Interface to R/3 Software - Application ................................................................................5
SAS/ACCESS Interface to R/3 Software - RFC Libraries ...........................................................................5
SAS 9.4 .................................................................................................................... 6
SAS/ACCESS Interface to R/3 Software - SAS RFC Server ......................................................................6
SAS/ACCESS Interface to R/3 Software - Application ................................................................................6
Required SAS Products ..............................................................................................................................6
SAP System............................................................................................................... 6
Release .......................................................................................................................................................6
SAPGUI ......................................................................................................................................................6
User IDs ......................................................................................................................................................7
Connectivity ................................................................................................................................................7
Authorization Profiles ..................................................................................... 7
Chapter 3 — Installing SAS/ACCESS Interface to R/3 Software .......................... 9
Overview ........................................................................................................ 9
Post-Installation Setup .................................................................................. 9
Overview .................................................................................................................. 9
SAS Server................................................................................................................ 9
Step 1 - Install the NetWeaver RFC Libraries from SAP .............................................................................9
Step 2 - Set the Environment Variables ....................................................................................................10
Installing SAS/ACCESS Interface to R/3 Software Components ................... 10
Prerequisites ........................................................................................................... 10
SAPGUI ....................................................................................................................................................10
SAP Administrator ID ................................................................................................................................10
Step 1 - Install ABAP Programs and Function Modules.................................................... 11
Step 2 - Maintain RFC Destinations ............................................................................. 14
Step 3 – Maintain Table /SAS/DESTS for Destination Groups .......................................... 15
Step 4 – Activate BAdI Implementation for SAP BW/BI Authorization Checks .................... 16
17 November 2017
Chapter 4 — Installing SAS/ACCESS Interface to R/3 Software on z/OS .......... 17
Overview ...................................................................................................... 17
Post-Installation Setup ................................................................................ 17
Overview ................................................................................................................ 17
The RFC Server on UNIX System Services .................................................................... 18
Install the RFC Libraries from SAP ...........................................................................................................18
Install the RFC Server ...............................................................................................................................18
Set the Environment Variables ................................................................................... 18
The RFC Server on Windows ...................................................................................... 18
Install the RFC Libraries from SAP ...........................................................................................................18
Install the RFC Server ...............................................................................................................................19
The RFC Server on IBM AIX ....................................................................................... 20
Install the RFC Libraries from SAP ...........................................................................................................20
Install the RFC Server ...............................................................................................................................20
Set the Environment Variables..................................................................................................................20
Installing SAS/ACCESS Interface to R/3 Software Components ................... 21
Prerequisites ........................................................................................................... 21
Step 1 - Install ABAP Programs and Function Modules.................................................... 21
Step 2 - Maintain RFC Destinations ............................................................................. 21
Step 3 - Create Variants ............................................................................................ 22
Step 4 – Activate BAdI Implementation for SAP BW/BI Authorization Checks .................... 23
ii
Appendix E —Installing the ABAP Add-On ......................................................... 41
Uninstalling the ABAP Add-On ...................................................................... 42
Glossary ................................................................................................................. 43
iii
iv
Chapter 1 — Introduction
About This Document
This document covers the configuration of SAS/ACCESS Interface to R/3 for SAS 9.4, following the
initial installation of your SAS software.
“Appendix E —Installing the ABAP Add-On” describes the installation of the add-on for the
installation of the ABAP objects in the SAP System.
Page 1
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
SAP RFC is an acronym for the proprietary Remote Function Call protocol that is typically deployed
for communications among SAP systems.
SAS RFC Server (only for SAS/ACCESS Interface to R/3 for z/OS)
A SAS RFC Server was required in previous releases to enable communication between the
SAS/ACCESS Interface to R/3 and the SAP system. SAP RFC refers to the SAP protocol that enables
communications among SAP systems.
Starting in SAS 9.2, SAS/ACCESS Interface to R/3 began communicating directly with the SAP
system, removing the requirement for a SAS RFC Server.
However, a SAS RFC Server is needed for the libname engine on z/OS. The RFC Server does not
necessarily need to run on z/OS; SAS/ACCESS Interface to R/3 for z/OS includes RFC Servers for
z/OS, AIX, and Windows.
Typically, the SAS RFC Server is installed on a machine with one of the following installed:
• SAS Server
• SAP System Application Server
The SAS RFC Server can be installed on a machine that lacks SAS 9.4. The list of Windows operating
systems that support the SAS Unicode RFC Server is extensive; see the various system requirements
documents for Windows for x64 on Install Center
(http://support.sas.com/documentation/installcenter/) for information on the
supported versions of Windows. The SAS RFC Server and SAS Unicode RFC Server are available for
AIX, and UNIX System Services (USS) – Open Edition. The SAS Unicode RFC Server is used for
accessing SAP Unicode systems.
3
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
Related Publications
SAS/ACCESS 9.4 Interface to R/3: User's Guide
SAS 9.4 Intelligence Platform: Data Administration Guide.
4
Chapter 2 — Pre-Installation
Overview
This chapter outlines the prerequisites to install and run SAS/ACCESS Interface to R/3 software.
Some of these prerequisites require the involvement of other staff, such as the SAP system
administrator.
System Requirements
The installer requires operating system user IDs and passwords and SAP user IDs and passwords.
For a multi-machine installation, appropriate access to the network and all machines must be
included.
Operating System
Page 5
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
If the libname/PROC CALLRFC option CLASSIC is specified, the engine uses the classic RFC
libraries.
SAS 9.4
SAP System
Release
• SAP Kernel Release 4.6C or higher
• 64-bit SAP Unicode RFC library, Release 7.20 or higher
The SAS/ACCESS Interface to R/3 software for Windows and UNIX requires the 64-bit SAP Unicode
RFC library, Release 7.20 or higher, which is provided by SAP AG.
As of the end of maintenance for SAP Release 7.10 (March 31, 2016), SAP no longer supports the
classic RFC SDK or the classic RFC library. This end of maintenance also applies to SAP Releases 7.11
and 7.20. A transition to the SAP NetWeaver RFC Library should start immediately.
The SAP NetWeaver RFC Library supports all SAP NetWeaver and R/3 systems and supports
Unicode and non-Unicode. Refer to SAP note 1025361 for installation instructions, support
information, and details about the availability of the SAP NetWeaver Library.
For SAS/ACCESS Interface to R/3 for z/OS, the RFC Server can be installed on Windows, AIX or
UNIX System Services on z/OS. It requires one of the following:
• The 32-bit RFC library, Release 6.40, for z/OS
• The 64 bit RFC and/or Unicode RFC libraries, Release 7.10, for AIX
• The RFC and/or Unicode RFC libraries, Release 7.10, for the appropriate Windows Server
SAPGUI
During the installation of SAS/ACCESS Interface to R/3 software, a SAPGUI is required.
6
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
User IDs
SAP user IDs and passwords are required. The user IDs must have appropriate authorizations to
access data and use communication methods. See “Authorization Profiles” below for more
information about customizing the authorization.
To install and run SAS/ACCESS Interface to R/3 software, the following SAP user IDs are required:
• RFC user —A SAP user ID that is used for the communication link between the SAS RFC
Server and the SAP System Application Server. Typically, there are several RFC user IDs (one
per person).
• SAP System Administrator — A SAP System Administrator ID is required for the
installation of ABAP programs and function modules, for the configuration of destinations
and variant for batch operations, and for setting up authorizations for user IDs to use the
SAS/ACCESS Interface to R/3 software. This user ID is only used for the installation.
Connectivity
The SAS RFC Server and the SAP System Application Server usually use TCP/IP for communication.
Refer to the RFC documentation from SAP AG. The host of the SAP System Application Server must
be known by the host of the SAS RFC Server. Alternatively, you can use the IP address to identify the
SAP System Application Server. The TCP/IP services file must contain entries for the services, ports,
and protocols used for the communication.
The following is an example for entries in the services file:
sapdp00 3200/tcp
sapdp01 3201/tcp
...
sapdp99 3299/tcp
sapgw00 3300/tcp
sapgw01 3301/tcp
...
sapgw99 3399/tcp
sapsp00 3400/tcp
sapsp01 3401/tcp
...
sapsp99 3499/tcp
Note: If the SAPGUI is installed on the machine, the TCP/IP services file already contains these entries.
Authorization Profiles
To install and use SAS/ACCESS Interface to R/3 software, a user ID with certain authorizations is
required. An authorization has an authorization object. Several authorizations can be bundled
together into an authorization profile.
If the batch functionality of the SAS RFC Server is used, the RFC user ID needs to have authorization
to submit batch jobs already released.
7
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
The RFC user IDs require authorizations for the following authorization objects:
The existing authorizations, for example S_TABU_SHOW, can be used. The S_RFC and the
S_TABU_DIS authorizations are in authorization profile A_ANZEIGE.
8
Chapter 3 — Installing SAS/ACCESS Interface to R/3 Software
Overview
During the installation of SAS 9.4 Foundation, you should select to install SAS/ACCESS Interface to
R/3 software, along with other software you want to install. Refer to the installation instructions for
SAS 9.4 Foundation for your operating system for additional information.
Post-Installation Setup
Overview
This section describes post-installation configuration steps for SAS/ACCESS Interface to R/3 after the
software has been installed.
Note: The setup for the SAS/ACCESS Interface to R/3 for z/OS is different because it still uses the RFC
server for SAP data access. Refer to Chapter 4 for more information about setup for z/OS.
The following steps are required:
On the SAS Server:
1. Install the NetWeaver RFC libraries from SAP.
2. Set the environment variables.
On the SAP System:
1. Import the SAP transports into your SAP system.
2. Maintain RFC destinations.
3. Maintain table /SAS/DESTS for destination groups.
4. Activate BAdI implementation for SAP BW/BI authorization checks.
SAS Server
Page 9
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
AIX
Bourne Shell $ LIBPATH=rfclib_directory:$LIBPATH
$ export LIBPATH
C Shell $ setenv LIBPATH rfclib_directory:$LIBPATH
HP-UX
Bourne Shell $ LD_LIBRARY_PATH=rfclib_directory:$LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH
C Shell $ setenv LD_LIBRARY_PATH=rfclib_directory:$LD_LIBRARY_PATH
HP-UX for the Itanium Processor Family Architecture
Bourne Shell $ LD_LIBRARY_PATH=rfclib_directory:$LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH
C Shell $ setenv LD_LIBRARY_PATH=rfclib_directory:$LD_LIBRARY_PATH
Linux for Intel Architecture, Linux for x64, Solaris, and Solaris for x64
Bourne Shell $ LD_LIBRARY_PATH=rfclib_directory:$LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH
C Shell $ setenv LD_LIBRARY_PATH=rfclib_directory:$LD_LIBRARY_PATH
Prerequisites
SAPGUI
The installation of the components in SAS/ACCESS Interface to R/3 software requires SAPGUI
software to be installed on your PC or workstation.
Note: Although you are not required to install the SAPGUI on the machine where you are installing
SAS/ACCESS Interface to R/3, access to the SAPGUI is required during the installation. Because the
usage of the SAPGUI complements SAP functionality, SAS recommends installing the SAPGUI on
the same machine.
SAP Administrator ID
A valid SAP user ID and password are required. The user must have permission to transport files and
perform RFC destination maintenance. We strongly recommend seeking assistance from your SAP
System Administrator to perform these tasks.
10
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
SAPKA93021INSAS Supports set/hierarchy extraction from Only SAP R/3 and SAP ECC systems
SAP R/3 systems
SAPKB92020INSAS Supports metadata extraction for the Only SAP BW systems
Data Surveyor for SAP (BW source
designer) BW software
SAPKA93022INSAS Utility routines for the CALLRFC All SAP systems
procedure
SAPKH93020INSAS Supports HR cluster table extraction SAP R/3 and SAP ECC systems; not
for SAP BW systems
To import the transport files to your SAP systems, follow the instructions below. These instructions
are based on the usage of the tp program (a utility for transport between SAP systems) on the
operating system level.
Note: Replace !SASROOT in these instructions with the actual directory path where SAS was installed.
1. Log in as SAP System Administrator to the SAP application server.
2. Move the transport files from the SAS location into the appropriate directories on your SAP
systems.
For SAP application servers on Windows
Copy the r3trans.exe file located in !SASROOT\access\sasmisc (the SAS installation
on Windows), in !SASROOT/misc/dbi (the SAS installation on UNIX) or
/usr/lpp/SAS/SAS_9.4/USER.PRE.FIX/dbi (on z/OS UNIX File System) to your SAP
application server and extract the self-extracting .exe file into the transport directory (for
example, <drive>:\usr\sap\trans). The files for all transports are added to the cofiles
and data subdirectory.
For SAP application servers on UNIX
Copy the r3trans.tar file located in !SASROOT\access\sasmisc (the SAS installation
on Windows) or in !SASROOT/misc/dbi (the SAS installation on UNIX) or
/usr/lpp/SAS/SAS_9.4/USER.PRE.FIX/dbi (on z/OS UNIX File System) to your SAP
application server and extract the files into the transport directory (for example,
/usr/sap/trans).
Assuming that the tar file is downloaded to the user's HOME directory, follow these
procedures to extract the files into the cofiles and data subdirectory in /usr/sap/trans.
$ cd /usr/sap/trans
12
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
parameter to the tp command. In addition, the TP option tp_version= must be set to at least 264 to
allow the long names.
Note: The U2 option allows the originals to be overwritten if the user has previously installed these
ABAP objects.
Note: The transports contain only client-independent ABAP objects. The tp import can therefore use
any existing client that is correctly set up for imports. Verify that the ABAP program
RDDIMPDP is correctly scheduled in the client you use for the import.
Note: If the transport files are imported into a Unicode SAP system, use the transport profile parameter
“setunicodeflag=true” to force setting the Unicode flags in the imported programs. Refer to SAP
Note 330267 for details. The “setunicodeflag=true” is not necessary if you are using the
transports for SAP NetWeaver 7.0-based systems and higher. Those transports have been created
with the Unicode flag.
Considering these notes, the tp commands might require additional parameters. Replace
<sid> with the system ID for the SAP system.
Important: The tp commands listed on several lines in the following examples should be entered on a
single command line. Be sure to include a space before adding the text from each of the
following lines.
For SAP Releases prior to SAP NetWeaver 7.0 (Kernel 6.40 or lower), non-Unicode SAP Server, on
Windows
tp addtobuffer SAPKA93120INSAS <sid> pf=\usr\sap\trans\bin\TP_DOMAIN_<sid>.PFL
–D”nbufform=true” –D”tp_version=264”
tp import SAPKA93020INSAS <sid> pf=\usr\sap\trans\bin\TP_DOMAIN_<sid>.PFL
–D”nbufform=true” –D”tp_version=264”
For SAP Releases prior to SAP NetWeaver 7.0 (Kernel 6.40 or lower), non-Unicode SAP Server, on
UNIX
$ tp addtobuffer SAPKA93120INSAS <sid>
pf=/usr/sap/trans/bin/TP_DOMAIN_<sid>.PFL
–D”nbufform=true” –D”tp_version=264”
$ tp import SAPKA93120INSAS <sid> pf=/usr/sap/trans/bin/TP_DOMAIN_<sid>.PFL
–D”nbufform=true” –D”tp_version=264”
For SAP Releases prior to SAP NetWeaver 7.0 (Kernel 6.40 or lower), Unicode SAP Server, on
Windows
tp addtobuffer SAPKA93120INSAS <sid> pf=\usr\sap\trans\bin\TP_DOMAIN_<sid>.PFL
–D”nbufform=true” –D”tp_version=264” –D”setunicodeflag=true”
tp import SAPKA93120INSAS <sid> pf=\usr\sap\trans\bin\TP_DOMAIN_<sid>.PFL
–D”nbufform=true” –D”tp_version=264” –D”setunicodeflag=true”
13
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
For SAP Releases prior to SAP NetWeaver 7.0 (Kernel 6.40 or lower), Unicode SAP Server, on UNIX
$ tp addtobuffer SAPKA93120INSAS <sid>
pf=/usr/sap/trans/bin/TP_DOMAIN_<sid>.PFL
–D”nbufform=true” –D”tp_version=264” –D”setunicodeflag=true”
$ tp import SAPKA93120INSAS <sid> pf=/usr/sap/trans/bin/TP_DOMAIN_<sid>.PFL
–D”nbufform=true” –D”tp_version=264” –D”setunicodeflag=true”
For SAP NetWeaver 7.0 based systems and higher, Unicode SAP Server, on Windows
tp addtobuffer SAPKA93130INSAS <sid> pf=\usr\sap\trans\bin\TP_DOMAIN_<sid>.PFL
–D”nbufform=true”
tp import SAPKA93130INSAS <sid> pf=\usr\sap\trans\bin\TP_DOMAIN_<sid>.PFL
For SAP NetWeaver 7.0 based systems and higher, Unicode SAP Server, on UNIX
$ tp addtobuffer SAPKA93130INSAS <sid>
pf=/usr/sap/trans/bin/TP_DOMAIN_<sid>.PFL
–D”nbufform=true”
$ tp import SAPKA93130INSAS <sid> pf=/usr/sap/trans/bin/TP_DOMAIN_<sid>.PFL
–D”nbufform=true”
Check the exit code. If you receive an error of 8 or higher, the import failed. You must resolve
the problem and re-import the transport. Check the transport logs for more information.
5. Repeat Step 4 for each of the transports that are applicable to your SAP installation.
14
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
16
Chapter 4 — Installing SAS/ACCESS Interface to R/3 Software
on z/OS
Overview
During the installation of SAS 9.4 Foundation, select to install SAS/ACCESS Interface to R/3 along
with the other software that you want to install. Refer to the installation instructions for SAS 9.4
Foundation for your operating system for more information.
SAS/ACCESS Interface to R/3 for z/OS uses the SAS RFC server for communications between the SAS
system and the SAP server. Some steps to configure the RFC server and the RFC destinations and
variants used for the RFC server are different from the setup that is described in Chapter 3. These
steps are required to enable communication between the SAS Server and the SAP system. Some steps
are the same for both. This document refers to Chapter 3 for those steps.
SAS/ACCESS Interface to R/3 for z/OS includes the SAS RFC server for Windows, AIX, and z/OS. The
RFC server can run on the SAS server, or on the SAP server, or on another server in your system.
Decide where to install the SAS RFC server and follow the instructions for the selected configuration.
Post-Installation Setup
Overview
This section describes the post-installation setup for the SAS/ACCESS Interface to R/3 on z/OS after
the software has been installed.
The following steps are required:
On the RFC Server:
1. Install the RFC libraries from SAP.
2. Install the RFC server.
3. Set the environment variables.
On the SAP Server:
1. Import the SAP transports into your SAP system.
2. Maintain RFC destinations.
3. Create variants.
4. Activate BAdI implementation for SAP BW/BI authorization checks.
Page 17
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
18
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
The recommended way to install the RFC library is to install the SAP GUI or the RFC Software
Development Kit (RFC SDK) from SAP AG.
19
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
AIX
Bourne $ LIBPATH=rfclib_directory:$LIBPATH
Shell
$ export LIBPATH
$ PATH=/usr/local/sas/sasrfc:$PATH
$ export PATH
C Shell $ setenv LIBPATH rfclib_directory:$LIBPATH
$ setenv PATH /usr/local/sas/sasrfc:$PATH
20
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
Prerequisites
Refer to Chapter 3-- Installing SAS/ACCESS Interface to R/3 Software for more information about
prerequisites.
21
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
10. For Unicode SAP systems, select the Unicode on the MDMP & Unicode tab or the Special
Options tab. Ignore the message about performing the Unicode test. The Unicode test cannot
be performed with the destinations created for SAS.
11. Save the destination.
12. Repeat the steps for each of the new RFC destinations.
22
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
Server2:
sasrfc_server –p 6999 –V ZVARIANT2 –d 1
For a complete description of the SAS RFC Server command, see "Using the SAS RFC Server" in
SAS/ACCESS 9.4 Interface to R/3: User's Guide.
23
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
24
Chapter 5 – Data Dictionary Extract
The Data Dictionary Extract
Note: If you are using the SAS Data Surveyor for SAP as the front end to manage the SAP data access, use
the SAS Management Console for the data dictionary extract.
SAS/ACCESS Interface to R/3 software uses a copy of metadata from the SAP system for navigation
and to generate the program to read SAP data. Extracting the necessary metadata from the SAP data
dictionary is part of the installation process.
Before you start the dictionary extract process, the SAS RFC Server must be installed and the SAP
system must be configured for SAS/ACCESS Interface to R/3 software.
If the SAP systems, such as Development and Production, are at the same level/version/release,
extract only the data dictionary from the SAP Development system. However, if the
level/version/release of other systems are different from that of the Development system, extract the
data dictionary for each different system. This step is necessary because metadata is different for each
level/version/release of the SAP system.
If new SAP system structures are added or existing ones are changed, extract the metadata again to
reflect those changes.
Parameter Comment
Connection ID SAS internal connection identifier (7 characters, SAS name); default: CONN1
TCP/IP host Name of the SAS RFC Server host; default: localhost
Page 25
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
Parameter Comment
TCP/IP port Port number for SAS RFC Server; Default: 6999
Mandatory SAP client. Client is always three characters and includes leading zeros, for
Client (RFC)
example 040.
Name of the RFC destination as defined in a sideinfo file. If a sideinfo file is used, specify
Destination (RFC) the RFC destination and leave the RFC host field blank. Either the RFC destination or the
RFC host must be specified, but not both.
Hostname of the SAP target system. Specify the host name in this field only if no sideinfo
Host (RFC)
file is used. Either the RFC destination or the RFC host must be specified, but not both.
The gateway service of the intermediate gateway of the form sapgwnn, where nn is the
Gateway service
system number; default: sapgw00
Note: Two SAP systems, such as Development and Production, can run on one machine. If no sideinfo file is
available, set the system number (SYS) and gateway service (GWSERV) fields in the connection
parameters to access the correct SAP system.
Note: The sideinfo file contains side information for the SAS RFC Server to communicate with the SAP
System Application Server (ABAP function module). For example:
DEST=mydest
LU=host1
TP=sapdp00
GWHOST=host1
GWSERV=sapgw00
PROTOCOL=I
26
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
27
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
28
Chapter 6 — Start SAS/ACCESS Interface to R/3 Software
To start SAS/ACCESS Interface to R/3 software from SAS 9.4, enter %r3access on the SAS
command line.
Functionality
If no connection to the SAP system is available, most of the functionality of SAS/ACCESS Interface to
R/3 software, like navigating the data model, creating SAS Views to SAP tables, and exporting
metadata, is unaffected.
However, data extraction requires the SAS RFC Server to be running. If the SAS RFC Server is not
running, a return code is generated. For more information, see “Step 1 - Start the SAS RFC Server.”
For a complete description of the SAS RFC Server command, see "Using the SAS RFC Server" in
SAS/ACCESS 9.4 Interface to R/3: User's Guide.
Page 29
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
30
Appendix A — Selected SAP Transaction Codes
Below is a list of transaction codes that might be useful during installation.
Enter the transaction code in the SAPGUI command line preceded by /n (a slash followed by the
letter n). For example, to call the ABAP editor, enter/nse38.
Note: Commands are not case-sensitive.
Authorizations, Profiles, and Users
SU01 Maintain Users
SU02 Maintain Profiles
SU03 Maintain Authorizations
Job Maintenance
SM37 Can be used to display the job status.
System Log
ST22 ABAP dump analysis
SM21 System log
RFC Destinations
SM59 Display and maintain RFC destinations
Page 31
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
32
Appendix B — Error Messages
All Operating Systems
Page 33
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
34
Appendix C — Pre-Installation Checklist
Before installing SAS/ACCESS Interface to R/3 software, the following information must be available.
Documenting the information identified in Appendix C and Appendix D significantly simplifies
installation and on-going maintenance.
The checklist is broken down into sections A, B, and C. Section A is general information and can be
provided by the SAS Account Representative. Section B should be completed by the person
maintaining the SAS environment. Section C should be completed by the person maintaining the SAP
environment.
Section B clarifies where SAS/ACCESS Interface to R/3 software is to be installed and where the
extracted SAP metadata is to reside. Section C clarifies which SAP systems you want to access.
Page 35
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
36
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
General Information
Name of SAP Administrator (available to help with installation):
Phone Number:
E-mail:
Name of SAP System Developer (available to help with installation):
Phone Number:
E-mail:
SAPUser ID:
Client:
User ID:
Password:
37
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
UNIX location of the thread safe shared library for RFC (download the shared library for your platform per
instructions in SAP Note 413708):
TCP/IP Port Number (default 6999):
TCP/IP hosts File Entry for SAP System Application Server (for example, 1.2.3.4 r3server):
TCP/IP services File Entries (for example, sapdp00 3200/tcp):
SAP System
This is information about the SAP system from which you want to pull data. Complete one of these
tables for each SAP system you want to access.
SAP System Application Server Host Name:
IP Address:
SAP System Release (for example, 4.6c):
System ID (for example, A01):
Is the sideinfo file used for communication parameters? Yes
If yes, full path and name of sideinfo file:
RFC Dialog User ID:
Client:
User ID:
Password:
System Number (SYS) (for example, 00):
Language (for example, EN for English):
Gateway Host (if different):
Gateway Service (for example, sapgw00):
Transaction Program (for example, sapdp00):
SAPGUI
Host Name where SAPGUI is installed:
If UNIX, does it have X Windows? Yes?
38
Appendix D — Installation Checklist
During installation, make a note of the following information.
Location of Data Dictionary Extract(s) (for example, c:\Program Files\SAS\SAS 9.4):
Page 39
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
40
Appendix E —Installing the ABAP Add-On
SAS provides an add-on for the installation of the ABAP objects in the SAP System for SAP Basis
Release 740, SAP ERP 6.0, and SAP BW 7.4.
Technical Prerequisites:
• The system is based on SAP NetWeaver Release 7.4 or above.
• You have installed at least SPAM/SAINT Version 0053.
• You use a kernel with at least Release 740.
The following table describes the contents of the Add-On:
SAS940.SAR installation package for SAS/ACCESS Interface to R/3
SAS940S1.SAR support package for SAS/ACCESS Interface to R/3 for SAP ERP
SAS940S2.SAR support package for SAS/ACCESS Interface to R/3 for SAP BW
Note: The add-on is available for SAP BASIS 7.4, SAP ERP 6.0, and SAP BW 7.4. Installing the add-on is
an alternative to installing the ABAP objects by using the transport files as described in “Chapter 3 —
Installing SAS/ACCESS Interface to R/3 Software.” You should either install the add-on or you
should apply the SAS-provided transport files, but not both.
Use the SAP Add-On Installation Tool (transaction SAINT) to import the objects for the SAS/ACCESS
Interface to R/3 into the SAP System.
1. Log in to client 000 of the SAP system with an administrator account.
2. Call the Add-On Installation Tool with transaction SAINT.
3. Choose Installation Package→Load packages→From front end from the menu. The system
displays a dialog box for selecting the archive. Follow the path
“!SASROOT\access\sasmisc” for the SAS installation on Windows, OR
“!SASROOT/misc/dbi” for the SAS installation on UNIX, to the SAS940.SAR file for the
installation package and select it.
4. To copy the archive to the application server and decompress it, select Decompress. Then
select Start. The SAS/ACCESS to R/3 add-on is now listed in the Add-On Installation Tool as
an installable add-on.
5. To prepare the installation queue for the add-on, select the SAS add-on, and choose
Continue.
A. If all import requirements are met, the installation queue is displayed.
B. If all of the import requirements are not met, you cannot install the add-on in this SAP
system. The import requirements are listed. As an alternative you can install the
transport files as described in “Chapter 3 — Installing SAS/ACCESS Interface to R/3
Software.”
6. To start the installation, click the Continue button.
7. Click Finish to complete the installation.
Page 41
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
After you have installed the add-on, use the following steps to install the SAS940S1.SAR or the
SAS940S2.SAR support packages:
1. Log in to client 000 of the SAP system with an administrator account.
2. Call the Support Package Manager tool with transaction SPAM.
3. Choose Support Package→Load packages→From front end from the menu. The system
displays a dialog box for selecting the archive. Follow the path
“!SASROOT\access\sasmisc” for the SAS installation on Windows OR
“!SASROOT/misc/dbi” for the SAS installation on UNIX” to the SAS940S1.SAR or the
SAS940S2.SAR file and select it.
4. To copy the archive to the application server and decompress it, select Decompress. Then
select Display/define and click on SAS.
5. Highlight the Support Package and press Enter.
6. To start the installation, click on the Import Queue icon.
7. When the installation finishes, select the menu item Support Package | Confirm.
42
Glossary
ABAP Development User
An ABAP Development User is a SAP user ID with ABAP developer permission. It is used to
create the ABAP function group, the function module, and the report that are part of
SAS/ACCESS Interface to R/3 software. For SAP, Release 3.0 and higher, a developer user also
requires an OSS Access Key. A development user ID is only required while installing
SAS/ACCESS Interface to R/3 software.
Authorization
The SAP system has a powerful tool to restrict or grant permission to access certain objects in the
SAP system or to perform certain actions. SAS/ACCESS Interface to R/3 software requires the
permission to read tables and the permission for communication.
Client
In commercial, organizational, and technical terms, a client is a self-contained unit in an SAP
system (for example, a company group, a business unit, or a corporation) with separate master
records and its own set of tables.
Data Dictionary Extract
SAS/ACCESS Interface to R/3 software provides a navigation tool based on metadata from the
SAP Data Dictionary. The tool operates on a copy of the metadata - the Data Dictionary Extract.
OSS Access Key
An OSS Access Key is a string of characters that ABAP developers must enter the first time they
create or modify ABAP objects like programs, function modules, and function groups. You can
obtain an OSS Access Key from SAP AG's Online Service System (OSS).
RFC
The Remote Function Call (RFC) interface is SAP AG's implementation of a remote procedure
call. It is provided for the integration of R/2 and R/3 systems and external programs.
SAS/ACCESS Interface to R/3 software uses the RFC interface for communication and data
transfer between the SAP system and the SAS RFC Server.
RFC Destination
RFC destinations are used to define the location of a remote system to SAP.
RFC SDK
The RFC Software Development Kit (RFC SDK) contains a library and source files to implement
the communication between an external program and a function module in the SAP system.
RFC User
References to a RFC user indicate a SAP user ID that is used by SAS/ACCESS Interface to R/3
software for the communication between the SAS RFC Server and the function module in the
SAP System Application Server.
Page 43
Post-Installation Instructions for SAS/ACCESS 9.4 Interface to R/3
44
support.sas.com
SAS is the world leader in providing software and
services that enable customers to transform data from
all areas of their business into intelligence. SAS
solutions help organizations make better, more
informed decisions and maximize customer, supplier,
and organizational relationships. For more than 30
years, SAS has been giving customers around the
world The Power to Know®. Visit us at www.sas.com.