SAP PI Error: You cannot insert object Data Type GenericCustomField | http://ariba.com/xi/SupplierManagement here
When I create the Data Type Enhancement AribaSupplierExtension in SAP PI XICONTENT for ARBCI2 tpz for SLP-Managed Gateway for Spend&Network integration using SAP PI as a middleware, following procedure mentioned in Managed Gateway for Spend&Network Configuration guide section How to maintain the data types enhancements to customize the fields for SAP Ariba Supplier Lifecycle and Performance, unable to chose GenericCustomField as a Data Type as described in point 11.d. and I get below error:
Error: You cannot insert object Data Type GenericCustomField | http://ariba.com/xi/SupplierManagement here
Please follow below step by step procedure to resolve the issue:
1. First, create a custom Software Component Version (SWCV), using below steps:
- Download the Software Component ARBCI2 100 or ARBCI2 10S depending on whether you are using SAP ERP or SAP S/4 HANA.
- Create a custom SWCV with a name in your System Landscape Directory (SLD).
- Define a dependent Software Component for ARBCI2 and SAP BS FOUNDATION:
If you use SAP ERP, choose SAP BS FOUNDATION (or)
If you use SAP S/4HANA, choose one of the following:
a. Choose S4CORE for S/4HANA version up to 1610.
b. Choose S4FND for S/4HANA version 1709 and higher.
2. Next, create a custom Namespace under the custom SWCV, using below steps:
- Login to SAP PI Enterprise Service Repository.
- Create a custom Namespace (DO NOT USE standard Namespace http://ariba.com/xi/SupplierManagement) in the newly created custom SWCV.
3. Transfer the standard Data Types into newly created custom Namespace using below steps:
- Goto Tools > Transfer Design Objects.
- Select the Source ARBCI2 100 if you use SAP ERP or ARBCI2 10S if you use SAP S/4HANA. Then choose the Target SWCV of your custom content and continue with the wizard.
- In the Select Objects step, choose Individual Objects from the object drop-down list.
- Choose Add Single Object and select Data Type.
- Select the following Objects:
- GenericCustomField
- GenericCustomFieldDescription
- GenericCustomFieldMappingName
- GenericCustomFieldName
- GenericCustomFieldRestrictions
- GenericCustomFieldTitle
- GenericCustomFieldType
- InboundServiceName
- Inclusive
- LanguageCode
- NumberValue
- OPTIONAL_Indicator
- Pattern
4. Create the Data Type Enhancement AribaSupplierExtension used to customize supplier information in custom Namespace and custom SWCV using below steps:
- Name: AribaSupplierExtension
- Namespace: custom one created in Step 2 above
- SWCV: custom one created in Step 1 above
- Data Type Enhancement: BPSUITERplctReqSuplr
- Namespace: http://sap.com/xi/SAP_BS_FND/MDG/Global2
- XML Namespace: http://ariba.com/xi/SupplierManagement
Save the above details and do not Activate yet.
5. Next, Edit the Data Type GenericCustomField and perform below actions:
- Change the Classification from Free-Style Data Type to Aggregated Data Type selecting from drop down.
- Save it and do not Activate yet.
6. Edit the Data Type Enhancement AribaSupplierExtension created in Step 4 above and perform below actions:
- Add Attribute genericCustomFieldListCompleteTransmissionIndicator and select Type as OPTIONAL_Indicator,Occurrence as optional from search help.
- Add Element GenericCustomField and select Type as GenericCustomField, Occurrence as 0.unbounded from search help.
- Save the above changes, do not Activate yet.
7. Next, Edit the Data Type GenericCustomField and perform below actions:
- Change the Classification from Aggregated Data Type to Free-Style Data Type selecting from drop down.
- Save the above change, do not Activate yet.
8. Lastly, Activate both the above standard change lists of Step 6 and Step 7 together.
9. Generate the proxy in your SAP ERP or SAP S/4HANA system. Ensure that you prefix the proxy using Z*/Y*. ( This step will not require any developer access key as the changes are done inside your custom Namespace.)
- GenericCustomField is delivered as a Free-Style Data Type in ARBCI2 PI XICONTENT tpz, however BPSUITERplctReqSuplr is of Aggregated Data Type.
- SAP PI does not support to add a Free-Style Data Type to an Aggregated Data Type used in Data Type Enhancement, as it results in incompatibility issues which is the cause of the PI error.
- Managed Gateway for Spend&Network Configuration guide section How to maintain the data types enhancements to customize the fields for SAP Ariba Supplier Lifecycle and Performance needs to be corrected to reflect the solution. The Managed Gateway for Spend&Network documentation will be corrected in future versions.
Please also refer to KBA SAP PI Error: "attribute genericCustomFieldListCompleteTransmissionIndicator is untyped" for AribaSupplierExtension Data Type Enhancement
SAP Integration Suite Managed Gateway > Managed Gateway for Sourcing Integration > Managed Gateway for Sourcing Supplier Mgmt