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:
- Provide the
webClient-config.properties(or individualwebClient-config.sap.system.<X>.properties) as described above. - Enter each new
SAP Object Typeas a new line at the end of the file. - Split the
SAP Object Typeand the URL by an equals sign. - 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