Top Banner
SAPALink Release 4.5 Installation Guide Version 4.0.4 10 March 2011
99
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: KGSSAPALink45

SAPALink Release 4.5

Installation Guide

Version 4.0.4 10 March 2011

Page 2: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 2/99 Installation Guide

Contents 1 Modifications since last Release (4.0.3) .................................................................... 4 2 Installation and running the software modules of the ArchiveLink interface software, release 4.5........................................................................................................................ 5

2.1 HTTP ContentServer .......................................................................................... 5

2.1.1 Introduction ................................................................................................. 5 2.1.2 Implementation ........................................................................................... 5

2.1.2.1 Initialisation of the ContentServer servlet ................................................ 6 2.1.2.2 New Format ........................................................................................... 22 2.1.2.3 Connecting to DMS / Archiving Systems ............................................... 22

2.1.2.3.1 Using SAPALINK© with JAVA interface .......................................... 23 2.1.2.3.2 Using SAPALINK© with Windows DLL interface ............................ 23

2.1.2.4 Using SAP R/3 security ......................................................................... 23 2.1.3 Running HTTP ContentServer with Apache Tomcat 6.x or 7.x Server ...... 25

2.1.3.1 Installation on Windows X86 ................................................................. 25

2.1.3.2 Installation on Windows x64 .................................................................. 33 2.1.3.3 Known Issues ........................................................................................ 33 2.1.3.4 SAP Connection Settings ...................................................................... 35

2.1.3.5 Installation on Linux(Unix) ..................................................................... 36

2.1.3.6 Administration of ContentServer Software ............................................ 37 2.1.4 SAP Solution Manager Ready functionality (optional) ............................... 41

2.1.5 SAP Information Lifecycle Management ................................................... 46 2.1.6 Administration of SAP Certificates ............................................................ 50 2.1.7 Barcode upload functionality HTTP ContentServer ................................... 52

2.1.7.1 Common Description ............................................................................. 52 2.1.7.2 Technical Description ............................................................................ 52

2.1.7.3 SAP Authorization for Barcode upload .................................................. 53 2.1.7.4 RFC Connection Setup with and without Load Balancing ..................... 54

2.2 Frontend Modul (COM-Object DMSAUTOM.DLL) ........................................... 55

2.2.1 INI-files ...................................................................................................... 55

2.2.1.1 Requirements ........................................................................................ 55 2.2.1.1.1 DLL‟s in the windows system directory ........................................... 56

2.2.2 SAP CONFIGURATION ............................................................................ 56 2.2.3 Frontend-Client (Scan-/Retrieval) ............................................................. 57

2.2.3.1 Customizing SAP OLE Automation DMSautom.dll ................................ 57 2.2.3.2 Methods to access DMS System ........................................................... 59

2.2.3.2.1 DMSComponentCreate ................................................................... 59 2.2.3.2.2 DMSComponentCreateExt ............................................................. 60 2.2.3.2.3 DMSPropertySet ............................................................................. 61

2.2.3.2.4 DMSGetLastErrorMsg ..................................................................... 61 2.2.3.3 Methods to access SAP ........................................................................ 62

2.2.3.3.1 SAPConnectionOpen ...................................................................... 62

2.2.3.3.2 SAPConnectionClose ..................................................................... 62 2.2.3.3.3 SAPGetLastErrorMsg ..................................................................... 63 2.2.3.3.4 SAPWorkItemCreate ....................................................................... 63 2.2.3.3.5 SAPDocumentAttach ...................................................................... 64

2.2.3.3.6 SAPCallUsrFct ................................................................................ 64 2.2.3.4 Examples............................................................................................... 69

2.2.3.4.1 Scenario late archiving with barcode .............................................. 69

2.2.3.4.2 Scenario early archiving .................................................................. 70 2.2.3.4.3 Calling SAP userfunction ............................................................... 71

Page 3: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 3/99 Installation Guide

3 Installation and Configuration of Additional Modules ............................................... 72

3.1 SAP Indexexport .............................................................................................. 72 3.1.1 Requirements............................................................................................ 72

3.1.2 Installation/Configuration .......................................................................... 73 3.1.2.1 HTTP ContentServer ............................................................................. 73 3.1.2.2 SAP Remote Function ........................................................................... 75 3.1.2.3 SAP Event-driven index download ........................................................ 84

3.1.2.3.1 Sample: “storing for subsequent entry” ........................................... 84

3.1.2.3.2 Sample: “indexdownload triggered by writing link entries ” ............. 85 4 URL Commands ...................................................................................................... 89 5 SAP DocumentFinder.............................................................................................. 90

Page 4: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 4/99 Installation Guide

1 Modifications since last Release (4.0.3)

Fixes: o Compression did not work (on Windows) if working directory contains

blank(s). On Unix/Linux however compression functionality not possible with blanks in working directory

o BC-ILM: Propfind with depth=1 did not include the undelying resources if collection name in URL did not have a trailing slash

o Shutdown procedure (incl. LinkClose) was not logged in the log file o BC-ILM: Propfind with only one property and this one is not existing

resulted in a incorrect 207 Multi-Status o BC-ILM: Wrong namespace listing with 207 Multi-Status (PROPPATCH) o "ForceCompIDData" with set to 1 now retrievs the correct component

names (before they all were set to "data")

Enhancements:

o Braintribe Solution Manager integration o New Init parameter "ForceCompIDData" in order to enable viewing of

documents with compId names <> data, data1,...data<n> with ECL-Viewer o Better Exception handling if BCSAP parameters are not configured

correctly o BC-ILM: Property "expiration_date" could be set for past dates o Sitecode now being displayed in ServerStatus HTML-page o Compression: Now configurable by size & mime type (and extension) per

ContRep o Corporate License EnBW implemented o Corporate License AGFA Healthcare implemented o KGS Web- and Annotation Client implementation (new Init Parameters:

"WebClientMimeType" & "WebClientTrace")

Page 5: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 5/99 Installation Guide

2 Installation and running the software modules of the ArchiveLink interface software, release 4.5

2.1 HTTP ContentServer

2.1.1 Introduction

The SAP R/3 HTTP ContentServer functionality is implemented as a servlet in JAVA programing language.

Servlets are server-side extensions programmed against the Servlet API. This interface is philosophically equivalent to the old CGI interface, but is both more powerful and extremely more efficient. More information is available at jeeves.javasoft.com.

Because of its design, the servlet HTTP ContentServer can be set up with any HTTP server, that is compatible with the Servlet Specification version 2.2.

For testing purposes the SAPALINK© HTTP ContentServer is shipped as a package for the Apache 5.x, 6.x & 7.x Servlet engine. For further information about this HTTP server contact http://tomcat.apache.org/

2.1.2 Implementation

The JAVA implementation of the SAPALINK© HTTP ContentServer consists of the following modules: ContentServer.class ALFtoASCII.class (optional, separatly licensed) Base64Decoder.class Base64FormatException.class Comparable.class ContentData.class DMSException.class DialogBox.class DocumentFinder (optional, separately licensed) Encryption.java IndexExport.class (optional, separately licensed) IndexLine.class KeyFetch.class (only if IndexExport is installed) KGSserialNo.java LongList.class MultipartInputStreamHandler.class MultipartRequest.class MultipartResponse.class

ParameterNotFoundException.class ParameterParser.class PatternInfo.class PrintListDataFile.class PrintListIndexFile.class RfcConnectionList.class SendBarcode.class SSFSigRcpSsfInfo.class SSFSigRcpSsfInfoManager.class SecuException.class SecuLink.class Sorter.class StopContentServer.class Tools.class VersionInfo.class WebdavStatus.class Webdav.class

The class ContentServer is the initial servlet class and has to be loaded by the servlet API of the used HTTP server. The other classes can be gathered into a jar or zip container file and added to the CLASSPATH. There is an additional class SAPALink.class that has also to be added to the CLASSPATH.

Page 6: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 6/99 Installation Guide

Please make sure to use the default SAPALink.class module, provided by KGS, if you are going to use the DLL implementation of SAPALink. In the case you are going to use the Java interface for the SAPALINK implementation, you have to replace KGS‟s default SAPALink.class by your own implementation!

2.1.2.1 Initialisation of the ContentServer servlet

The servlet ContentServer has several initialisation parameters that can be set for the initialisation of the software. If there is a "newFormat" version you will find the old and the new name (in that order) in the column "Parameter name". How to activate the newFormat please refer to section 2.1.2.2. These parameters are:

Parameter name Value Description Default value (if not specified)

CSConfigFile <Filename> Points to an alternative configuration file for holding the ContentServer properties. The syntax for the properties in the alternative config file is: ContentServer.<name>=<val

