Unique Filenames with AS2 Communication Channel

Unique Filenames with AS2 Communication Channel

During the implementation of multiple AS2 interfaces, I found myself very often in a situation where the communication partner expected unique AS2 filenames. Unfortunately, if you leave the filename parameter in an AS2 Receiver Communication Channel (CC) blank, the filename will always be your PIs system name. In case you enter a value like “Invoice”, the filename will always be set to “Invoice”.

Archive Files with the File Receiver Communication Channel

Archive Files with the File Receiver Communication Channel

The File Sender Communication Channel is able to move processed file to an archive directory and append the current timestamp. The File Receiver Communication Channel lacks an archive parameter, which is okay in most cases. The receiving system should take care of the file after processing. But, what if the demand is to move a file to an archive directory on the receiving system before overwriting it?

Reset CAE Status for Argentina Invoices (AFIP)

Reset CAE Status for Argentina Invoices (AFIP)

During the integration of the synchronous AFIP webservice for Argentina invoices via ┬áSAP PI / PO, I did some End-to-End tests and struggled with multiple errors on PI side. Unfortunately, sometimes it was impossible to do a new test because one invoice was no longer in a send able state. The error message “Another document is already in process” is shown when clicking on “Send to AFIP” button in SAP ERP transaction “J1AEXPMONITOR”.

Reset RFC Sent Lock for Argentina Invoices (AFIP)

Reset RFC Sent Lock for Argentina Invoices (AFIP)

During the integration of the synchronous AFIP webservice for Argentina invoices via ┬áSAP PI / PO, I did some End-to-End tests and struggled with multiple errors on PI side. Unfortunately, after every test I had to create a new invoice in ERP system, because the invoice was marked as already sent. The error message “Document is in process” was shown when clicking on “Send to AFIP” button in SAP ERP transaction “J1AEXPMONITOR”.

Generate WSDLs and decoded URLs for webservices

Generate WSDLs and decoded URLs for webservices

When creating an Interface with SAP Process Integration or SAP Process Orchestration which provides a webservice, you need the WSDL file or at least the URL of your webservice. Otherwise, your partner doesn’t know how to connect to your webservice. SAP PI and PO has a great feature do generate Web Service Description Language (WSDL) files for configurations with HTTP, XI, SOAP or WS Sender Communication Channels.

Error during MDN signature validation – email addresses do not match

Error during MDN signature validation – email addresses do not match

PI AS2 Receiver channel to Mendelson AS2 Server with synchronous Message Delivery Notification (MDN) back to PI with signature validation. In the message protocol of the PI message monitor (PIMON) as well as in B2B Integration Cockpit (B2BIC) the error message “MDN message signature cannot be validated. Error is “Email address in singer certificate does not match the sender address. Signer email: [email1@email.com]. Sender email: [email2@email.com]..” is thrown.