Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

In order to use KGS DocumentRouter you may provide a configuration file that contains the DataInterface definition, as well as the ArchivingSystem definition and a configuration file that contains the SIDMapping definition.

These three definitions follow a certain structure that will be described in the following sections.

Description of DataInterface definitions

The data interface describes the data and positions of data which will be used in the linking process. Index files contain these values. Regularly the DataInterface is derived from the structure defined by the index files contents.

Any DataInterface follows one of the two following structures.

DataInterface for sets with variable length

[<DataInterface name>]
<Keyname> = <Key type> | <Separator> | <Number in Set> | <Default Value>
<Keyname> = <Key type> | <Separator> | <Number in Set> | <Default Value>

DataInterface for sets with fixed length

[<DataInterface name>]
<Keyname> = <Key type> | <Position> | <Length> | <Default Value>
<Keyname> = <Key type> | <Position> | <Length> | <Default Value>

When using a DataInterface for sets with variable length, it’s necessary to define the separator, which will be used in order split the value data stream and retrieve the values.

Keyname is the name of the variable defined within a DataInterface. The Key type has to be defined as one of the following types. Separator defines a symbol, that will be used when splitting the index file content. Number in Set defines the position of the value within the index file. Default Value can be defined as a fallback or as a static value when no value was found within the index file.

In case of a set with fixed length Length defines the length in characters of the value expected within the index file.

The following Key types are being supported by KGS DocumentRoutert.

Type symbol / Type value

Symbol / Value description

B

SAP Business Object (e.g. BKPF, VBRK, etc.)

C

SAP Content Repository ID (e.g.: FI, BU, FP, etc.)

D

SAP Archive Document ID

F

Image file name

f

The image filename will be taken the same as the index file.

H

SAP Host

I

Ignores the value

L

SAP Language

M

SAP Client

N

Defines, that the value will not be handed over to the SAP User Link Remote Function

From Version 3.1.39 onward :

Defines the Content of the ‘note’ component

O

SAP Object ID

P

SAP Password

S

SAP SystemID

T

SAP ArchiveLink Document Type (Archiving Object)

U

SAP User

X

Defines that this value will be handed over to the SAP User Link Remote Function

Y

SAP System number

b

Barcode

d

Date

g

SAP Group, which is being used in order to load balance the RFC connection

m

SAP MessageServer Host, which is being used in order to load balace RFC connection

n

SAP Client extracted out of the <SAP SID>M<SAP Client>-notation (e.g.: K47M800 will be translated to SAP Client: 800 in SAP SID K47)

p

ISRA-specific parameter which will be handed over to an ISRA interface

s

SAP System, which is being used for load balancing purposes

o

Offset within the image file (F)

l

Length from the offset within the image file

The following separators are being supported.

  • A semikolon → ;

  • A vertical bar → |

  • A hashtag → #

Sample of “DataInterface”-definition

[BASE_INTERFACE]
Filename = F | , | 1 |
ObjectID = O | , | 0 |@Filename
ContRep = C | , | 0 |FI
Objecttype = B | , | 0 |BKPF
DocType = T | , | 0 |FIIPAYMENT

Please note: Every row within a DataInterface defines a value. It’s also possible to reuse an already defined value in a DataInterface-definition by putting an @-sign before the values name and, like in the example above, using it e.g. as a fallback / default value.

Description of Archiving system definitions

It’s often necessary to define one or many connections to the archiving system, so KGS DocumentRouter knows how to communicate with the archive and where to exactly archive the processed documents.

For that reason you may want to define the connection parameters for the archiving system in another section. The sections regarding the archiving system also follow a certain structure.

Structure of an archive connection definition

[_ARC_<Name of the repository>]
HttpProtocol = <http> or <https>
HttpHost = <Host IP address> or <Host DNS name>
HttpPort = <Port used for the communication with the archiving system>
HttpPath = <Path to the servlet which will be used during the archiving process>
HttpParameters = <Additional parameters in case they are required for the connection>
Security = <0 : Security is not enabled on the repository>
or
<1 : Security is enabled and sent certificates are instantly accepted>
or
<2 : Security is enabled and sent certificates have to be enabled within the SAP system>
LateLocking = <0 : Late locking is disabled> or <1 : Late locking is enabled>

You may define multiple archiving systems in one definition file and use the required by your needs.

Sample of multiple archiving connection definitions

[_ARC_FI]
HttpProtocol = http
HttpHost = test.contentservers.kgs-software.com
HttpPort = 1234
HttpPath = /KGSAdmin-CS/contentserver
HttpParameters =
Security = 0
LateLocking = 1

[_ARC_TE]
HttpProtocol = http
HttpHost = 17.59.128.128
HttpPort = 2345
HttpPath = /KGSAdmin-CSV/contentserver
HttpParameters =
Security = 0
LateLocking = 1

Description of SIDMapping definitions

In case you require a linking to multiple SAP systems within one DocumentRouter instance you may need to define an SID-mapping file which contains the connection information required for RFC communication. Like the DataInterface-definitions the SID mapping definition follows a certain structure which allows you to define the mapping to your needs or requirements.

Structure of an SID mapping definition

[_SID_<SID configuration name>]
SAPHost = H | 0 | 0 | <IP address or hostname of the SAP system>
SAPClient = M | 0 | 0 | <Client related to the SAP system>
SAPSystemNo = Y | 0 | 0 | <System number of the SAP system>
SAPUser = U | 0 | 0 | <User used for RFC communication with the SAP system>
SAPPassword = P | 0 | 0 | <Password related to the user used for RFC communication with the SAP system>
SAPLanguage = L | 0 | 0 | <Language used for the RFC communication with the SAP system>

You may define as many SID configurations in the SID as are required by your needs.

Sample of multiple SID mapping definitions

[_SID_T32]
SAPHost = H | 0 | 0 | 127.127.127.32
SAPClient = M | 0 | 0 | 800
SAPSystemNo = Y | 0 | 0 | 00
SAPUser = U | 0 | 0 | saproot
SAPPassword = P | 0 | 0 | S3curePassw0rd!

[_SID_T42]
SAPHost = H | 0 | 0 | testsapsystem.kgs-software.com
SAPClient = M | 0 | 0 | 800
SAPSystemNo Y | 0 | 0 | 00
SAPUser = U | 0 | 0 | saproot
SAPPassword = P | 0 | 0 | S3curePassw0rd!
SAPLanguage = L | 0 | 0 | EN

  • No labels