ue>

Example:

ContentServer.Debug=2

Debug LOGDebugLevel

Level of Debuginfo 0

0 No Debug, only Errormessages with Context of the command that caused the error

1 Debuginfo, only to LogFile

2 Debuginfo to LogFile and Console

3 Performance trace

LogFile LOGFile

<Filename> Name of Logfile (and path) for Error- and debuginfo. If not provided, name will be generated automatically.

ContentServer.log

KeepLogfileDays LOGSplitAndKeep

Splits the LogFile into daily logs and keeps maximum of daily log files as specified

30 -> Will keep daily logs for one month

0 No splitting of LogFile into daily logs -> LogFile will be written continuously

> 0 Log file splits into daily logs. Oldest daily logs will be deleted in order to limit amount of daily log files to the value specified.

WorkingDirectory CSWorkingDirectory

<Path> Directory for temporary files (must be large enough to take printlists that can be up to several GB). If not provided, name will be generated automatically.

work

ShowCertificate SAPShowCertificate

Whether a new certificate, send by R/3 is shown in a dialog box or not

0

0 New certificate is not shown in a dialog box

Page 7: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 7/99 Installation Guide

1 New certificate is shown in a dialog box

Security SAPSecurity

Whether SAP Security is activated or not. This value has to correspond to the security level, activated in R/3 (“digital Signature”)

2

0 Security off

1 Security on

2 Security on and administration of SAP certificates using SAP transaction OAC0 -> CSAdmin

PABName CSPABName

<Filename> Filename (and path) of the Private Adressbook that holds all certificates of the connected R/3 systems. If not provided, name will be generated automatically.

ContentServer.PSE

PABPassword CSPABPassword

<String> Password for access to Private Adressbook

None Attention: Length of PABPassword must be greater than 0

DocProtection SAPDocProtection

Combination of characters “rucd”

Normally DocProtection is set by SAP for every document created by R/3. If it is missing, the value specified here is set instead (“r” = read, “u” = update, “c” = create, “d” = delete)

None

Repositories SAPRepositories

<ContRep1>,<ContRep2>,…, <ContRepn>

Name of all R/3 ContentRepositories that are going to connect to the ContentServer, each separated by a colon

None Example: FI,SD,CO,HR

MaxProcessCount CSMaxProcessCount

Integer > 0

Max. Count of parallel processes within ContentServer. Attention: BarcodeUpload is also a separate process. If set > 1, this requires that the DMS system is able to handle multiple calls to LinkOpen.

0(= MultiThreaded)

0 No limitation of parallel processes

MaxCache CSMaxCache

Integer > 0 Max. Count of cached Documents for free text search. Base directory used for this: <WorkingDirectory>\Cache\<ContRep>

0

0 No caching enabled

Page 8: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 8/99 Installation Guide

BarcodeTimer BCTimer

Integer >= 0 Parameter to enable Barcode upload out of the DMS to SAP. The value specifies the time cycles (in seconds), the module requests the archiving systems for new (scanned) barcodes. These barcodes are loaded up to SAP. The module uses a directory tree Barcode, relative to the parameter WorkingDirectory. For the communication with SAP the following parameters (BCSAPxxx) are mandatory. As of release 2.6.0 this timer also defines the cycles for processing SAP Index export files, if Index Export is enabled.

0 (= Barcode upload disabled an no cycle for processing of index export files)

BCLogAgeOK Integer >= 0 Specifies the time (in days) the OK Logfiles (<WorkingDirectory>/Barcode/successful)

60 (= Files are kept for 60 days)

BCLogAgeERR Integer >= 0 Specifies the time (in days) the Error Logfiles (<WorkingDirectory>/Barcode/error)

60 (= Files are kept for 60 days)

BCSAPClient <String> Client needed for RFC communication with SAP application server (CPIC user). Default for all ContRepIDs, defined with param Repositories. To specify a specific value for a repository use BCSAPClient_<Repository name> (e.g. : BCSAPClient_FI=000 for Repository FI). To specify a specific value for a repository use together with SID (for SAP ILM - AL Reference handling) BCSAPClient_<Repository name>_<SID> (e.g. : BCSAPClient_FI_K47=000 for Repository FI within SID K47)

None Example: “800”

BCSAPUser <String> User name needed for RFC communication with SAP application server (CPIC user). Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

Page 9: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 9/99 Installation Guide

BCSAPPassword <String> Password for BCSAPUser name needed for RFC communication with SAP application server (CPIC user). Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

BCSAPLanguage <String> Language for RFC communication with SAP application server. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None Example: “EN”

BCSAPHost <String> SAP Server‟s IP Adress (or name) for RFC communication. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient.

None Example: “192.168.52.122”

BCSAPSysNr <String> System number for RFC communication with SAP application server. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None Example: “00”

ConnectionKeepAlive CSConnectionKeepAlive

Whether a connection to DMS (object) should to be closed (LinkClose), if an error to DMS-call occurs.

1

1 DMS-object is not closed

0 DMS-object is closed by LinkClose and new DMS-object is created by calling LinkOpen. Useful if DMS-implementation doesn‟t support reconnect (e. g. after DMS restart).

ContRepsForIndexExport IDXRepositories

<ContRep1>,<ContRep2>,…, <ContRepn>

ContentRepository list for which CR IndexExport is enabled (subset of “Repositories”). For RFC-connection the BCSAPxxx params are used. Attention: Also an appropriate remote function on the SAP side has to be installed.

None

Page 10: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 10/99 Installation Guide

IndexLicenseKey IDXLicenseKey

<String> License-key needed, if (optional) module IndexExport is installed and “ContRepsForIndexExport” contains at least one

entry.

After installation, this feature has to be licensed. In the ContentServer logfile you'll find the message: “...License for KGS IndexExport NOT installed. Please install license for SiteCode: >>xyz<<” (e.g. >>E759F3971<<) Please request a license-key online @ http://www.kgs-software.com/index.php/en/request-a-license-key.html and install by assigning to this value. If BarcodeTimer is set to 0, the default cycle time of 60 seconds is used for processing Index Export files

None

ALFLicenseKey

<String> License-key needed, if (optional) module for ALV conversion (to ASCII for COLD import) is installed. After installation, this feature only works on Printlist that go to the DMS, using the ContentServer. Please maintain this parameter by setting it to a dummy value “xyz”. After you have send the first printlist to the CS, you will find a

message like “...License for KGS ALF module NOT

installed. Please install

license for SiteCode:

>>xyz<< (e.g.

>>E759F3971<<) in the

ContentServer logfile Please request a license-key @ http://www.kgs-software.com/index.php/en/request-a-license-key.html and install by assigning to this value.

None

Page 11: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 11/99 Installation Guide

ProcessTimeout CSProcessTimeout

Integer If a DMS request doesn't return (for any reason) and new requests are blocked (since Max Processcount reached) now this InitParameter can be used to allow the next waiting request to enter after he has waited this value (seconds). The value “0” means that the timeout is deactivated (default)

0

ALFDescriptionFile <String> Absolute Filename for an Text file with descriptions how to reindex printlists (ALF). The CS is able to generate an Attribute file for already or new archived printlists. For further information about this extra feature of the CS, please contact [email protected]

None

CSLicenseKey <String> If you run a license limited version of the ContentServer, a license key has to be supplied with this parameter in order to enable the ContentServer to start up. Please request a license-key @ http://www.kgs-software.com/index.php/en/request-a-license-key.html The Sitecode that can be found in the CS logfile (e. g. "...invalid license for ContentServer. Please request for a license for SiteCode >>XYZ<<” .

None

StreamBlockSize CSStreamBlockSize

<Int> Defines the Buffer Size to be used to send response data from ContentServer to SAP. Unit is KB

100 -> 100KB The default value works fine in most environments. If there are problems on the network, you can try different values to achieve better throughput.

DocFinderLicenseKey <String> License-key needed, if (optional) module DocumentFinder is installed and the following parameters SAPDocumentFinderXXX Parameters are supplied.

None

SAPDocFinderHost DocFinderHost

<String> Host name / IP of DocumentFinder RFC-Destination

None

SAPDocFinderGW DocFinderGW

<String> SAP Geateway name of DocumentFinder RFC-Destination

None

SAPDocFinderRFCDest DocFinderRFCDest

<String> Name of DocumentFinder RFC-Destination on SAP side

None

Page 12: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 12/99 Installation Guide

DocFinderUnicode 0 or 1 Specifies whether SAP DocumentFinder functionality is being used from a UNICODE(=1) or NON-UNICODE (=0) SAP System

