sap business one integration toolkit for mysap business suite -1.5 administration guide

Upload: ritu-mane

Post on 14-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    1/33

    Administration Guide

    SAP Business OneIntegration Toolkitfor mySAP BusinessSuite - 1.5Document Version 1.50 May 15, 2003

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    2/33

    Copyright 2003 SAP AG. All rights reserved.

    No part of this publication may be reproduced or transmitted in any

    form or for any purpose without the express permission of SAP AG.

    The information contained herein may be changed without prior

    notice.

    Some software products marketed by SAP AG and its distributors

    contain proprietary software components of other software vendors.

    Microsoft, WINDOWS, NT, EXCEL, Word, PowerPoint

    and SQL Server are registered trademarks of Microsoft Corporation.

    IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex,

    MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries,

    pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere,

    Netfinity, Tivoli, Informix and Informix Dynamic ServerTM are

    trademarks of IBM Corporation in USA and/or other countries.

    ORACLE is a registered trademark of ORACLE Corporation.

    UNIX, X/Open, OSF/1, and Motif are registered trademarks of

    the Open Group.

    Citrix, the Citrix logo, ICA, Program Neighborhood,

    MetaFrame, WinFrame, VideoFrame, MultiWin and other

    Citrix product names referenced herein are trademarks of Citrix

    Systems, Inc.

    HTML, DHTML, XML, XHTML are trademarks or registered

    trademarks of W3C, World Wide Web Consortium, Massachusetts

    Institute of Technology.

    JAVA is a registered trademark of Sun Microsystems, Inc.

    JAVASCRIPT is a registered trademark of Sun Microsystems, Inc.,

    used under license for technology invented and implemented by

    Netscape.

    MarketSet and Enterprise Buyer are jointly owned trademarks of SAP

    AG and Commerce One.

    SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com, and other SAP

    products and services mentioned herein as well as their respective

    logos are trademarks or registered trademarks of SAP AG in Germany

    and in several other countries all over the world. All other product and

    service names mentioned are the trademarks of their respective

    companies.

    Disclaimer

    Some components of this product are based on Java. Any code

    change in these components may cause unpredictable and severe

    malfunctions and is therefore expressively prohibited, as is any

    decompilation of these components.

    Any Java Source Code delivered with this product is only to be used

    by SAPs Support Services and may not be modified or altered in any

    way.

    SAP AGNeurottstrae 16

    69190 Walldorf

    Germany

    T +49/18 05/34 34 24

    F +49/18 05/34 34 20

    www.sap.com

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    3/33

    Typographic Conventions

    Type Style Represents

    Example Text Words or characters that appearon the screen. These includefield names, screen titles, andpushbuttons, as well as menunames, paths, and options.

    Cross-references to other

    documentation

    Example text Emphasized words or phrases inbody text, titles of graphics, andtables

    EXAMPLE TEXT Names of elements in thesystem. These include reportnames, program names,transaction codes, table names,and individual key words of aprogramming language, whensurrounded by body text, forexample, SELECT and

    INCLUDE.

    Example text Screen output. This includes fileand directory names and theirpaths, messages, names ofvariables and parameters,source code, as well as namesof installation, upgrade, anddatabase tools.

    Example text Exact user entry. These arewords or characters that youenter in the system exactly asthey appear in thedocumentation.

    Variable user entry. Pointedbrackets indicate that youreplace these words andcharacters with appropriateentries.

    EXAMPLE TEXT Keys on the keyboard, forexample, function keys (such asF2) or the Strg key.

    Icons

    Icon Meaning

    Caution

    Example

    Note

    Recommendation

    Syntax

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    4/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 4

    Contents

    A: INTRODUCTION .......................................................................................................................................... 5

    Target Audience....................... ................................................................ .......................................................... ............... 5

    Structure.............. ........................................................ .................................................................... .................................. 5

    Further Reading ................................................ ........................................................ ....................................................... 5

    B: WORKBENCH OVERVIEW ......................................................................................................................... 6

    C: ADMINISTRATION....................................................................................................................................... 7

    Listing Function Modules, Retrieving the WSDL, and Deleting Function Modules .................................................. 7

    Uploading Function Modules................................................ .......................................................... ................................. 9

    Monitoring Server Logs ..................................................... ............................................................. ............................... 10

    Monitoring Session Logs ............................................................. ............................................................. ...................... 11

    D: CONFIGURATION...................................................................................................................................... 14

    Logging ............................................................ .............................................................. .................................................. 15

    DI API............. ....................................................... ................................................................. ......................................... 17

    Sender ................................................................ ............................................................ .................................................. 19Sender for SAP Exchange Infrastructure Special Case.............................................................................................. 22

    Scheduler ................................................................ ................................................................ ......................................... 24

    SAP XI ................................................. ....................................................... ................................................................ ..... 27

    E: ADVANCED CONFIGURATION ................................................................................................................ 28

    Web Application Configuration ........................................................... ............................................................. ............ 28

    Persistence Configuration ..................................................... .......................................................... ............................... 30

    SAP Business One Sender Configuration ........................................................... ...................................................... .... 32

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    5/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 5

    A: IntroductionThe SAP Business One Integration Toolkit for mySAP Business Suite 1.5 (SAP Business One IntegrationToolkit) provides an environment for the SAP Business One system to communicate with other systems,especially SAP systems, using Web Service. This manual explains all aspects of both customizing options ofthe SAP Business One Integration Toolkit in order to fit different usage and useful tools to carry out dailyadministration jobs.

    The examples in this manual are based on our default installation. So they may be a little different fromyour installation.

    Target AudienceAs an administrator or person responsible for the proper operation of the SAP Business One IntegrationToolkit, you should read this document carefully because the SAP Business One Integration Toolkit consistsof several parts which are implemented with different technologies.

    This manual is also created for your convenience. For reference in your daily work, you may read onlyappropriate sections but we highly recommend that you read it all the way through once.

    Structure

    This manual can be divided into the following sections:

    1. Introduction: This part is just what you are reading now.

    2. Workbench Overview: This part explains the basic concept and usage of the SAP Business OneIntegration Toolkit workbench. 90% of the configuration and administration tasks are completed inthe workbench.

    3. Administration: You may learn how to perform all administration tasks in the SAP Business OneIntegration Toolkit.

    4. Configuration: You may find all the customizing options, their possible values and effects.

    5. Advanced Configuration: Here we discuss some advanced configuration topics that may not be donein the workbench.

    Further Reading

    1. SAP Business One Integration Toolkit for mySAP Business Suite 1.5 Installation Guide

    2. SAP J2EE Engine 6.20 Installation Guide

    3. SAP J2EE Engine 6.20 Administration Guide

    4. SAP Business One Data Interface API (DI-API) Installation Guide

    5. SAP Business One Data Interface API (DI-API) Help

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    6/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    6 May 2003

    B: Workbench OverviewThe SAP Business One Integration Toolkit workbench is a graphical user interface based on web pages.With the workbench, you can configure the SAP Business One Integration Toolkit in your web browser.

    We recommend you to use the Microsoft Internet Explorer 5.5 or higher with 1024x768 screenresolution.

    To access the workbench, simply enter the URL in the browser. In our default installation, you may use thefollowing URL on the same site where you install the SAP Business One Integration Toolkit:

    http://localhost/SBOWebService

    Normally, a login dialog window pops up. You need enter the user name and password. In the defaultinstallation, the user name isAdministrator with no password.

    This is the default administrator user and password of the SAP J2EE Engine 6.20. You can create newusers or assign new passwords in the SAP J2EE Engine Administrate Console.

    After you log on to the system, the first look of the workbench may be like this:

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    7/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 7

    The main screen of the workbench is divided into two parts. The left part shows the main menu, which helpsyou to navigate to different administration or configuration areas. The menu items are grouped as follows:

    Function modules

    Logs

    Settings

    The content of the right part changes according to your choices in the left part. The WSDL.... menu item isselected by default. So the right part displays the Web Service Description Language (WSDL) screen of thefunction modules.

    There is no logoff function from the workbench. If you close the main screen and all its subscreens, youlog off automatically. Therefore, remember to close the workbench screen after you finish your work.

    C: AdministrationYou can perform the following administration tasks in the workbench:

    Listing function modules, retrieving the WSDL of the function modules, and deleting functionmodules

    Uploading new or updating function modules

    Monitoring server logs

    Monitoring session logs

    We will explain these one by one in this chapter.

    Listing Function Modules, Retrieving the WSDL, and DeletingFunction Modules

    Selecting WSDL... in the menu, you will see a list of function modules:

    There are two tables in the function module list. The upper table lists the unchangeable system functionmodules. The lower table shows the customizable function modules. These customizable function modules

    may be the reference function modules coming with the SAP Business One Integration Toolkit installation.Your development team may also create additional function modules.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    8/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    8 May 2003

    In each table, you can read the following information regarding the function modules:

    Function Module Name: logical name of the function moduleThis name is used by external system to use the function module.

    Function Module Class: full qualified name of the main class of the function module

    For example: com.sap.smb.sbo.module.MasterData.MasterDataFunctionModule

    Function Module Package: name of the JAR file which contains all the classes of this function

    moduleSystem function modules do not have this information.

    Last Update: last time when the JAR file of this function module was uploadedSystem function modules do not have this information.

    Currently, a JAR file can only pack one function module. There must be only one main class in the JARfile as the main entrance to the function module.

    In the table of function modules, you can see the WSDL in a new browser window by clicking the hyperlinkon the name of the function module.

    In the Microsoft Internet Explorer, you can right-click the hyperlink and select Save Target As to savethe WSDL as XML file.

    When you want to remove a customizable function module, click the icon. Then a dialog box appears tolet you confirm the operation. If you choose OK, the function module is removed immediately. Any further callof the function module returns the error message Object not found.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    9/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 9

    There is no way to undo the delete operation. To recover the function module, you can upload the sameJAR file with the same logical name again. See the following chapter for details.

    Uploading Function ModulesSelecting Upload... in the menu, you branch to the upload screen:

    To upload your customizing function module, you need to fill in all the blank fields:

    Function Module Name: logical name of the function moduleThis name is used by external systems to call the function module.For example:VMIFunctionModule

    Function Module Class: full qualified name of the main class of the function module

    For example: com.sap.smb.sbo.module.VMI.VMIFunctionModule

    Function Module Package: name of the JAR file which contains all the classes of this functionmoduleYou can use the Browse button to open a dialog box for file selection.

    Then choose the Uploadbutton to do the uploading.

    After the screen refresh, you should receive a message of either success or the reason of failure. If theupload was successful, you see the WSDL of the uploaded function module as indicated in the previouschapter.

    Uploading a function module with an existing logical name will override the respective old version. Refer

    to the Last Update column for the last update of this function module.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    10/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    10 May 2003

    Monitoring Server LogsSelecting Serverin the menu, you will see the list of the server logs.

    Each log file is listed with its last change date and time. By clicking on the hyperlink of the log file, the contentof the log file is displayed in a new pop-up window.

    Server logs are an important means to trace system problems of the SAP Business One IntegrationToolkit as well as problems in your customizable function module.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    11/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 11

    Monitoring Session LogsSelecting Session in the menu, you will see the table of session logs. Session logs record each HTTPrequest received and every HTTP reply sent out.

    The initial screen only shows the last 5 requests. To view all requests, choose NEXT >>. In the request table,you can read the following information:

    Receive Date: date and time when this HTTP request arrived

    Status: process status of the requestPossible values are:

    o New: request has just been received and finished persistence

    o Processing: request is in process

    o Done: request has been processed successfully

    o Canceled: request has been canceled for some reason

    o Failed: an error occurred when the request was being processed and an error message hasbeen created

    For more information, drill down to the response content.

    Last Try Date: time when it has been tried last to process the request

    Close Date: time when processing the request was completed, regardless of whether there wasan error or not

    Remote Peer: logical name of the remote communication peer who sent the requestThis logical name is configured in properties of the sender.

    Remote Host: actual IP address of the remote communication peer who sent the request

    Request URI: actual URI requested by the remote peer

    In our default installation, the URI of/SBOWebService/dispatcher is used for the

    standard headless web service and the URL of/SBOWebService/xi is used for the SAP

    Exchange Infrastructure integration web service.

    External ID: ID referenced by the external system, for example, R/3

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    12/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    12 May 2003

    By clicking >, you can see the previous or the next 5 requests.

    Using the request filter, you can display requests with a specific status or that were received during a specifictime period.

    When entering a date in the Request Filteryou must adhere to the syntax yyyy-MM-dd HH:mm:ss oryyyy-MM-dd. Any other input may cause an error message.

    You can drill down the request by clicking on different icons:

    Clicking the icon, the HTTP request head information is displayed in a new window.

    Clicking the icon, the XML content of the HTTP request will be shown in a new window.

    Clicking the icon, the related response batch and the items in the batch will appear.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    13/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 13

    The response of a request normally contains one response item. But the response batch may also containseveral items when the function module is being called asynchronously. In this case, only the last 5 items arelisted. Use > to see the previous or the next 5 response items.

    In the ResponseBatch table, you can read the following information for each response batch:

    Create Date: date and time when this response was created

    Status: return status of the responsePossible values are:

    o New: response has just been created and finished persistence

    o Processing: response is being sent

    o Done: response has been sent successfully

    o Canceled: sending the response has been canceled for some reason

    o Failed: an error occurred when returning the response

    Because the response sender is a standard Windows service, it saves the log informationas Windows Event. For more error information, refer to the Windows Event Viewer.

    o Confirmed: remote peer has confirmed the receipt of all items in the batch

    Last Try Date: time when it has been tried last to send a response

    Close Date: time when sending the response has been completed, regardless of whether therewas an error or not

    Remote Peer: logical name of the remote communication peer who will receive the responseThis logical name is configured in the properties of the sender.

    Expire Date: date and time when the response will expire

    Max Retry Time: maximum retry times to send back the response

    Communication Type by which means to send back the response

    Possible values areSynchronous

    This means that the response is sent back in one HTTP request/response round

    Asynchronous

    This means that the remote peer will only get an acknowledgment after having sent the request.The real response will be sent by other HTTP request(s) from the sender service.

    To receive the asynchronous response, the remote peer must listen to the HTTP request on acertain port. Therefore, the IP address, port number, and URI of the remote peer to receive theasynchronous response should be configured in the properties of the sender.

    Dispatch Type in which order the response will be sent back

    Possible values areIn Order

    This means that the response items in the same batch should be sent back one by one.Random

    This means that there is no order limitation.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    14/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    14 May 2003

    In the ResponseItems table, you can read the following information of each response item:

    Status:return status of the responsePossible values are:

    o New: response has just been created and finished persistence

    o Processing: response is being sent

    o Done: response has been sent successfully

    o Canceled: sending process of the response has been canceled for some reason

    o Failed:an error occurred when sending back the responseRefer to the Windows Event Viewer for detailed error information

    o Confirmed: remote peer has confirmed the receipt of all items

    Create Date: time when this response was created

    Last Try Date: time it has been tried last to send the response

    Close Date: time when the sending process of the response was completed, regardless of

    whether there was an error or not

    Internal ID: ID referenced by the external system to confirm the response

    You can drill down the request by clicking on different icons:

    Clicking the icon, the response head information is displayed in a new window.

    Clicking the icon, the XML content of the response item will be shown in a new window.

    Session logs are an important means to trace problems of customizable function modules and runtimeerrors.

    D: ConfigurationYou can perform the following configuration tasks in the workbench:

    LoggingLogging level and format

    DI APIConfiguration that is required for the Data Interface API

    Senderthe remote communicating peers

    Scheduler

    SAP XI

    We will explain these configuration tasks one by one in this chapter.

    Changes to the configuration seetings will take effect with the next reboot of the SAP J2EE Engine 6.20,except for the scheduler settings.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    15/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 15

    LoggingSelecting Loggingin the menu, you will see the logging properties.

    The logging function in the SAP Business One Integration Toolkit uses SAP Logging API. SAP Logging APIprovides a tracing and logging solution with several additional features as compared to open sourcepackages such as Log4J or the upcoming Standard Logging API of JDK 1.4 (formerly known as JSR47). TheJava expert group has decided that this package is the official tracing and logging solution within the SAPgroup.

    A configuration file is used to control its behavior. The file looks as follows:

    .severity = INFO

    .logs = log[File]

    log[File] = FileLog

    log[File].pattern = log/sbotrace%g.log

    log[File].formatter = TraceFormatter

    log[File].limit = 1048576

    log[File].cnt = 10

    log[Console] = ConsoleLog

    log[Console].formatter = TraceFormatter

    Our workbench provides the GUI to change this property file. Use the Save option to save your modification

    orDiscardto cancle your changes.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    16/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    16 May 2003

    Normally, you only need to change the logging level:

    .severity = INFO

    Different levels of severity are shown in the table below in ascending order:

    Severity Details

    MIN Minimum restriction

    DEBUG For debugging purposes, with extensive and low levelinformation

    PATH For tracing the execution flow, e.g. used in the context ofentering and leaving a method, looping and branchingoperations

    INFO Informational text, mostly for echoing what has beenperformed

    WARNING Application can recover from anomaly and fulfill thedesired task, but requires attention from a developer or

    an operator

    ERROR Application can recover from error, but cannot fulfilldesired task due to an error

    FATAL Application cannot recover from error and the severesituation causes fatal termination

    MAX Maximum restriction

    Further configuration options can be found underhttp://bis.wdf.sap-ag.de:1080/twiki/bin/view/Techdev/JR_01_0040

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    17/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 17

    DI APISelecting SBO APIin the menu, you will see the properties of the SAP Business One Application DataInterface API (DI API).

    The SAP Business One Data Interface API is provided by SAP Business One as a uniform interface forcommunication between an external system and SAP Business One. Before using the API, some logoninformation is required.

    A configuration file is used to provide SAP Business One logon information. The file looks as follows:

    Connection.min = 1

    Connection.max = 3

    db.server = (local)

    db.company = SBODemo_US

    db.username = manager

    db.password = bWFuYWdlcg==

    db.trusted = true

    db.language = 3

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    18/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    18 May 2003

    Below, you will find an explanation of each line:

    Property Name Default value Description

    Sboapi.connection.min 1 Initial number of connections of the SAP BusinessOne Data Interface API (DI-API)

    Sboapi.connection.max 3 Maximum number of connections of the SAP

    Business One Data Interface API (DI-API)Sboapi.db.server SAP Business One Database server host or IP

    sboapi.db.company SAP Business One Database name

    sboapi.db.username SAP Business One Database username

    sboapi.db.password SAP Business One Database password(encrypted)

    sboapi.db.language SAP Business One Database language settings

    sboapi.db.trusted True or false if Windows NT trusted login is used

    Our workbench provides the GUI to change this property file. Use the Save option to save your modification

    orDiscardto cancle your changes.For security reasons, the password in the configuration is encrypted. You cannot enter the password in cleartext. Instead, you must enter an encrypted string. To get the encrypted string of the password, you need thePassword Encoding Toolkit:

    When you enter the clear text password and choose Encrypt, you will get the encrypted string. Then copy

    and paste the string into the configuration file.

    Before choosing Encrypt, you better save your changes first. Password encoding will refresh the webpages and discard any unsaved changes.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    19/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 19

    SenderSelecting Senderin the menu, you will see the properties of the SAP Business One sender.

    The properties have several functionalities:

    For security reasons, only HTTP requests from remote peers with associated IP addresses listedin the properties are accepted. Other request clients will receive a deny error.

    The SAP Business One sender is a standalone Windows backend service. It needs the propertiesto translate the remote peer logical name to the respective IP address. And it also needs to knowother information of remote peers who are listening to the asynchronous responses, for example,port number, URI, user name and password as well as proxy information.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    20/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    20 May 2003

    A configuration file is used to provide this information. The file looks as follows:

    ##############################################################################

    # Global sender configuration:

    #

    # Keystore The path and name of the keystore file for digital certification

    # Peers The name list of communication peers, separated by commas, e.g.

    # peers=subsidiary1, subsidiary2, partner1

    # proxy.host The default proxy host

    # proxy.port The default proxy port

    # proxy.username The default proxy user name

    # proxy.password The default proxy password

    ##############################################################################

    #

    # Keystore = c:\temp

    # Peers = localhost

    # proxy.host =

    # proxy.port =

    # proxy.username =

    # proxy.password =

    #

    ##############################################################################

    # Configuration of each communication peer, where the [name] should be replaced with the peer name

    # from the peer list:

    #

    # [name].remote.host Trusted remote host IP address that is allowed to communicate

    # [name].protocol Peer protocol in HTTP or HTTPS

    # [name].host Host to receive the asynchronous response# [name].port Port number to receive the asynchronous response

    # [name].uri URI to receive the asynchronous response

    # [name].username Peer user name

    # [name].password Peer password

    # [name].proxy.host Proxy host name or IP

    # [name].proxy.port Proxy port number

    # [name].proxy.username Proxy user name

    # [name].proxy.password Proxy password

    ##############################################################################

    #

    # localhost#

    # localhost.remote.host = 127.0.0.1

    # localhost.protocol = http

    # localhost.host = localhost

    # localhost.port = 5555

    # localhost.uri = /invoke/pub.sap.transport.XML/InboundProcess

    # localhost.username =

    # localhost.password =

    # localhost.proxy.host =

    # localhost.proxy.port =

    # localhost.proxy.username =# localhost.proxy.password =

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    21/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 21

    Global sender configuration:

    Name Description

    Keystore The path and name of the keystore file for digital certification whenSSL is being used

    Peers The name list of communication peers, separated by commas, forexample, peers=subsidiary1, subsidiary2, partner1

    Proxy.host The default proxy host

    Proxy.port The default proxy port

    Proxy.username The default proxy user name

    Proxy.password The default proxy password (encrypted)

    Configuration of each communication peer, where the [name] should be replaced with the peer name fromthe peer list:

    Name Description

    [name].remote.host Trusted remote host IP address that is allowed to communicate

    [name].protocol HTTP or HTTPS protocol to send the request

    [name].host Peer host name or IP

    [name].port Peer port number

    [name].uri Peer URI to receive the request

    [name].username Peer user name

    [name].password Peer password (encrypted)

    [name].proxy.host Proxy host name or IP

    [name].proxy.port Proxy port number

    [name].proxy.username Proxy user name

    [name].proxy.password Proxy password (encrypted)

    Our workbench provides the GUI to change this properties file. Use the Save option to save yourmodification orDiscardto cancel your changes.

    For security reasons, the password in the configuration is encrypted. You cannot enter the password in cleartext. Instead, you must enter an encrypted string. To get the encrypted string of the password, you need the

    Password Encoding Toolkit:

    When you enter the clear text password and choose Encrypt, you will get the encrypted string. Then copyand paste the string into the configuration file.

    Before choosing Encrypt, you better save your changes first. Password encoding will refresh the webpages and discard any unsaved changes.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    22/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    22 May 2003

    Sender for SAP Exchange Infrastructure Special Case

    For the SAP Exchange Infrastructure (SAP XI) special case, an example of sender settings can be asfollows:

    ##############################################################################

    # Global sender configuration:#

    # Keystore The path and name of the keystore file for digital certification

    # Peers The name list of communication peers, separated by commas, e.g.

    # peers=subsidiary1, subsidiary2, partner1

    # proxy.host The default proxy host

    # proxy.port The default proxy port

    # proxy.username The default proxy user name

    # proxy.password The default proxy password

    ##############################################################################

    #

    # Keystore = c:\temp# Peers = localhost, xiserver

    # proxy.host =

    # proxy.port =

    # proxy.username =

    # proxy.password =

    #

    ##############################################################################

    # Configuration of each communication peer, where the [name] should be replaced with the peer name

    # from the peer list:

    #

    # [name].remote.host Trusted remote host ip address whom is allowed to communicate# [name].protocol Peer protocol in HTTP or HTTPS

    # [name].host Host to receive the asynchronous response

    # [name].port Port number to receive the asynchronous response

    # [name].uri URI to receive the asynchronous response

    # [name].username Peer user name

    # [name].password Peer password

    # [name].proxy.host Proxy host name or IP

    # [name].proxy.port Proxy port number

    # [name].proxy.username Proxy user name

    # [name].proxy.password Proxy password

    ##############################################################################

    #

    #

    # localhost

    #

    # localhost.remote.host = 127.0.0.1

    # localhost.protocol = http

    # localhost.host = xiserver

    # localhost.port = 50024

    # localhost.uri = /sap/xi/adapter_plain

    # localhost.username = XIUSER

    # localhost.password = U0sREk=

    #

    #

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    23/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 23

    # xiserver

    #

    # xiserver.remote.host = 10.10.10.10

    # xiserver.protocol = http

    # xiserver.host = xiserver

    # xiserver.port = 50024# xiserver.uri = /sap/xi/adapter_plain

    # xiserver.username = XIUSER

    # xiserver.password = U0sREk=

    Here we assume that the SAP XI server is calledxiserverwith IP address 10.10.10.10. Note that there aretwo peers in the sender settings, localhostandxiserver.

    Thexiserverpeer uses the normal configuration:

    Name Description

    xiserver.remote.host Trusted remote host IP address of the SAP XI server, 10.10.10.10.xiserver.protocol HTTP or HTTPS protocol to send the request, http

    xiserver.host Host name of the SAP XI server, xiserver

    xiserver.port Port number of the HTTP adapter on the SAP XI server, 50024

    xiserver.uri If you use the default HTTP adapter URI on the SAP XI server, thesyntax is /sap/xi/adapter_plain.If you do not use the default HTTP adapter URI on the SAP XIserver, the syntax is /sap/xi/adapter_plain/.

    xiserver.username User name of the SAP XI server, XIUSER

    xiserver.password Password of the SAP XI server, U0sREk= (encrypted)

    Regarding the HTTP adapter URI, you can create a new service in XI to replace the default HTTP adapter.Thus, the URI of the HTTP adapter will be /sap/xi/adapter_plain/ plus service alias name. For example, ifyou have created a service named SBOHTTP in XI with transaction SICF, the URI of the HTTP adapter willbe /sap/xi/adapter_plain/SBOHTTP.

    For the peerlocalhost, the configuration is different. The server issuing the request is different from theserver to receive the response. Here, the local host will issue the request, but the SAP XI server will receivethe response. See the table below for details:

    Name Description

    localhost.remote.host Trusted remote host IP address of the local host, 127.0.0.1

    localhost.protocol HTTP or HTTPS protocol to send the request, httplocalhost.host Host name of the SAP XI server, xiserver

    localhost.port Port number of the HTTP adapter on the SAP XI server, 50024

    localhost.uri If you use the default HTTP adapter URI on the SAP XI server, thesyntax is /sap/xi/adapter_plain.If you do not use the default HTTP adapter URI on the SAP XIserver, the syntax is /sap/xi/adapter_plain/.

    localhost.username User name of the SAP XI server, XIUSER

    localhost.password Password of the SAP XI server, U0sREk= (encrypted)

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    24/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    24 May 2003

    The settings for the peerlocalhostare required for the scheduler server because the scheduler is running onthe local host in the SAP XI integration. The scheduler issues the request to the SAP Business OneIntegration Toolkit. But the scheduler itself is not the destination of the response messages. The responsemessages should be sent to the SAP XI server. Above settings for the peerlocalhostare required to achievethis goal.

    For the sender in the SAP Exchange Infrastructure, one SAP Business One Integration Toolkit instancecan only support one SAP XI server at runtime because only one localhostpeer can be set at a time.

    Scheduler

    Selecting Schedulerin the menu, you will see the list of the scheduling tasks.

    The scheduler defines various scheduling tasks in the SAP Business One Integration Toolkit. The schedulinginformation is stored in the scheduler table of the SBO-INT database.

    When you want to remove a scheduling task, click the icon. A dialog box appears to let you confirm theoperation. If you choose OK, the scheduling task will be removed immediately.

    There is no way to undo the delete operation. To recover the scheduling task, you must create it again.

    You can edit the scheduling task by clicking on the task name or the icon. You can also create a newscheduling task by clicking on the Create New Taskhyperlink. Both actions will lead you to the followingscreen:

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    25/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 25

    The following table lists the meaning of each field in the above screen:

    Name Comment

    Task Name The name of the task - information purpose only

    First Run First time the task was executedAdhere to the format yyyy-MM-dd HH:mm:ss.Any other entry may cause an error message.

    Interval The interval in which the task is to be repeatedIf the task is not to be repeated, leave the fieldblank.

    Interval Unit Unit in which the task is to be repeatedIf the task is not to be repeated, leave the fieldblank. The allowed values are:

    Second(s)

    Minute(s)

    Hour(s)

    Day(s)

    Week(s)

    Month(s)

    Command Line The command line to execute the task

    Description Task description - information purpose only

    Status Task statusThe allowed values are:

    Inactive

    Active

    In the above screen, use the Save option to save your modification orDiscardto cancel your changes.Choose Return to Schedulerto return to the previous screen.

    Unlike other configurations, any changes to the scheduler takes effect immediately after saving.

    The following types of command lines of the schedule tasks are supported:

    Dial-up taskThis task dials a number to open up a connection.

    Command line setting:dialup t

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    26/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    26 May 2003

    Send HTTP request task: this task sends out the HTTP request to the SAP Business OneIntegration Toolkit web service on the local host.

    Command line setting: sendhttp

    The property file determines what kind of HTTP request will be sent. The property file should belocated under the sub-directory HTTP_Requests of the directory where the SBOScheduler.exe is

    installed. The content of the property file is as follows:

    =0

    =1

    ....

    =0

    Each line in the property file presents one XML file. The XML file contains the data that will beembedded in the HTTP request body. If the =0, the XML file is inactive. The inactiveXML file will not be sent. If the =1, the XML file is active. The active XML file will besent by the task. The specified XML files in the property file should be located under the subdirectoryHTTP_Requests of the directory where the SBOScheduler.exe is installed.

    For example, the SBOScheduler.exe is installed underC:\Program Files\SAP\SBO IntegrationToolkitand there is a property file named examples.properties in the directory C:\ProgramFiles\SAP\SBO Integration Toolkit\HTTP_Requests.

    The content of the property file examples.properties is as follows:

    example_request_1.xml=0

    example_request_2.xml=1

    example_request_3.xml=1

    The files example_request_1.xml, example_request_2.xmland example_request_3.xmlare also indirectory C:\Program Files\SAP\SBO Integration Toolkit\HTTP_Requests.

    The scheduled task command line setting is as follows:

    sendhttp examples.properties

    The above scheduled task will sent two HTTP requests to the web service on the local host at eachtime period. The HTTP request contains the example_request_2.xmlorexample_request_3.xml inthe body (example_request_1.xml is disabled in the properties file).

    When you execute any external command task: besides above types of command lines, you canspecify any valid external command line to be executed by the scheduler. For example, if youwant to run a batch job example.bat(located in c:\temp) on the local host, you can set thecommand line as follows:

    c:\temp\example.bat

    Note that you should use the full path name in the command line. Then the scheduler will run the commandaccordingly.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    27/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 27

    SAP XISelecting SAP XIin the menu, you will see the properties for the SAP Exchange Infrastructure (SAP XI).

    The properties for the SAP Exchange Infrastructure (SAP XI) are used for the communication with the SAP

    XI server. They construct the routine information of the message from the SAP Business One IntegrationToolkit to the SAP XI server.

    A configuration file is used to control its behavior. The file looks as follows:

    ##############################################################################

    # Configuration of the XI communication partner:

    #

    # xi.bs The logical name of the business system partner

    # xi.namespace The namespace of the interface

    # xi.qos The asynchronous (EO) processing QOS flag for the HTTP adapter

    # xi.interface.error The interface name of the error messages

    ############################################################################### xi.bs = subsidiary1

    # xi.namespace = http://sap.com/xi/SBO

    # xi.qos = EO

    x# i.interface.error = GeneralError

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    28/33

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    29/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 29

    The screen where you can modify web.xmllooks as follows:

    Below, you will find definitions of the options fot the context parameters

    Name Default value Description

    sboapi.configuration /conf/sboapi.properties The path and name of the SAP

    Business One Data Interface APIconfiguration file

    log.configuration /conf/logging.properties The path and name of the logservice configuration file

    persistence.db.reference jdbc/sbointegration The name of the databaseconnection resource reference inJNDI

    persistence.db.implementation com.sap.smb.sbo.dao.MessageDAOImpl

    Full name of the implementationclass of the persistence layer

    sender.configuration /conf/sender.properties The path and name of the senderconfiguration file

    webservice.functionmodule /conf/FunctionModules.x

    ml

    The path and name of the function

    module configuration file

    webservice.functionmodule.jar.path

    /lib The path of the function moduleJAR files

    webservice.datamarshal /conf/MarshalDescription.xml

    The path and name of the datamarshal configuration file

    i18n.configuration SBOWebServiceResource

    The name of theinternationalization resource file

    plugins.configuration /conf/Plugins.xml The path and name of the plug-inservice configuration file

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    30/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    30 May 2003

    Besides the context parameters, you can change the standard Web Application options to fit your needs. Forexample, if you want to define a security role:

    For more information on the standard options of the Web Application, refer to the Java Servlet APISpecification 2.2.

    Persistence Configuration

    The SAP Business One Integration Toolkit needs persistence service of the container server to keeppersistant for incoming HTTP requests and outgoing HTTP responses. In the SAP J2EE Engine 6.20, thesetup will create a database pool entry by default. This entry points to the database created on the sameSQL server of the SAP Business One. If you want to change the database pool settings, such as user nameand password or you even want to move the persistence to other place, you can change the persistenceconfiguration in the SAP J2EE Engine 6.20 Administrate Console.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    31/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    May 2003 31

    The interface looks as follows:

    The database pool must have the same name as specified in the web.xml. By default, the name is

    sbointegration. In the Web Application configuration, a parameter points to the JNDI for the persistenceservice resource. You can find the context parameter in the web.xml:

    Name Default value Description

    persistence.db.reference jdbc/sbointegration The name of the database connectionresource reference in JNDI

    Note that the prefix jdbc/ is required in the context parameter.

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    32/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    32 May 2003

    See the SAP J2EE Engine 6.20 Administration document for details on how to configure the database pool.

    SAP Business One Sender Configuration

    Because SAP Business One Sender is a standalone Windows service, there is a separate configuration filein its installation directory to link property settings of the SAP Business One Sender.

    SAP Business One Sender uses the SBOSender.inifile to determine property information. The filelooks as follows:

    propfilepath=C:\SAP_J2EEngine6.20\alone\services\servlet_jsp\work\jspTemp\SBOWebService\root\conf\sender.properties

    timerInterval=30000

    sqlServer=localhost

    sqlUser=sasqlPwd=

    sqlDatabase=SBO-INT

    maxretry=100

  • 7/27/2019 SAP Business One Integration Toolkit for MySAP Business Suite -1.5 Administration Guide

    33/33

    Administration Guide: SAP Business One Integration Toolkit for mySAP Business Suite - 1.5

    Below, you will find a definition of each line:

    Name Description

    Propfilepath SAP Business One Sender properties configuration file path andname

    TimerInterval Time interval for new asynchronous response check

    sqlServer SQL server host name or IP address

    sqlUser SQL server login user name

    sqlPwd SQL server login password

    sqlDatabase Persistence database of the HTTP request/response

    maxretry Default maximum retry times to send an asynchronous response