Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor
0 Kudos

Recently, we have encountered an issue wherein, a few Invoices created on the Ariba Supplier Network were not transferred over to our SAP ERP system.

The SAP Netweaver PI  Ariba Network Sender adapter was configured to pick these invoices in cXML format and post them as IDOCs in our SAP ERP system.

However, in this case, there were some issues with the content of the invoices and the SAP PI AN Adapter was unable to pick up from the Ariba Supplier Network,

The default trace files did provide some information on why the sender adapter was unable to pick up the invoice, but the business wanted a more "visible" process of notification of these type of errors.

For other errors like mapping and receiver connectivity issues, we already have the standard alert configuration in SAP PI, but in this case the standard alert mechanism would not be helpful, as there is no message id created at the point of failure.

Error messages look something like this:

[Error Level] 2[Error Code] ERR302[Error Desc] Get Pending Transaction Failed[Error Message] com.ariba.asc.connector.util.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedlycom.ariba.asc.connector.exception.GetPendingTransactionException: com.ariba.asc.connector.util.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly

at com.ariba.asc.connector.controller.tasks.PendingDataDownload.downloadPendingData(

at com.ariba.asc.connector.controller.tasks.PendingDataDownload.processWithNodeLock(

at com.ariba.asc.connector.controller.tasks.PendingDataDownload.downloadbyChannel(




at Method)



Caused by: com.ariba.asc.connector.util.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly

at com.ariba.asc.connector.util.fileupload.MultipartStream.readBoundary(

at com.ariba.asc.connector.controller.handler.PendingDataDownloadHandler.processAttachmentsIfAny(

at com.ariba.asc.connector.controller.handler.PendingDataDownloadHandler.handleDataResponse(

at com.ariba.asc.connector.controller.tasks.PendingDataDownload.downloadPendingData(

... 8 more

Luckily for us, there is an option that is available to enable e-mail notifications for scenarios that are initiated from Ariba Network . I have found very little help around this topic and hence wanted to share the detailed set-up.

Here are the steps to achieve these notifications.

  1. Edit the sender "AribaNetworkAdapterSAPNetweaver" communication channel.  (I will not cover the remaining configuration steps)
  2. Scroll down to find the check box "Email Notification".
  3. Provide the  email server host name without the "smtp" prefix. This is important, i made the mistake of including the prefix  "smtp" and took some time to realize that it is not needed :smile:
  4. Provide the Sender and Receiver email address as per your requirement.

Sounds pretty straight forward , eh? Well, on hind-sight , yes!! :grin:

Labels in this area