Behavior: sapContentConnectorCreateArchivelink - Behavior: sapContentConnectorCreateArchivelink - Alfresco - Alfresco Content Connector for SAP Applications - Alfresco/Alfresco-Content-Connector-for-SAP-Applications/5.2/Alfresco-Content-Connector-for-SAP-Applications/Alfresco-Content-Connector-for-SAP-Applications/Configure/Advanced-configuration/Enable-Alfresco-SAP-communication/Configure-behaviors/Behavior-sapContentConnectorCreateArchivelink - 5.2

Alfresco Content Connector for SAP Applications

Platform
Alfresco
Product
Alfresco Content Connector for SAP Applications
Release
5.2
ft:lastPublication
2026-05-06T14:52:32.132000
ft:locale
en-US
ArchiveStatus
Archived

The behavior is responsible to connect the current document based on entered metadata to an existing SAP Business Object. Therefore, the SAP Create Archivelink Aspect is used. To connect a document to an SAP Business Object, the SAP Create Archivelink Aspect must be added and its values must be filled. Along with the SAP Create Archivelink Aspect the SAP Connection Details aspect will be added automatically.

Once all mandatory properties of the aspects are set and the document is saved, the behavior fires onUpdateProperties and invokes a SAP function module which will create the related entries in the SAP tables based on the aspect data. The current document is then available in the attachment list of the related SAP Business Object.

The following table lists the required data of the aspect which are required to connect the SAP Business Object:

Property Description
SAP Document Type The document type associated with the current SAP Object Type.
SAP Client The SAP client used to store in the SAP tables.
SAP Object Id The object id of the SAP Business Object where the current document should be connected to.
SAP Object Type The object type (e.g. BKPF, EQUI, BUS2012,...).
SAP Document Class Document class (e.g. PDF).
SAP Filename The file name used to display in the attachment list of the SAP Business Object.
SAP Description The description used as short-description for the attachment in the attachment list
SAP Creator The SAP user that should be used in SAP as creator of the attachment.
SAP Archive Date The archive date to be stored in SAP.

Because the SAP Connection Details aspect was automatically added along with the SAP Replicate Plus Details, there is a need to set the mandatory SAP Content Repository as well.

The SAP Replicate Plus Details and SAP Connection Details aspects with example values:

sap_conf_aspect_sap-createarchivelink