1 -> UNICODE

AllowedClients SAPAllowedClients

<String> If specified, only requests for writing (create, update etc.) from IP addresses or host names, specified here explicitly are accepted by the CS. To specify a specific value for a repository use AllowedClients_<Repository name> (e.g. : AllowedClients_FI=192.168.1.13 for Repository FI -> Only Write requests from host with IP 192.168.1.13 are accepted by CS, requests from other IPs or hosts will be rejected with error# 401 -> not authorized)

None Example: 192.168.1.3,192.168.1.54,sapprod1,sapprod

AllowedCSAdmin SAPAllowedCSAdmin

<String> Only the specified IP addresses and/or host names are authorized for the CSAdmin function in SAP transaction OAC0. Requests from other IPs or hosts will be rejected with error# 401 -> not authorized)

None Example: sapadmin,192.168.1.2

CSConfigFile

<String> The entry in the Servlet config file (st-25 or web.xml) references a ini file that holds all ContenServer init value definitions. The specification for an init param entry is: ContentServer.<init param name 1>=<init param value 1> ContentServer.<init param name 2>=<init param value 2> : : ContentServer.<init param name n>=<init param value n>

This allows an much more easier way to handle the init params, independently from the Servlet engine and together with HTML configuration dialogs

None Example: File “st-25” has the entry: <value>CSConfigFile=e:\http\Jigsaw\Jigsaw\config\ContentServer-config.properties</value>

File “ContentServer-config.properties” ha the entries: ContentServer.Debug=2

ContentServer.AllowedCSAd

min=vm47

ContentServer.CSLicenseKe

y=

ContentServer.LogFile=c\:

\\temp\\cs.log

ContentServer.WorkingDire

ctory=c\:\\temp

ContentServer.PABName=c\:

\\temp\\kr.pse

:

:

ProtocolFile CSProtocolFile

<String> Defines a qualified file name that the ContentServer uses in order to write a file with a one line protocol entry per CS request. A protocol entry consist of information such as: Date, Time, Return Code, Duration, Command, Repository, DocID, CompID, Remote Address

None

Page 13: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 13/99 Installation Guide

ForceComponentRead CSForceComponentRead

0 or 1 Defines whether a SAP get command for a whole component (toOffset=-1) should be split into single ComponentRead requests towards the backend archive. May be useful for backend archives with sub-optimal performance. Implementation of SAPALink function ComponentRead is mandatory

0

0 Disabled -> default

1 Enabled -> portion size equivalent to parameter value StreamBlockSize

BrowserAsHTML SAPBrowserAsHTML

0 or 1 Defines whether documents that are accessed via a browser interface are to be viewed as an HTML document. This avoids the ArchiveLink URL to be displayed in the top level bar of the browser

0

0 HTML Disabled -> default

1 HTML enabled

AllowedOSCommands CSAllowedOSCommands

<String> If specified, determines the list of OS commands (separated by “,”) that are accepted by the URL command “osExecute”. The URL command contains the actual OS command string with the URL parameter “pattern”. The contents of pattern has to match exactly (including spaces and options) one of the comma separated entries. Usage of “*” is possible. Beside the parameter “pattern” the URL has to contain a valid ContentRepository, DocID and CompID as well. As a return the response body contains a string consisting of <return code> <return message>. Upon request, KGS provides a sample RFC function (Z_KGS_CS_EXEC) that can be used in order to leverage this functionality.

None Example: ls –l,ls –lrt,

sls –D,

stage,release,p

rint *

Page 14: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 14/99 Installation Guide

CompressSize CSCompressSize

<Float> Defines whether components of <CompressSize> MByte or greater are to be compressed with gzip. Only supported, if DMS vendor SAPALink implementation supports the property (String value)

“DMS_COMP_PROPERTY_COMPRES

SIONSTRING”

On Windows systems, the following two executables have to be accessible in path: - gzip.exe - sum.exe Both are freeware and available under http://sourceforge.net/projects/gnuwin32/files/coreutils/ and http://gnuwin32.sourceforge.net/downlinks/gzip.php To specify a specific value for a repository: CompressSize_<Repository name>_<ContRep> (e.g. : CompressSize_T1=1 Attention: On Non-Windows platforms the CSWorkingDirectory mustn’t contain blanks, if compression is to be used!

0-> no compress Examples: 1-> 1MB 0.0488 -> 50KB 0.1953 -> 200KB 12.5 -> 12.5MB 0.6835 -> 700KB 0.0009765 -> 1KB

Page 15: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 15/99 Installation Guide

CompressMimeType CSCompressMimeType

<String> Defines the mime type for which compression should be activated (provided compression size is > 0). If not specified, compression is not restricted to any mime type (= *). Multiple values are separated by comma Beside mime type values, also extensions may be specified (e. g. .tif or .pdf. However this can only be made if the parameter SAPMimeExtensionLookup has been configured as the ContentServer will derive the mime types from the extension by looking them up through SAP table TOADD To specify a specific value for a repository: CompressMimeType_<Repository name>_<ContRep> (e.g. : CompressMimeType_T1=.tif

Empty -> compression for all mime types Examples: image/tiff or application/pdf,image/tiff or .tif,.pdf.,.txt or .tif,.pdf.,.txt or *

IdxExportBarcodeNoEvent IDXBarcodeNoEvent

0 or 1 If set to “1”, ContentServer will create index input files for barcode entries, if index export is enabled. This is the “old style” and may cause unnecessary error entries during index download should the document not yet be reported back and linked in SAP. The preferred method for index download with scenario “Late Archiving with Barcode” should be done via the SAP event mechanism. For details refer to section 3.1.2.3. In order to uses the event driven mechanism, this parameter has to be set to “0” (default).

0

Page 16: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 16/99 Installation Guide

AlterCompID CSAlterCompID

<String> This parameter can hold a list of CompID names, separated by “,” (Comma). If at least one CompID is specified, the ContentServer will try to deliver a component back to the caller under the following provisions:

a) the caller CompID = „data‟ b) the system holds exactly

one Component (under the specified DocID) that neither is „data‟ nor one of the names specified in this parameter.

None

DeleteNoError CSDeleteNoError

0 or 1 If set to “1” prevents the ContentServer to return HTTP 500 error if deletion fails (might be useful in connection with Filer Storage solution that don‟t allow physical deleting of documents)

0

DisableBarcode BCDisable

0 or 1 If set to “1” disables barcode functionality, even if BarcodeTimer is set > 0. This is useful if CS is supposed to do Indexexport but no barcoding should occur.

0

SAPidxRemoteFunction IDXRemoteFunction

<String> Specify the name of the SAP-FB for KGS Keyexport here, should it be different from the standard name Z_KGSKEYEXPORT

None

RestrictContent CSRestrictContent

<String> CS will check for Archiving request whether documents match the content definition. E. g. if defined as “PDF,TIF” only documents will be allowed for storing that do match the pdf or tiff specification within the data stream. All other documents will be rejected. To specify a specific value for a repository use RestrictContent_<Repository name> (e.g. : RestrictContent_FI=PDF or Restrict_Content_T1=PDF,TIF)

None Possible values: PDF TIF PDF,TIF

SAPSolHost <String> Host name (or IP) to Customer System Landscape Directory (SLD) in order to connect for SAP SolutionManager Ready functionality

None

SAPSolPort <String> Port number to Customer System Landscape Directory (SLD) in order to connect for SAP SolutionManager Ready functionality

None

Page 17: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 17/99 Installation Guide

SAPSolUser <String> User name to Customer System Landscape Directory (SLD) in order to connect for SAP SolutionManager Ready functionality

None

SAPSolPassword <String> User name to Customer System Landscape Directory (SLD) in order to connect for SAP SolutionManager Ready functionality

None

CSReadTimeout <Int> Time in seconds until a read operation (from backend storage and/or database) will return a HTTP SC_REQUEST_TIMEOUT (408) error. The ServerStatus will switch from “online” to “timout” and can only be reset by either restarting the CS or issuing the following command from a browser: http://<host>:<port>/SAPALink/ContentServer?serverInfo&operation=ReSetTimeOut. If used together with KGSStore, version 03.23P2 or higher of KGSStore is required

0 - > indicates that timeout is disabled

CSWriteTimeout <Int> Time in seconds until a write operation (to backend storage and/or database) will return a HTTP SC_REQUEST_TIMEOUT (408) error. The ServerStatus will switch from “online” to “timout” and can only be reset by either restarting the CS or issuing the following command from a browser: http://<host>:<port>/SAPALink/ContentServer?serverInfo&operation=ReSetTimeOut If used together with KGSStore, version 03.23P2 or higher of KGSStore is required

0 - > indicates that timeout is disabled

Page 18: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 18/99 Installation Guide

ContRepsForSignature <ContRep1>,<ContRep2>,…, <ContRepn>

ContentRepository list for which CR Digital Signature (OpenLimit module) is enabled (subset of “Repositories”). For all documents with comId “data” that are being stored in one of the defined repositories a digital signature will be calculated and stored as additional component (name “signature”) with the document. If the document is being read from the archive, the signature will be checked and if not correct, an error message will be returned. Otherwise the document will be returned. The Openlimit signature software has to be installed correctly and the following JAR files/Libraries have to be present (in shared/lib): SignOpenlimit.jar & VerifyOpenlimit.jar, (in loadLibraryPath [e. g. Tomcat/bin]): siqJNI_PDFcut.dll & siqVerification.dll

None

SAPMimeExtensionLookup

0 or 1 If set to “1” mime type and file extensions in archive will be set according to mapping in SAP table TOADD. Values in TOADD are being looked up during CS initialization phase. BCSAPxxx parameters have to be set accordingly in order to be able to connect to SAP. Also reports SAP DocClass equivalent, derived by content type (from SAP table TOADD) with barcode record set. E. g. if content type delivered from Archive (with function call WriteBarcodeFile) = image/tiff, CS will report external barcode data set with DocClass equivalent from TOADD. Hence in this case it will be FAX

0

SAPILMContRep <String> “Virtual” Repository name for ILM configuration. May be used to logically group data that is being stored through a certain ContentServer interface

None See section 2.1.5 for details on SAP ILM configuration

SAPILMUser <String> User name setup in SAP ILM configuration for communication with ContentServer

None See section 2.1.5 for details on SAP ILM configuration

SAPILMPassword <String> Password setup in SAP ILM configuration for communication with ContentServer

None See section 2.1.5 for details on SAP ILM configuration

Page 19: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 19/99 Installation Guide

SAPILMLicenseKey <String> License key provided by KGS in order to enable ILM functionality

None See section 2.1.5 for details on SAP ILM configuration

SAPILMClass <String> Java class name of third party vendor‟s SAPAILMLink implementation. If used together with KGSStore or with DLL implementation, leave empty.

None See section 2.1.5 for details on SAP ILM configuration

SAPILM_AL_RefCheckDisable

0 or 1 For ILM Functionality only: If ILM resource is a reference to an ArchiveLink document and later one is to be locked due to expiration_date or legal_hold (PROPPATCH), this reference locking can be disabled by setting this parameter to 1. Enabling trough 0

0 -> ILM-AL reference check enabled

SAPILMAllowDuplicates 0 or 1 For ILM Functionality only: If a Put Requests wants to create a resource that already exist in the archive, this request will be rejected. However if this parameter is set to 1, such a request will be returned as successful by the ContentServer provided, the size of the already existing resource is equal to the one coming with the request.

0 -> does not allow ILM Put Requests for resources that do already exist in archive

SignatureUpdatefile <String> Qualified file name that contains lines for documents for which signature components have to be newly generated and updated by the ContentServer. This update process is being done during CS start up if this parameter is provided. Every line within this file represents a document to be updated. The syntax is:

<ContRep> <DocId> \n <ContRep> <DocId> \n <ContRep> <DocId> \n :

None

SAPALinkClass <String> Java class name of third party vendor‟s SAPALink implementation (e. g. com.Vendor.Archive.SAPALink). If used together with KGSStore or with DLL implementation, leave empty.

SAPALink

Page 20: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 20/99 Installation Guide

SAPidxFileSystem <String> Qualified path name into which (if specified) CS will export components with compId "index" that will come to the CS through Create requests

None

BCSAPASHost <String> Host name of the application server. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

BCSAPGWHost <String> Host name of the SAP gateway. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

BCSAPGWServ <String> Service number of the SAP gateway. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

BCSAPMSHost <String> Host name of the message server. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

BCSAPSystem <String> Name of the SAP system. Use this param in connection with a load balanced RFC configuration in connection with the params BCSAPMSHost & BCSAPGroup. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

BCSAPGroup <String> Name of the group of application servers. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

PROTSplitAndKeep Numeric value (in days)

Splits the Protocol File into daily chunks and keeps maximum of daily prot files as specified.

0 -> Will not split protocol file and add on continuously

configPassword <String> If set, secures the configuration dialog so that alterations can only be made if the password matches with the one that has to be supplied within the dialog. See 2.1.3.6 for details

None

ForceCompIDData 0 or 1 If compID in archive does not start with “data” viewing with the SAP ECL Viewer might lead to an error. Set this parameter to 1 will enable viewing with ECL viewer.

0 -> disabled

Page 21: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 21/99 Installation Guide

WebClientMimeType <String> By setting this to (a list, separated by “;” of) mime type(s), the new KGS Java based Document & Annotation Viewer will be enabled for viewing documents. Also extensions like “.tif” or “.pdf” may be used but require the “TOADD lookup settings” as described at param “CompressMimeType“ Setting this parameter without the additionally needed components installed on the ContentServer side however might lead to viewing errors. In order to use this optional feature please contact [email protected] to learn more about the possibilities, features and cost of this powerful document viewer.

None Example: image/tiff;application/pdf

WebClientTrace 0 or 1 If set to 1 this will enable detailed tracing in Java console once document is being opened using the KGS Java based Document & Annotation Viewer

0 -> disabled

Page 22: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 22/99 Installation Guide

2.1.2.2 New Format

As of Release 3.2.0 you have the possibility to use modified Config Parameter Names, according to the mapping table listed below. Please mind, that in order to activate the new parameter names, the following setting in web.xml has to be applied:

Please note that NO automatic conversion of old to new parameter names is provided by the ContentServer. The ContentServer-config.properties file has to be translated manually.

2.1.2.3 Connecting to DMS / Archiving Systems

Since the SAPALINK© software provides a SDK, a connection to a DMS / Archiving System can easily be realized through this SDK. The SDK gives the DMS vendor to ways to adopt his System to the KGS HTTP ContentServer: Either the implementation can be done by using a pure JAVA interface or communication to the DMS can be made through a C++ library.

Page 23: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 23/99 Installation Guide

2.1.2.3.1 Using SAPALINK© with JAVA interface

The JAVA interface is the best way to adopt DMS, which provide also a JAVA API on its server side. For further information see the SAPALINK© SDK Reference Guide. In this case the provided class file SAPALINK.class (mentioned in 2.1.2) has to be substituted by the vendor‟s implementation of this class file to establish a direct way of communication between the HTTP ContentServer and the DMS vendor‟s archiving server.

2.1.2.3.2 Using SAPALINK© with Windows DLL interface

In addition to the JAVA interface mentioned in 2.1.2.3.1 you can use the C++ SAPALINK SDK implementation to bind the HTTP ContentServer to the vendor‟s DMS system. This way is normally used, if the archiving server runs on a Win32 platform and does not provide a JAVA API to its server side To use the SAPALINK© DLL interfacing, none of the class files mentioned in 2.1.2 have to be exchanged. The SAPALINK.class file delivered by the standard is designed to use this way of implementation. You have to make sure that the SAPALINK library file (SAPALINK.DLL on Windows platform) is loadable by the SAPALINK class. Thus this library file has to be located either in the system directory or in the same directory, where the SAPALINK© class files are located.

2.1.2.4 Using SAP R/3 security

SAP R/3 uses some security mechanisms to ensure secured access to the stored data. Therefore SAP provides libraries to do de- and encoding of the URLs that are used to communicate with the HTTP ContentServer. Unfortunately these libraries are implemented in C language and no JAVA implementation is provided by SAP. Since the HTTP ContentServer is implemented in JAVA and the SAP security library is written in C language, SAPALINK© provides a JNI (Java Native Interface) to enable the HTTP ContentServer software to use SAP „s security libraries. The class file SecuLink.class loads the library file JavaSeculink which implements the JAVA native interface (JNI) to the SAP security library file SAPSECU. On the distribution CD of the SAPALINK© software the variants for the different OS/hardware platforms of the SAPSECU library are provided (e.g. HP-UX, NTIntel, NTAlpha). For the NT/Intel platform the SAPALINK© distribution CD contains the complete source code for the JavaSeculink library as a Visual C++ project.

Page 24: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 24/99 Installation Guide

To use the security files on different HW/OS platforms you have to recompile this C++ implementation on the target platform to generate the desired library file. To run the software make sure that both library files, JavaSeculink and SAPSECU are loadable by the JAVA class file SecuLink.class. Thus these library files have to be located either in the system directory or in the same directory, where the SAPALINK© class files are located. Please make sure that the versions of the security libraries used ([lib]SAPSECU on ContentServer’s side) and LIBSSFSO on R/3 application server’s side (…/sys/exe/run/libssfso) are identical!

Page 25: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 25/99 Installation Guide

2.1.3 Running HTTP ContentServer with Apache Tomcat 6.x or 7.x Server

Because of its design as a JAVA servlet the SAPALINK© HTTP ContentServer can be run with any HTTP Server that supports the Servlet Specification version 2.2 (see 2.1.1) The following steps describe the installation with Apache Tomcat 6.x

2.1.3.1 Installation on Windows X86

Install Java Runtime (JRE >= 1.5)

Download and install Apache Tomcat 6.x or 7.x according to the Setup routine

Page 26: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 26/99 Installation Guide

Page 27: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 27/99 Installation Guide

Page 28: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 28/99 Installation Guide

Configure Tomcat environment using Tomcat Monitor in the Windows system tray

Page 29: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 29/99 Installation Guide

Set startup type to “Automatic”

Download the ContentServer install package for Tomcat from the KGS Website (You have to login with your credentials in order to access the container file):

Page 30: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 30/99 Installation Guide

And extract package into Tomcat home directory (overwriting existing files)

Stop Tomcat engine

Edit the file catalina.properties in the Tomcat conf directory and apply the following changes: [before]:

Page 31: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 31/99 Installation Guide

[after]:

Add DMS vendor specific class and jar files to Tomcat Java configuration (here: Example using the KGSStore)

Page 32: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 32/99 Installation Guide

If DMS vendor supplies his own SAPALink.class, this has to be placed in the ..\shared\classes directory, overwriting the existing SAPALink.class file Start the Tomcat Server using the Tomcat Monitor

Page 33: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 33/99 Installation Guide

2.1.3.2 Installation on Windows x64

In order to install the ContentServer on Tomcat 6.x in an Windows 64 Bit environment (x64), follow the exact same steps as described in the previous section (x86). However, please make sure that you download and install the 64 Bit version of the Java Runtime Environment. As an additional step you will have to copy all files residing in the Tomcat\bin\x64 one level up into the Tomcat\bin directory, overwriting all existing files, before starting the Tomcat service.

2.1.3.3 Known Issues

a) If your Tomcat service should not launch, this could be related to:

