Create SAP purchase order from EDI, send acknowledgment

Recipe ToolsWorkatoData ParserMarketingUtilitiesFile Transfer

What it does

When someone submits a purchase order through EDI, this automation parses the message and creates the order in SAP using robotic process automation. An X12 855 acknowledgment is then uploaded to the partner's SFTP server, with error handling if SAP creation fails.

Who it's for

Procurement teams who process inbound purchase orders and need to acknowledge them to partners without manual data entry.

How teams use this

Process inbound purchase orders automatically

Receive purchase orders, create them in SAP, and send back an X12 855 acknowledgment without manual intervention. The team saves time on data entry and partner communication.

Route orders to different SAP instances

Redirect the RPA job to create orders in a different SAP environment or subsidiary based on the partner or order type. The parsing and acknowledgment steps remain the same.

Add line-item validation before SAP creation

Include a condition to check each line item against inventory or pricing rules before the RPA job runs. Only orders that pass validation proceed to SAP.

Log all acknowledgments to a data warehouse

Set up a step to record each X12 855 message and its timestamp in a central repository for audit and reporting. This only adds a logging step after the acknowledgment is generated.

How it works

  1. Receive purchase order input. A function call submits new purchase order parameters in real time for processing through the Workato Recipe Function.
  2. Parse the purchase order message. The Edi Parser extracts data from the inbound file so the order details are ready for SAP creation and acknowledgment.
  3. Create the order in SAP. Start an RPA job in Workato Rpa that enters the parsed purchase order into SAP with retry logic. If the job fails, an error handler is invoked asynchronously to manage the issue.
  4. Generate X12 855 acknowledgment. Build an X12 855 PO Acknowledgment message in the Edi Parser to confirm receipt and processing status to the partner.
  5. Upload acknowledgment to SFTP. Send the X12 855 file to the partner's SFTP server so they receive confirmation of the order.