Import, export, and deletion of SAP documents

Each document linked to an SAP system is associated with two document types:

  • the document type for the revisions holding binary contents

  • a system document type handling all the access data for the SAP system

To process SAP documents the following commands are supported:

  • archiveSapDocuments (internally using the Integration Service createDocument request)

  • exportSAPObjects (internally triggering the FIS operation sapExport)

  • deleteSapDocuments (internally triggering the FIS operation sapDelete)

Like all other commands these commands also support the restart mode. In restart mode the documents listed in the success protocol are seen as already archived (with nothing to do).

The document type shown in the table below represents the system type "_alis_access" which is used for incoming documents via the ArchiveLink interface or by the ERP Messenger for SAP documents already existing in the system.

Name

Type

Mandatory

Default

_alis_access.contRep

String (50)

x

 

_alis_access.sapdocId

String (50)

x

 

_alis_access.pVersion

String (50)

x

"0045"

_alis_access.docProt

String (50)

x

"RUD"

_alis_access.authId

String (255)

 

 

_alis_access.linkDocId

UUID

x

 

_alis_access.archiveBatchId

String (50)

 

 

_alis_access.linkDocType

String (50)

x

 

_alis_access.logicalSystemAL

String (50)

 

 

_alis_access.expiration

String (50)

 

 

_alis_access.legal

Boolean

 

 

_alis_access.metadataUpdate

DateTime

 

 

Table 301: Internal SAP document metadata

Below is an example XML snippet which represents an _alis_access document.

Be aware: Copy and paste from an example in this PDF into a text file that shall be processed by FIS can result in errors due to the encoding of special characters that can get broken!

<documentType isSystemType="true" name="_alis_access" id="3c9a4267-cf82-11e7-8fec-ecf4bb118609">

  <attributes>

    <attribute id="3c9a1b44-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.contRep" isKey="true" minOccurs="1" maxOccurs="1">

      <type name="string" id="f084b640-ac4d-4487-bc85-6ded323538ae"/>

      <description>Name of the content repository this entry is designated for</description>

      <constraints>

        <constraint id="3ca0f929-cf82-11e7-8fec-ecf4bb118609" checker="ColumnLength">

          <settings>50</settings>

        </constraint>

      </constraints>

    </attribute>

    <attribute id="3c9a1b46-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.sapdocId" isKey="true" minOccurs="1" maxOccurs="1">

      <type name="string" id="f084b640-ac4d-4487-bc85-6ded323538ae"/>

      <description>The SAP documentId</description>

      <constraints>

        <constraint id="3ca0f92a-cf82-11e7-8fec-ecf4bb118609" checker="ColumnLength">

          <settings>50</settings>

        </constraint>

      </constraints>

    </attribute>

    <attribute id="3c9a1b48-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.pVersion" isKey="false" minOccurs="0" maxOccurs="1">

      <type name="string" id="f084b640-ac4d-4487-bc85-6ded323538ae"/>

      <description>ArchiveLink version</description>

      <constraints>

        <constraint id="3ca0f92b-cf82-11e7-8fec-ecf4bb118609" checker="ColumnLength">

          <settings>50</settings>

        </constraint>

      </constraints>

    </attribute>

    <attribute id="3c9a1b4a-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.docProt" isKey="false" minOccurs="0" maxOccurs="1">

      <type name="string" id="f084b640-ac4d-4487-bc85-6ded323538ae"/>

      <description>The document protection of the entry when accessed by an SAP system</description>

      <constraints>

        <constraint id="3ca1203c-cf82-11e7-8fec-ecf4bb118609" checker="ColumnLength">

          <settings>50</settings>

        </constraint>

      </constraints>

    </attribute>

    <attribute id="3c9a1b4b-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.authId" isKey="false" minOccurs="0" maxOccurs="1">

      <type name="string" id="f084b640-ac4d-4487-bc85-6ded323538ae"/>

      <description>The authenticationId the document has been sent from - CN of the certificate</description>

      <constraints>

        <constraint id="3ca1203e-cf82-11e7-8fec-ecf4bb118609" checker="ColumnLength">

          <settings>255</settings>

        </constraint>

      </constraints>

    </attribute>

    <attribute id="3c9a1b4c-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.linkDocId" isKey="false" minOccurs="1" maxOccurs="1">

      <type name="uuid" id="725f04aa-17fd-47ef-a46d-f928e8c1d21f"/>

      <description>The ImageMaster 9 documentId</description>

      <constraints/>

    </attribute>

    <attribute id="3c9a1b4e-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.archiveBatchId" isKey="false" minOccurs="0" maxOccurs="1">

      <type name="string" id="f084b640-ac4d-4487-bc85-6ded323538ae"/>

      <description>Id of the batch process this document comes from</description>

      <constraints>

        <constraint id="3ca1474f-cf82-11e7-8fec-ecf4bb118609" checker="ColumnLength">

          <settings>50</settings>

        </constraint>

      </constraints>

    </attribute>

    <attribute id="3c9a1b50-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.linkDocType" isKey="false" minOccurs="1" maxOccurs="1">

      <type name="string" id="f084b640-ac4d-4487-bc85-6ded323538ae"/>

      <description>The ImageMaster 9 document type of linkDocId</description>

      <constraints>

        <constraint id="3ca14750-cf82-11e7-8fec-ecf4bb118609" checker="ColumnLength">

          <settings>50</settings>

        </constraint>

      </constraints>

    </attribute>

    <attribute id="3c9a1b52-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.logicalSystemAL" isKey="false" minOccurs="0" maxOccurs="1">

      <type name="string" id="f084b640-ac4d-4487-bc85-6ded323538ae"/>

      <description>The logicalSystem uniquely identifying the combination of SAP-System/ContentReposiotry/Tenate.g the destination</description>

      <constraints>

        <constraint id="3ca14751-cf82-11e7-8fec-ecf4bb118609" checker="ColumnLength">

          <settings>50</settings>

        </constraint>

      </constraints>

    </attribute>

    <attribute id="3c9a1b54-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.expiration" isKey="false" minOccurs="0" maxOccurs="1">

      <type name="string" id="f084b640-ac4d-4487-bc85-6ded323538ae"/>

      <description>The expiration of the document</description>

      <constraints>

        <constraint id="3ca16e62-cf82-11e7-8fec-ecf4bb118609" checker="ColumnLength">

          <settings>50</settings>

        </constraint>

      </constraints>

    </attribute>

    <attribute id="3c9a1b55-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.legal" isKey="false" minOccurs="0" maxOccurs="1">

      <type name="boolean" id="ea3b028a-9d39-4ce1-9063-453ee69f9884"/>

      <description>Marker if document has legal hold</description>

      <constraints/>

    </attribute>

    <attribute id="3c9a4266-cf82-11e7-8fec-ecf4bb118609" name="_alis_access.metadataUpdate" isKey="false" minOccurs="0" maxOccurs="1">

      <type name="dateTime" id="88e9cb7d-e30c-4344-8299-7c38fe02d6c5"/>

      <description>The date of last sap export metadata update</description>

      <constraints/>

    </attribute>

  </attributes>

  <links/>

  <description>The document type holding all ArchiveLink mapping information.</description>

  <folderPolicy>optional</folderPolicy>

</documentType>