http://forums.sun.com/thread.jspa?threadID=5121172

b) When installing the ContentServer on Windows 2008 Server x64 you might run into the following issue:

- ContentServer does not start up properly with Security enable (1 or 2) - The ContentServer log file ends unexpectedly like this

- In the localhost.log (Tomcat\logs) you'll have an entry like this

In order to resolve this issue, you will have to enable the "Desktop Experience" feature. In order to do so, you have to follow these steps:

Page 34: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 34/99 Installation Guide

Page 35: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 35/99 Installation Guide

2.1.3.4 SAP Connection Settings

Running the Content Server in a Tomcat environment, the connection settings in SAP have to be set as follows:

Page 36: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 36/99 Installation Guide

2.1.3.5 Installation on Linux(Unix)

Installation steps:

Download and extract apache-tomcat-5.5.17.tag.gz as root (http://www.apache.org)

Build program jsvc as described on http://tomcat.apache.org/tomcat-5.5-doc/setup.html cd $CATALINA_HOME/bin tar xvfz jsvc.tar.gz cd jsvc-src autoconf ./configure make cp jsvc .. cd ..

Install DMS vendor specific components. SAPALink.class has to placed into $CATALINA_HOME/shared/classes Example: KGSStore as archiving component under $CATALINA_HOME/shared/lib with contents: ContentServer.jar KGSStore.jar KGSTool.jar FPLibrary.jar

Download (from KGS ftp site) and install SAPALink-x.x_OnTomCat5.x_Linux.tar under $CATALINA_HOME

Adjust path to absolute filename for “CSConfigFile” in web.xml under $CATALINA_HOME/webapps/SAPALink/WEB-INF/web.xml e. g. /apache-tomcat-5.5.17/conf/ContentServer-config.properties

Move SAP-Security librarys from $CATALINA_HOME/bin to $JRE_HOME/lib/Processor type Example: Suselinux on Intel -> /usr/lib/jvm/java/jre/lib/i386 This applies to the following library files: libJavaSeculink.so librfccm.so libsapjcorfc.so libsapsecu.so libUnix.so

Start Tomcat (e. g. sh catalina.sh start)

Page 37: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 37/99 Installation Guide

2.1.3.6 Administration of ContentServer Software

The KGS ContentServer is fully integrated into the Tomcat Manager console and can be administred as follows: Connect to Tomcat Console via your browser interface on http://localhost:8080

Click on “Tomcat Manager” and login using the Tomcat Manager credentials as defined during the Tomcat installation process

Page 38: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 38/99 Installation Guide

Click on “SAPALink”

Click on “Configure” in order to adjust the ContentServer property values:

Page 39: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 39/99 Installation Guide

Maintain property values according to the documentation

And confirm. Please restart ContentServer in order to take effect of property value changes.

Page 40: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 40/99 Installation Guide

As of release 4.0.3 this configuration dialog can be secured by setting the init parameter “configPassword” in the ContentServer-config.properties file and supplying a password value for it. Once this parameter is set with a password value, the configuration dialog will change so that all passwords will be displayed invisible and on the bottom of the page you will have an input field in order to supply the config password value which has to match the value of the init param “configPassword”) . Only if the 2 match, you will be able to make any changes to the configuration.

