Symptom
SAP Ariba is successfully integrated with Signavio Process Intelligence (PINT) via SAPAribdata:image/jpeg;base64,tor using the "Configuration File Template Single Data Source" (see Documents). A modification to the configuration file is required to include additional Ariba API data fields.
The "SAP Ariba Integration with SAP Signavio Process Intelligence– Deployment Guide" (Section 4.6, pages 13–14, found in Documents) states that the standard configuration file should not be modified. However, the subsequent statement — "Changes can be made in the resourceItemsCommonConfig section to overwrite settings globally for all data sources" introduces ambiguity.
Which sections of the configuration file are permitted to be modified, and which must remain unchanged?
Environment
Resolution
It is not recommended to customize the Resource Items Common Config (resourceItemsCommonConfig[*]) elements as those are shared across all the Resource Items (resourceItemsConfig[*].resourceItems.*) entries in case of multi Data Source config (multiple SAP Ariba tenants config). Still customization of (resourceItemsCommonConfig[*]) is possible if the given change shall be applied globally for all Data Sources in the config (all SAP Ariba tenants in the config). If the resourceItemsCommonConfig[*] is configured, special attention to merging of new config versions shall be applied so the customizations are not lost.
Also the understanding of the Signavio Ingestion API behavior is that if you add additional fields into extraction , the previous data already integrated into that particular Signavio process intelligence table need to be deleted for the newly added fields to take effect.
The recommended approach is to copy the content to be modified from (one of as per the need):
resourceItemsCommonConfig[*].resourceItems.*.primaryKeys
resourceItemsCommonConfig[*].resourceItems.*.columnMappings
resourceItemsCommonConfig[*].resourceItems.*.view
resourceItemsCommonConfig[*].resourceItems.*.extensions.schema
into:
resourceItemsConfig[*].resourceItems.*.primaryKeys
resourceItemsConfig[*].resourceItems.*.columnMappings
resourceItemsConfig[*].resourceItems.*.view
resourceItemsConfig[*].resourceItems.*.extensions.schema
on the appropriate place with placeholder /*Placeholder for ...
Example:
Before:
resourceItemsConfig
...
"dataSource": "SAPAribaRealm_{Realm}",
"api": "analytics-reporting",
"resourceItems": {
"DES_RequisitionLineItemFact": {
"type": "view",
"name": "Ariba_{Realm}requisitionLineItems<from>_<to>",
"primaryKeys": "/Placeholder for primarykey set in case it is different for dataSources/",
"columnMappings": "/Placeholder for columnmappings set in case it is different for dataSources/",
"view": "{}/*Placeholder for view body in case view is different for dataSources/{*}",
"extensions": [
{
"type": "Signavio",
"dataTarget": "All",
"api": "ingestion",
"pipeline": "procurement",
"schema": "{}/*Placeholder for schema body in case schema is different for dataSources/{*}"
}
]
},
...
resourceItemsCommonConfig
...
"DES_RequisitionLineItemFact": {
"primaryKeys": [
"Realm",
"RequisitionId",
"RequisitionLineNumber",
...
},
"extensions": {
"schema": {
"type": "record",
"name": "requisitionLineItems",
"fields": [
...
{
"name": "Realm",
"type": [
"null",
"string"
]
},
...
{
"name": "RequisitionId",
"type": [
"null",
"string"
]
},
{
"name": "RequisitionLineNumber",
"type": [
"null",
"string"
]
},
...
]
}
}
},
...
----------------------------------------------
After:
resourceItemsConfig
...
"dataSource": "SAPAribaRealm_{Realm}",
"api": "analytics-reporting",
"resourceItems": {
"DES_RequisitionLineItemFact": {
"type": "view",
"name": "Ariba_{Realm}requisitionLineItems<from>_<to>",
"primaryKeys": "/Placeholder for primarykey set in case it is different for dataSources/",
"columnMappings": "/Placeholder for columnmappings set in case it is different for dataSources/",
"view": {
"status": "published",
"documentType": "RequisitionLineItemFact",
"selectAttributes": [
"POId",
"POLineNumber",
"ReqApprovedDate",
"RequisitionId",
"RequisitionLineNumber",
"isPartialItem",
"RequisitionDate",
"ItemCategory",
"LineType",
"SourceSystem",
"SplitAccountingNumber",
"TimeUpdated",
>>> "AddedItem" <<<
],
"filterExpressions": [
{
"name": "updatedDateTo",
"field": "TimeUpdated",
"op": "<=",
"defaultValue": null
},
{
"name": "updatedDateFrom",
"field": "TimeUpdated",
"op": ">",
"defaultValue": null
}
]
},
"extensions": [
{
"type": "Signavio",
"dataTarget": "All",
"api": "ingestion",
"pipeline": "procurement",
"schema": {
"type": "record",
"name": "requisitionLineItems",
"fields": [
...
{
"name": "Realm",
"type": [
"null",
"string"
]
},
...
{
"name": "RequisitionId",
"type": [
"null",
"string"
]
},
{
"name": "RequisitionLineNumber",
"type": [
"null",
"string"
]
},
...
>>> {
"name": "AddedItem",
"type": [
"null",
"string" – type needs to be selected as per the SAP Ariba data type/content format exported
]
} <<<
]
}
}
]
},
...
resourceItemsCommonConfig (UNCHANGED)
...
"DES_RequisitionLineItemFact": {
...
"view": {
"status": "published",
"documentType": "RequisitionLineItemFact",
"selectAttributes": [
"POId",
"POLineNumber",
"ReqApprovedDate",
"RequisitionId",
"RequisitionLineNumber",
"isPartialItem",
"RequisitionDate",
"ItemCategory",
"LineType",
"SourceSystem",
"SplitAccountingNumber",
"TimeUpdated"
],
"filterExpressions": [
{
"name": "updatedDateTo",
"field": "TimeUpdated",
"op": "<=",
"defaultValue": null
},
{
"name": "updatedDateFrom",
"field": "TimeUpdated",
"op": ">",
"defaultValue": null
}
]
},
"extensions": {
"schema": {
"type": "record",
"name": "requisitionLineItems",
"fields": [
...
{
"name": "Realm",
"type": [
"null",
"string"
]
},
...
{
"name": "RequisitionId",
"type": [
"null",
"string"
]
},
{
"name": "RequisitionLineNumber",
"type": [
"null",
"string"
]
},
...
]
}
}
},
See Also
Keywords
sap ariba integration, configuration file, api data fields, resourceItemsCommonConfig, signavio process intelligence, SAP Ariba Integration with SAP Signavio Process Intelligence , KBA , BPI-SIG-PI-DS , Data Source (CSV, Connector) , How To
SAP Knowledge Base Article - Public