Creating resource bundle files for localization of SAP infotype field labels 
|
|
ShowTable of Contents Section 1. Introduction
This document outlines the instructions on using the attached java application to create resource bundles for specific Sap Infotypes. These resource bundles can in turn be used by WebSphere Portlet Factory to localize Sap Infotype labels.
Prerequisites
To complete this tutorial, the reader should have the following environment available:
- A supported SAP system that has been configured for use with Lotus Workforce Management 6.1
- A valid Sap user id and password plus connection details to that Sap system
- The SAP Java Connector library installed and configured
- The user should also be familiar with the concept of Sap Infotypes
Section 2. Instructions on using the tool
- Download and extract InfotypePropertyApp.zip
- The contents will be extracted to a folder called infotype_properties.
- Inside the folder, open the config.properties file. Here is where you will set the connection settings to your sap server and other project specific settings.
host=< sap server host ip address>
user=< sap server user id >
password=< sap server user password>
client=< sap server client number>
language=< sap server logon language
system=< sap server system number>
- Save your changes
- Open the infotypes.txt file. Here you add the number of each infotype that you want to create a properties file for. Infotypes consist of four digits (). Put each infotype number on a separate line. For example, the address infotype is 0006
- Save the file
- Now you need to change your classpath to point to the directory where you have the SapJco installed
- Open the com.lwm.infotypeProperties.jar. Inside the META-INF folder you need to edit the Class-path setting in the MANIFEST.MF file. For example if the sapjco.jar is installed in C:\sap_jco_2_1_8\sapjco.jar, the classpath entry would look like this:
For Windows
Class-path: \sap_jco_2_1_8\sapjco.jar
For linux
Class-path: /opt/sapjco/sapjco.jar
- Save the changes to the jar file
- For windows execute the run.bat. If you are using linux execute the run.sh
- You should now see the properties files for each infotype created inside the folder called PropertyFiles
|
|
|
|
| Version 2 |
July 6, 2010 |
6:16:11 AM |
by Don Naro  |
|
|