Add a new SAP Object Type - Add a new SAP Object Type - 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/Open-associated-Business-Object-in-SAP/Advanced-configuration/Add-a-new-SAP-Object-Type - 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

To add a new SAP Object Type that allows the user to open the associated SAP Business Object in a transaction that's not covered by default:

  1. Provide the webClient-config.properties (or individual webClient-config.sap.system.<X>.properties) as described above.
  2. Enter each new SAP Object Type as a new line at the end of the file.
  3. Split the SAP Object Type and the URL by an equals sign.
  4. Provide all necessary parameter for the URL required to invoke the transaction via SAP Web-Gui.

The following macros are supported as values for URL parameter, if applicable :

Macro Name Description
%SAP_CLIENT% The SAP Client, specified in the alfresco-global.properties for the SAP System Configuration.
%SAP_OBJECT% The SAP Object Type, read from aspect value connexasReplicate:sapobject. For example BKPF (see Job: sapContentConnectorReplicate).
%SAPARCHIVEOBJECT% The SAP Document Type, read from aspect value connexasReplicate:saparchiveobject. For example ZINVXX.
%SAPOBJECTID% The SAP Object Id, read from aspect value connexasReplicate:sapobjectid.
%SAP_RESERVE% The SAP Reserve, read from aspect value connexasReplicate:sapreserve. For example PDF.

If there is a need to have only a part of the macro value (substring) available for a parameter, the following notation like demonstrated for the SAP Object Id below must be used:

%SAP_OBJECT_ID{0:4}%

This extracts the substring beginning from 0 to 4. The start index is included while the end index is not included (as usual for Java programming language).

As an example, to override the SAP Object Type BKPF (opens transaction FB03), the following line can be added to the file:

BKPF=?~sap-client=%SAP_CLIENT%**&~transaction=FB03%20RF05LBELNR=%SAP_OBJECT_ID{4:14}%;RF05L-BUKRS=%SAP_OBJECT_ID{0:4}%;RF05LGJAHR=%SAP_OBJECT_ID{14:18}%&~okcode=/00