Version 2.3.1.18
 —  SAP R/3 Gateway Documentation  —

Configuration of System Manager

There are several pages available to help you to configure the SAP R/3 Gateway web application.


System-wide Parameters

The global system-wide configuration parameters are described on the page System Constants.

Top of page

Access Control List

The access control list can control each request for a user. The following screen snapshot shows the default configuration.

graphics/smACL.png

How is the default access control list read? Each request has a caller. This caller is searched for in the user list. If this caller is not found, anonymous is used. Each user (anonymous) has a role with several resources (anyone). The accessed resource of the request is checked in the request list of the assigned role. anyone is a placeholder for all resources.

Each request is logged in debug mode. The System Log displays

graphics/smACLlog.png

A user request is identified is by user ID and/or IP/DNS address. You will see the user ID only if this web application is configured with security. Use the Setup Wizard on the Help menu to switch on security. If you want to identify the requests by IP/DNS address, use the following naming convention: IP-#1-#2#-3-#4. #1 up to #4 are decimal numbers of the IP address. All dot characters are replaced with a hyphen. Examples: IP-127-0-0-1 , IP-pcFrankfurt-de or IP-localhost.

By default, there is a role DeveloperRf2Rpc and DeveloperRpc2Rfc assigns this role to a user. This user can only perform development steps. The following little workshop explains how to create a guest role for users.

  1. Create and save a role Guest

    graphics/smACLRole.png

  2. Press new Guest link in role list.

  3. Press Add Resource in empty resource list

    graphics/smACLResource.png

  4. Press Save to add anyone with read access.

  5. To exclude (disallow) the access to the configuration data for guest user, add with exclude option the resource view.xml*.

  6. Create guest user.

  7. Assign role Guest for user guest.

    graphics/smACLRoleAssign.png

  8. To test and authenticate a user, you must add the created user ID with password to the web server administration, for example Tomcat Administration (http://YourGateway:8080/admin).

It is possible to assign multiple roles to a user. A role can have multiple resources. To identify the correct resource, you should make the request and look in the System Log with debug. The requested resource will be printed out.

graphics/smACLlog.png

Remember this resource string and assign it to the role. You can use the last dialog to copy and paste the resource name directly.

graphics/smACLResource.png

Caution:
During the development of an access control list, you should not change your own role. If you delete your own rights to change the access control list, you will no longer be able to work. The delete or modify steps become effective immediately. Refer to History of Configuration for information on how to undo them.

Tip:
If you work with anyone resource, you can exclude explicit resources with the exclude option.

Tip:
The wildcard character * is supported if you do not want to assign each resource. For example: The resource string view.a* allows access to all pages starting with character a.

Tip:
Create your own administrator user ID with all rights as a fallback, before you make any changes to your own rights.

Top of page

Development

The development page can be configured by choosing Development from the Configuration menu (http://YourGateway:8080/sapr3gateway/manager/devAdmin).

graphics/smDevAdmin.png

Each development environment allows you to define the directory where the IDL file and the makefile reside. We recommend creating a new development environment using the Environment Wizard, if you want to organize one IDL file for each project or organization department.

For fast access to development environments, the Create Menu Items for each Development Environment command extends the toolbar.

graphics/smMenuDev.png

Development shows all environments. The submenu items only show the selected environment. To modify the toolbar, call Menu Administration (http://YourGateway:8080/sapr3gateway/manager/menuAdmin).

During the creation of a development environment you will be asked for a development type. The kind of parameters which can be defined depends on the development type. After the creation of a development environment you can define the following parameters

Parameter Development Type Description
Description all Title of development environment.
Directory all Directory in file system.
IDL file all Filename if the IDL file.
IDL Library all The library name which is defined in the IDL library statement in the IDL file.
IDL Backup Template all Template to create the history file on saving an IDL file.
Make Command all Executable command in directory to perfom the compilation process.
Make startup script all Filename of the executable command.
Makefile all Filename of main makefile.
Include Makefile all Filename of the included makefile of the main makefile.
COBOL Makefile all Filename of makefiles which are only statements for COBOL source code generating.
XML RPC Makefile Rpc2Rfc Filename of makefiles which are only statements for .XMM mapping generating.
Show global IDL Generation Dialog Rpc2Rfc Value false suppresses the old IDL generation dialog. It prefers to use the new IDL Editor.
IDL Asynchronous File Rfc2Rpc IDL filename.
IDL Asynchronous Library Rfc2Rpc The library name which is defined in the IDL library statement in the IDL file.
IDL Asynchronous Backup Template Rfc2Rpc Template to create the history file on saving an IDL file.
Make Result (Running Task Command): Rfc2Rpc The result executable filename.
Add link all Add new link with URL and title to the development page for download or navigation about generated source code.

Top of page

Frameset

A frameset can help you to handle multiple installations of the SAP R/3 Gateway web application in one browser window. There is an example in the section Frameset under the heading Optimization Tools. This menu allows you to define the number, sequence and URLs of a frameset.

graphics/smToolFramesetConfig.png

Top of page

JVM Properties

It is possible to set the Java Virtual Machine properties with the JVM Properties dialog from the Configuration menu. One main task of this feature is to set the IP-address (or DNS name) of an SMTP server for sending mails. The following example sets the mail.smtp.host to mailhost.

graphics/smConfigJVMProperties.png

The properties are saved in the configuration file. When the System Manager is restarted, all properties will also be set. Before you create a new property, you should check whether it already exists. The List Property link lists all active JVM properties.

After making changes, you must activate them with Activate settings.

Top of page

Upload and Setup

This feature allows you to transport one single file or one ZIP file from your desktop to the SAP R/3 Gateway web application. The Upload page on the Configuration menu (http://YourGateway:8080/sapr3gateway/setup/upload) allows you to select a file on your desktop.

graphics/smConfigUpload.png

The upload handles two kinds of file depending on the file extension:

You can select between two uploads:

When the command has been finished, the page displays the result of the upload. If you select the Backup option, the created backup ZIP file name is displayed. This created ZIP file can be used for undoing an upload. The version information in META-INF/MANIFEST.MF is saved too. This means you have the version information in the created ZIP file and on undoing, the version information is restored.

To support multiple environments created by Clone Environment Wizard, the upload wizard asks the System Manager for configuration information. The URL of System Manager can be set to http://YourGateway:8080/sapr3gateway/setup/SystemConstancy. Set the value of System Manager URL (SM_URL) to http://localhost:8080/sapr3gateway/manager.

Top of page

Clone Environment Wizard

This wizard provides support for step-by-step duplication of an existing environment.

If you wish to develop the IDL of Rpc2Rfc or Rfc2Rpc kernels in several departments or for different projects, we recommend cloning the current development, deployment and Running Task environments to a new one. It will then be possible to work with two or more IDLs and to have these executables running in parallel. The main advantage to this configuration is that the IDLs can be transferred to the production environment separately and independently. To provide support for multiple IDLs using this wizard, follow these main steps.

  1. Copy the file system root directory of the selected kernel to a new one.

  2. Add development, running task and deployment configurations to the System Manager.

  3. Add a role for the access control list.

To install this wizard as a menu item, call the following URI http://YourGateway:8080/sapr3gateway/manager/cloneEnvironment. The first request creates the menu item, after the second request you will see the menu item Clone Environment in the Tools menu.

Top of page