Page 41: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 41/99 Installation Guide

2.1.4 SAP Solution Manager Ready functionality (optional)

If you want to register at the Customer System Landscape Directory (SLD) (e. g. http://iccsolman40.sap.com/sld) follow the steps as shown below (example). User / Password: 3rd_party / isvconnect08

Page 42: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 42/99 Installation Guide

Page 43: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 43/99 Installation Guide

Page 44: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 44/99 Installation Guide

Now have the ContentServer to register the product against entry made as shown above by providing the SAPSolxxx Parameters and restarting the ContentServer. After registration with ContentServer, you should be able to find the registered system (The SAPSolxx parameters will be commented out by the CS after successful registration):

Page 45: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 45/99 Installation Guide

Page 46: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 46/99 Installation Guide

2.1.5 SAP Information Lifecycle Management

In order to setup your SAP system for the XML Data Archiving service, please apply the following configuration steps:

1. Make sure that XML DAS service has been deployed in SAP J2EE engine 2. ContentServer has to be at least of version 4.0.0 3. Setting up HTTP destination via SAP Visual Administrator

Page 47: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 47/99 Installation Guide

4. Do the corresponding XML DAS configuration

http://kgs-server:50000/DataArchivingService/DAS

Page 48: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 48/99 Installation Guide

Page 49: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 49/99 Installation Guide

In order to address the ContentServer from SAP please adjust the settings in transaction OAC0 according to the following screen shot

Page 50: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 50/99 Installation Guide

2.1.6 Administration of SAP Certificates

As of Release 2.6.2 the administration of SAP Certificates can be handled using the CSAdmin functionality in transaction OAC0. In order to use this functionality, the following parameter setting have to be applied:

Security=2

AllowedCSAdmin=<host name or IP of SAP System for CSAdmin> The following screen shots indicates, how this works:

Goto change mode

Page 51: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 51/99 Installation Guide

Mark certificate rows which you want to

activate , deactivate or delete

Page 52: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 52/99 Installation Guide

2.1.7 Barcode upload functionality HTTP ContentServer

2.1.7.1 Common Description

The ContentServer contains the RFC- functionality for sending barcodes and DocIDs of scanned documents to SAP for the scenario „late archiving with barcodes“. For further information see the SAP documentation. With Release 2.20 of the ContentServer this functionality replaces the prior KGS Barcode module DMSALBarcode with SAPALINK 4.5

2.1.7.2 Technical Description

To specify the parameters for the Barcode functionality see section 2.1.2.1 . The program calls in a specified time cycle the function WriteBarcodeFile (see SAPLINK SDK documentation). These function has to create a Job file if there barcode information available for SAP. If there is more than one ContentRepsitory depend RFC Connection specified, the Job file and RDY file will be created in the folder <WorkingDirectory>/Barcode/Internal and in a second step the program spilt this file in single files ContentRepsitory depend to the folder <WorkingDirectory>/Barcode and creates the necessary RDY files. If there is only one RFC Connection defined, the Job file will be created directly in the folder <WorkingDirectory>/Barcode with the appropriate RDY file. A job file has the following contents: Column 1: Barcode Column 2: logical SAP Archive Column 3: DMS Objectnumber (Document-Id) Column 4: Archiving date Column 5: Doctype The Columns are separated by space. Example: 100001000000212000 FI 002001000007000001 20001018 FAX 100001000000222000 FI 002001000007000002 20001018 FAX 100001000000232000 FI 002001000007000003 20001018 FAX In the next step the program searches the folder <WorkingDirectory>/Barcode for new job files. These files have the Extension TXT. To each final job file, a file with same name and the Extension RDY is expected. Only if both files are found, the job is detected as to process.

Page 53: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 53/99 Installation Guide

After a job is available, the barcode information is being sent by RFC to SAP and inserted into the SAP table for open barcodes. After a successful Upload of the bar code information the successfully processed Barcodes are stored in the file <WorkingDirectory>/Barcode/successful/yyyymmdd.txt.

Barcodes which upload failed could be found in the file <WorkingDirectory>/Barcode/error/yyyymmdd.txt. These logfiles are automatic deleted after the specified time (see BCLogAgeOK and BCLogAgeERR). For testing purposes you can move a logfile to the folder <WorkingDirectory>/Barcode. After creating a file with the same name and the extension RDY the file will processed again.

2.1.7.3 SAP Authorization for Barcode upload

The following authorizations may be compiled within a custom role which is to be applied to the CPIC user profile used for RFC communication:

Page 54: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 54/99 Installation Guide

2.1.7.4 RFC Connection Setup with and without Load Balancing

The RFC communication setup (for Barcoding & Indexdownload) can be done through the following three different scenarios: 1. Configuration with SAP Application Server (without load balancing) and an application server named “VMECC60”:

BCSAPHost=VMECC60 BCSAPClient=100 BCSAPSysNr=00 BCSAPUser=user_1 BCSAPPassword=passwd BCSAPLanguage=EN

2. Configuration with SAP Messages Server (for load balancing) and Group of SAP Application servers (named "NBR"):

SAP MessageServer = "ahnbr.wbne.net" BCSAPHost=ahnbr.wbne.net BCSAPSystem=NBR BCSAPGroup=NBR BCSAPMSHost= ahnbr.wbne.net BCSAPClient=100 BCSAPSysNr=00 BCSAPUser=user_1 BCSAPPassword=passwd BCSAPLanguage=EN

3. Configuration for the scenario where SAP Gateway and Application Server are located on different machines or they run on the same machine (without load balancing) but the Gateway is only reachable through a NATed IP (in this case 192.168.70.128) from externaly but internally the Gateway has to connect to AS through a network internally known host name or IP (in this case "vm47.kgs-software.com”):

BCSAPASHost=vm47.kgs-software.com BCSAPGWHost=192.168.70.128 BCSAPGWServ=sapgw00 BCSAPClient=800 BCSAPSystem=E63 BCSAPSysNr=00 BCSAPUser=user_1 BCSAPPassword=passwd BCSAPLanguage=EN

Page 55: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 55/99 Installation Guide

2.2 Frontend Modul (COM-Object DMSAUTOM.DLL)

2.2.1 INI-files

The INI-file ALDMSAcc.ini is locatetd in the windows‟ systemdirectory (e. g. C:\WINNT\ALDMSAcc.ini) All nesseccary configuration parameters are stored there. The parameters are all set through the module‟s dialogs and do not have to set manualy.

Typ

Value Description Default

[DMSAUTOM] Configuration Frontend Client

DebugLevel Integer 0 Logwindow off 0

1 Logwindow on

8 Testmodus (ohne Connect zu SAP)

Log-File String Filename logfile

Log-Mode Integer Logging mode 1

0 Logging off

1 Log errors

2 Log debuginfo level I

4 Log debuginfo level II

Log-ModeScreen Integer Logging mode Logwindo (see Log-Mode)

Log-WindowPos Integer Array

Window Placement Logwindow

ScanQueue String ScanQueue for OLE function GUIScanDoc and GUIGetFileFromClient (see SAP Configuration Frontend Client)

WorkitemCreateFct String Name of SAP R/3 Userfunction to create workitems if you don‟t like to use the standard RFC-function (e.g Z_MYWORKITEMCREATE) The Interface of this function must be compatible to RFC-funtion ARCHIV_PROCESS_RFCINPUT

2.2.1.1 Requirements

WindowsNT 4.0, XP or Vista

SAP R/3, Rel. 4.5 or higher

SAP GUI 4.5 or higher

Page 56: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 56/99 Installation Guide

2.2.1.1.1 DLL‟s in the windows system directory

The following DLL‟s have to be located in the windows system folder (e. g. C:\WINNT\SYSTEM32):

ALDMSTool.dll

MFC42.dll (Version 6.00.8267.0)

MSVCP60.dll (Version 6.00.8168.0)

MSVCRT.dll (Version 6.00.8397.0)

COMDLG32.OCX (Version 6.00.8169)

2.2.2 SAP CONFIGURATION

In order to put SAP working againt a DMS system, it is needed some configuration inside SAP via its Configuration Interface. For details see SAP Documentations

Page 57: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 57/99 Installation Guide

2.2.3 Frontend-Client (Scan-/Retrieval)

2.2.3.1 Customizing SAP OLE Automation DMSautom.dll

This file has to be registered (REGSVR32.exe) OLE Application always DMSAUTOM.SAPOLE Display stored document M GUIViewDoc @AID,@DID G @EID=GUIGetViewDocRC Function GUIViewDoc requires SAPALINK implementation “ViewDocument”. Alternatively, the function GUIViewDocBrower may be used. This function calls a DMS vendor specific HTTP script and opens a browser window with the following URL http://computer:8080/HTTPScript&contRep=T1&docId=AFFA362826A94C52AC6816410F5EF2F3&userId=SAPUser. M GUIViewDocBrowser @URL,@UID,HTTPScript Retrieval for frontend M GUIRetrieveLocalFile @AID,@DID,@DPA G @EID=GUIGetRetrieveLocalFileRC Display local file M GUIViewLocalFile @DPA,@DTI Archive from frontend M GUIScanDoc @AID,N N=1 -> Scanmode Single N=2 -> Scanmode Batch N=-1 -> Open FileDialog instate of scanning N=-2 -> Folder as Scanqueue G @EID=GUIGetScanDocRC G @DID=GUIGetScanDocID Store file on frontend G @DPA=GUIGetFileFromClient G @EID=GUIGetFileFromClientRC

Page 58: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 58/99 Installation Guide

Store file from frontend M GUIArchiveLocalFile @AID,@DTI,@DPA G @EID=GUIGetArchiveLocalFileRC G @DID=GUIGetArchiveLocalFileDocID Close window M GUICloseDoc @AID,@DID Write a Registryentry M GUIWriteRegistry KeyArchivID,@AID M GUIWriteRegistry KeyDocID,@DID M GUIWriteRegistry KeyCmd,GotoSAPData The Syntax is Keyname,Keyvalue. Please customize the Registrypath in configurationfile ALDMSACC.INI Example: [DMSAUTOM]

Registry_KeyArchivID=\HKEY_CURRENT_USER\Software\JavaSoft\Prefs\myApp\p1

Registry_KeyDocID=\HKEY_CURRENT_USER\Software\JavaSoft\Prefs\myApp\p2

Registry_KeyCmd=\HKEY_CURRENT_USER\Software\JavaSoft\Prefs\myApp\p_cmd

Page 59: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 59/99 Installation Guide

API for external Applications

2.2.3.2 Methods to access DMS System

2.2.3.2.1 DMSComponentCreate

This function creates a new document. String DMSComponentCreate (BSTR ALVersion, BSTR ContRep, BSTR CompId,

BSTR Version, BSTR ContentType, BSTR CharSet,

BSTR DocProt, BSTR CompFile)

Parameter: ALVersion: Archivelink version (e.g. 0045) ContRep: Content repository (SAP content repository ID) CompId: Component ID (“data” )

Version: Application version used to create the component (optional) ContentType: Mimetype (e. g. FAX for AL 3.1, or image/tiff for AL 4.5) CharSet: Character set (optional) DocProt: Document protection (e. g crud) CompFile: File with componentdata Returnvalue: DocumentID

Page 60: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 60/99 Installation Guide

2.2.3.2.2 DMSComponentCreateExt

This function creates a new component to an existing document. If the document does not exist a new document will create first and then attach the component to the new document. Short DMSComponentCreateExt (BSTR ALVersion, BSTR ContRep, BSTR DocID,

BSTR CompId, BSTR Version, BSTR ContentType,

BSTR CharSet, BSTR DocProt, BSTR CompFile)

Parameter: ALVersion: Archivelink version (e.g. 0045) ContRep: Content repository (SAP content repository ID) DocID: DocumentID CompId: Component ID (“data” for Multipage TIFF file or data, data1, data2…

for single Page TIFF Files)

Version: Application version used to create the component (optional) ContentType: Mimetype (e. g. FAX for AL 3.1, or image/tiff for AL 4.5) CharSet: Character set (optional) DocProt: Document protection (e. g. crud) CompFile: File with componentdata Returnvalue: 0 = ok <0 = Error

Page 61: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 61/99 Installation Guide

2.2.3.2.3 DMSPropertySet

Short DMSDocumentPropertySet(BSTR ContRep, BSTR DocId, short nPropId,

BSTR Value)

Parameter: ContRep: Content repository (SAP content repository ID) DocID: DocumentID PropertyId: 0 Repository to which document belongs 1 Document creation time 2 Document creation date 3 Document modification time 4 Document modification date 5 Document protection flag 6 ArchiveLink version 7 Document barcode Returnvalue: 0 = ok <0 = Error

2.2.3.2.4 DMSGetLastErrorMsg

String DMSGetLastErrorMsg()

Returnvalue: Last Error Message

Page 62: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 62/99 Installation Guide

2.2.3.3 Methods to access SAP

2.2.3.3.1 SAPConnectionOpen

This function establish the SAP Connection. This function must be called first before using other SAP methods. Short SAPConnectionOpen(BSTR Client, BSTR UserName, BSTR Password,

BSTR Hostname, int nSystemNo, BSTR GatewayHost,

BSTR GatewayService, BSTR Language)

Parameter: Client: SAP Client number Username: SAP Username (could be a RFC User) Password: SAP Userpassword Hostname: Name or IP Address SAP Server SystemNo: SAP Systemnumber GatewayHost: SAP Systemnumber GatewayService: SAP Systemnumber

Returnvalue: 0 = ok <0 = Error

2.2.3.3.2 SAPConnectionClose

This function close the SAP Connection. Short SAPConnectionClose()

Returnvalue: 0 = ok <0 = Error

Page 63: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 63/99 Installation Guide

2.2.3.3.3 SAPGetLastErrorMsg

String SAPGetLastErrorMsg()

Returnvalue: Last Error Message

2.2.3.3.4 SAPWorkItemCreate

Creates a SAP Bussiness Workflow Item. Short SAPWorkItemCreate(BSTR ContRepID, BSTR DocID, BSTR ARObject,

BSTR DocType, BSTR ExtraData)

Parameter: ContRep: Content repository (SAP content repository ID) DocID: DocumentID ARObject: SAP Archivobject (SAP Documenttype) DocType: Mimetype (e.x. FAX for AL 3.1, or image/tiff for AL 4.5)

ExtraData: for future use.

Returnvalue: 0 = ok <0 = Error

Page 64: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 64/99 Installation Guide

2.2.3.3.5 SAPDocumentAttach

This function assigns a document to a SAP Object. short SAPDocumentAttach(BSTR ContRepID, BSTR DocID, BSTR ARObject, BSTR

SAPObj, BSTR SAPObjID)

Parameter: ContRep: Content repository (SAP content repository ID) DocID: DocumentID ARObject: SAP Archivobject (SAP Documenttype)

SAPObj: SAP Object (e.g. BKPF)

SAPObjID: SAP Object-ID Returnvalue: 0 = ok <0 = Error

2.2.3.3.6 SAPCallUsrFct

This Function calls the RFC Function Z_KGSDMSAUTOMUSRFCT. You can use this RFC Function to add your own ABAP Code for special requirements. BSTR SAPCallUsrFct(BSTR OpCode,BSTR InParam)

Parameter:

OpCode will be passed to Function Z_KGSDMSAUTOMUSRFCT InParameter will be passed to Function Z_KGSDMSAUTOMUSRFCT

Return: Returnstring from Function Z_KGSACTIVATORUSRFCT in the case of an error the function returns an empty string

Page 65: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 65/99 Installation Guide

The RFC Function must be defined as follow:

Page 66: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 66/99 Installation Guide

Page 67: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 67/99 Installation Guide

Page 68: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 68/99 Installation Guide

FUNCTION Z_KGSDMSAUTOMUSRFCT.

*"----------------------------------------------------------------------

*"*"Lokale Schnittstelle:

*" IMPORTING

*" VALUE(OPCODE) TYPE CHAR1024 OPTIONAL

*" VALUE(INPARAM) TYPE CHAR1024 OPTIONAL

*" EXPORTING

*" VALUE(OUTPARAM) TYPE CHAR1024

*" VALUE(RETURN) TYPE BAPIRET1

*"----------------------------------------------------------------------

IF OPCODE = '1'.

*" Here you can write your own code for Opcode 1

*" IF INPARAM = .........

OUTPARAM = 'No ABAP-Code implemented for OPCODE 1 yet'.

ENDIF.

IF OPCODE = '2'.

*" Here you can write your own code for Opcode 2

*" IF INPARAM = .........

OUTPARAM = 'No ABAP-Code implemented for OPCODE 2 yet'.

ENDIF.

IF sy-subrc NE 0.

CALL FUNCTION 'BALW_BAPIRETURN_GET1'

EXPORTING

type = SY-MSGTY

cl = SY-MSGID

number = SY-MSGNO

par1 = SY-MSGV1

par2 = SY-MSGV2

par3 = SY-MSGV3

par4 = SY-MSGV4

IMPORTING

bapireturn = return.

ENDIF.

Page 69: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 69/99 Installation Guide

2.2.3.4 Examples

2.2.3.4.1 Scenario late archiving with barcode

Dim nRetCode As Integer

Dim sDocId As String

Set dms = CreateObject("dmsautom.sapole")

„ store TIF file in DMS

sDocId = dms.DMSComponentCreate("0045", “T1”, "data", "", "FAX", "",

"rcud", "e:\scanqueue\document.tif")

„ Set Barcode Property

If Len(sDocId) > 0 Then

nRetCode = dms.DMSDocumentPropertySet(“T1”, sDocId, 7, "12345678")

Else

nRetCode = -1

End If

„ Error Handling

If nRetCode <> 0 Then

MsgBox (dms.DMSGetLastErrorMsg())

End If

Set dms = Nothing

Page 70: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 70/99 Installation Guide

2.2.3.4.2 Scenario early archiving

Dim DMSA As Object

Dim nRetCode As Integer

Dim sDocId As String

Set DMSA = CreateObject("dmsautom.sapole")

„ store TIF file in DMS

sDocId = dms.DMSComponentCreate("0045", “T1”, "data", "", "FAX", "",

"rcud", "e:\scanqueue\document.tif")

If Len(sDocId) = 0 Then

MsgBox (dms.DMSGetLastErrorMsg())

nRetCode = -1

End If

„ create SAP Workitem

If nRetCode = 0 Then

nRetCode = DMSA.SAPConnectionOpen("800", "user", "passw", "129.1.1.255",

0, "", "", "")

If nRetCode = 0 Then

nRetCode = DMSA.SAPWorkItemCreate("T1", sDocID, "ZFIEARLY", "FAX",

"")

End If

If nRetCode <> 0 Then

MsgBox (DMSA.SAPGetLastErrorMsg())

End If

DMSA.SAPConnectionClose()

End If

Set DMSA = Nothing

Page 71: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 71/99 Installation Guide

2.2.3.4.3 Calling SAP userfunction

Option Explicit

Dim myObj

Dim bOk

Dim nRetCode

Dim sRetValue

bOk = true

set myObj = CreateObject("dmsautom.sapole")

nRetCode=myObj.SAPConnectionOpen("800","root","maximal","129.1.1.202",0,"",""

,"DE")

if nRetCode<>0 then

MsgBox (myObj.SAPGetLastErrorMsg())

bOk = false

end if

if bOk=true then

sRetValue = myObj.SAPCallUsrFct("1","Parameter in String")

if Len(sRetValue) = 0 then

MsgBox (myObj.SAPGetLastErrorMsg())

else

MsgBox (sRetValue)

end if

end if

nRetCode=myObj.SAPConnectionClose()

MsgBox ("Skript finished")

set myObj = nothing

Page 72: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 72/99 Installation Guide

3 Installation and Configuration of Additional Modules

3.1 SAP Indexexport

This function provides additional keys for the specified document. The Keylist contains meta-data information about the corresponding SAP Object and offers the opportunity to map these information to the Document for an SAPGUI independent search functionality. All in the document storage process involved modules are able to activate the Keyfetch functionality of the ContentServer.

SAP- R/3

Server

4.5, 4.6

HTTP

Contenserver

DMS

System

SAPALINK

Send Barcode

Documents via ArchiveLink

Call RFC-Function Z_KGSKEYEXPORT

Keys

DocumentKeySet

KGS SAP

Activator

Barcode / Document Info

External

Datasource

e.g. Scanner

Documents SAP Workflow

3.1.1 Requirements

To enable this funcationality the following requirements have to be met:

SAPALINK function “DocumentKeySet” has to be implemented by the DMS vendor

INIT parameters of HTTP ContentServer have to be set up Remote Function “Z_KGSKEYEXPORT” has to be implemented on the SAP

System

Page 73: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 73/99 Installation Guide

3.1.2 Installation/Configuration

3.1.2.1 HTTP ContentServer

The SAP Keyexport functionality is available with release 2.4.0. However the latest available release of the ContentServer should be installed. To enable the functionality the following INIT params of the ContentServer have to be configured: Parameter name Value Description Default value (if not

specified) ContRepsForIndexE

xport <ContRep1>,<ContRep2>,…, <ContRepn>

ContentRepository list for which CR IndexExport is enabled (subset of “Repositories”). For RFC-connection the BCSAPxxx params are used. Attention: Also an appropriate remote function “Z_KGSKEYEXPORT” on the SAP side has to be installed. If Keyexport is triggered through SAP event, you may leave this parameter empty

None

IndexLicenseKey <String> License-key needed, if (optional) module IndexExport is installed and “ContRepsForIndexExport” contains at least one

entry.

After installation, this feature has to be licensed. In the ContentServer logfile you'll find the message: “...License for KGS IndexExport NOT installed. Please install license for SiteCode: >>xyz<<” (e.g. >>E759F3971<<) Please request a license-key @ http://www.kgs-software.com/index.php/en/request-a-license-key.html and install by assigning this value.

None

BCSAPClient <String> Client needed for RFC communication with SAP application server (CPIC user). Default for all ContRepIDs, defined with param Repositories. To specify a specific value for a repository use BCSAPClient_<Repository name> (e.g. : BCSAPClient_FI=000 for Repository FI)

None Example: “800”

Page 74: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 74/99 Installation Guide

BCSAPUser <String> User name needed for RFC communication with SAP application server (CPIC user). Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

BCSAPPassword <String> Password for BCSAPUser name needed for RFC communication with SAP application server (CPIC user). Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None

BCSAPLanguage <String> Language for RFC communication with SAP application server. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None Example: “EN”

BCSAPHost <String> SAP Server‟s IP Address (or name) for RFC communication. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient. Attention: Only valid IP-addresses are allowed for this parameter, no names!

None Example: “192.168.52.122”

BCSAPSysNr <String> System number for RFC communication with SAP application server. Default for all ContRepIDs, defined with Repositories. To specify a specific value for a repository see BCSAPClient

None Example: “00”

Please notice: Since this is an optional function, a license key is required to enable it. For details refere to the description of the INIT param “IndexLicenseKey”

Alter you have specified the parameters, please make the SAPALINK implementation (DLL and/or Java class file) available to the ContentServer. The configuration of the ContentServer can be tested with the ServerInfo command (http://localhost:8080/servlet/ContentServer?serverInfo&resultAs=html). The ContentRepositories you have configured for Indexexport should be described with the matching information, e.g.: Repository: "T1" RepositoryStatus: "online" IndexExport enabled Status of connection to (Host >>localhost<< ;Client >>800<< ;User >>root<<): Succeeded

Page 75: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 75/99 Installation Guide

3.1.2.2 SAP Remote Function

On the SAP side the remote function “Z_KGSKEYEXPORT” is responsable to select the key values that are to be reindexed to the already archived documents. This function will be called by the ContentServer for every document that comes through the http ArchiveLink interface and is to be stored in one of the ContentRepositories that are defined with the parameter “ContRepsForIndexExport”.

To install the remote function “Z_KGSKEYEXPORT” proceed as following: Request for the SAP transport files by sending an eMail to [email protected] Install the SAP transport:

- Extract the transport files (ZIP) into the tranport directory of your SAP application server (normaly: \\<server>\sapmnt)

- Logon to SAP as Administrador account - Start transaction “STMS”

Page 76: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 76/99 Installation Guide

Press “F5” for Import overview

Select the Queue you want to import the transport into (here in this example KG1) by doubble click.

Page 77: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 77/99 Installation Guide

From the menú choose “Extras->Other requests->Add”

Page 78: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 78/99 Installation Guide

Fill in the request name “KG1K900043”

and confirm

Page 79: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 79/99 Installation Guide

choose “Yes” and the transport request will be added to your Queue.

Select the request and choose Ctrl.+F11 to start the import. Specify the target client for your system (here: 800)

Page 80: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 80/99 Installation Guide

synchronous mode

and check the following options

Page 81: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 81/99 Installation Guide

then confirm. The import should now be executed. This can take several minutes.

Page 82: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 82/99 Installation Guide

Alter completion the screen should appear like this:

The SAP remote function “Z_KGSKEYEXPORT” is now available in the SAP system an can be configured for exporting the key values, the application requires.

Page 83: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 83/99 Installation Guide

To change the ABAP code, please use the transaction “SE37”

and press “Change”. The Source can be modified to your needs, saved and activated.

Page 84: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 84/99 Installation Guide

3.1.2.3 SAP Event-driven index download

The index download can be triggered by SAP events. To intercept a SAP event, you have to specify the receiver function Z_KGSKEYEXPORT_REC_FB for this event in transaction SWETYPV. Please make sure that the event which you want to intercept is activated (for details see SAP documentation).

3.1.2.3.1 Sample: “storing for subsequent entry”

In the AL Scenario “storing for subsequent entry”, the event “IMAGE ASSIGNED” is triggered when the link between the SAP business object and the image has taken place. To intercept this event as a trigger for providing the index data, please proceed as follows: Transaction: SWETYPV

Page 85: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 85/99 Installation Guide

Button: New Entries

button: save

3.1.2.3.2 Sample: “indexdownload triggered by writing link entries ”

In the case of the late storage scenario, SAP creates ASSIGNED events. To enable the indexdownload triggered by this event, please proceed as follows:

ArchiveLink events are not triggered until you have activated them in transaction OAG1.

Transaction: OAG1

Page 86: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 86/99 Installation Guide

check button “Generate event Assigned” button: save

Page 87: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 87/99 Installation Guide

Transaction: SWETYPV

Button: New Entries

Page 88: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 88/99 Installation Guide

button: save

Page 89: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 89/99 Installation Guide

4 URL Commands As of release 2.6.0 P1 there is a possibility to request Document Properties using a specific URL. As input parameters with that “GET” method there are Content Repository name, SAP Document ID and the Property ID to be specified in order to receive the result value for that property. The following example shows the exact syntax and result message where Property ID 100 (-> Centera CLIP ID) is retrieved for SAP document with the ID 1234567, residing in Content Repository T1:

Page 90: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 90/99 Installation Guide

5 SAP DocumentFinder The ContentServer supports the SAP DocumentFinder Specification. If this addional modul is licensed, SAP can be configured to be used with the ContentServer: Maintain RFC Destination (Transaction „SM59“) Create a new RFC-Destination for the Document Finder

Page 91: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 91/99 Installation Guide

Should the SAP System that uses the Document Finder functionality be UNICODE enabled, please specify the settings under "MDMP & Unicode" as follows: Try "Connection Test" in order to check whether communication with the ContentServer is working.

Create Document Area for Document Finder (Transaction “OADOCSP”)

Page 92: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 92/99 Installation Guide

Save.

Page 93: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 93/99 Installation Guide

As of ECC 6.0 you may use transaction OADFFCUST in order to create the Document Area:

Page 94: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 94/99 Installation Guide

Using the DocumentFinder Interface (Transaction “OA_FIND”)

Choose your created Document Area

Page 95: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 95/99 Installation Guide

Query Mask will be displayed corresponding to the meta information fetched from the external archive. Example:

Specify query attributes and “Start Search” Hitlist (from external archive) will be displayed

Page 96: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 96/99 Installation Guide

Select Document and use context menu (right mouse button) to display the (archiveLink) image

Page 97: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 97/99 Installation Guide

Document will be fetched out of the external archive using the ArchiveLink interface (ContentServer) and displayed

Page 98: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 98/99 Installation Guide

Page 99: KGSSAPALink45

SAPALINK© Release 4.5 Version 4.0.4 Page 99/99 Installation Guide