|
While replicating PurchaseOrderExportRequest or other documents from Ariba Procurement (P2P), I can see the error below in the SAP Integration Suite, Managed Gateway for Spend Management and SAP Business Network:
A sequence of more than one item is not allowed as the first argument of fn:substring() ("abc@dummyhost.com", " abc@dummyhost.com ")
You have mapped a field in SAP Integration Suite, Managed Gateway for Spend Management and SAP Business Network mapping tool to an item segment using a substring function and have not added a loop, so the mapping is not considering subsequent items.
You need to add a loop to the item segment to make sure that the mapping is applied for all the subsequent items:
Now you are in the mapping for this specific document type, do the following:
SAP Integration Suite Managed Gateway > Managed Gateway for Procurement