A search is performed on SAP S/4HANA for unprocessed invoice records. If a record is found, it is parsed, and the matching outbound route is searched. If a match occurs, the SAP S/4HANA Invoice JSON is translated to EDI 810 and sent to the trading partner.
This section explains the settings required to configure the integration between SAP S/4HANA to retrieve the Invoices and transform the same to EDI X12 810 format for the Trading Partner integration.
Configure
- Process Schedulers: LaunchSalesOrderInvoicePS is scheduled to run every 1 hour. To adjust these settings, refer to the steps in Creating and Defining Process Schedules.
- SAP S/4HANA application. If the Invoice is supposed to be converted to EDI and then sent to the Trading partners from all the available invoices in SAP S/4HANA, then configure the custom field BillingDocument/CIC_Status with a Pending value, and set the Grocery status flag to NO.
- Outbound Route. In the Shipment source payload, SoldToParty identifies the Trading Partner to whom the 810 should be sent. SoldToParty is used in the look-up against the table SapHana_Partners to find the trading partner name. Update the Outbound Route settings by providing the appropriate Outbound route BP in the settings of the transaction spreadsheet.
- EDI Enveloper. The X12 810 envelope details and the trading partner endpoint to which the X12 810 is to be sent should be configured in the partner profile. (Network>Partners>Transactions>Settings.)
Run Flow
- Before proceeding, ensure that the following Projects have been deployed. If any of these Projects are already deployed and remain unmodified, there is no need to redeploy them. Similarly, if any of these Projects were not checked out to your Workspace, they can be skipped from the deployment process.
com._customer_booster.cim.saphana
com._customer_.cim.saphana
com.cleo.customer.edi
com.cleo.b2bcloud.core
com.cleo.b2biaas.clarify
com.cleo.cic.cim.cockpit.rulesets
com.cleo.cic.cim.schemas
com.cleo.cic.cockpit.core
com.cleo.cic.connector.saphana
com.cleo.cic.pt.api
com.cleo.cic.pt.edi.schemas
com.cleo.cic.util
- Run the flow either manually or automatically:
- Manually run the Business Process flow by launching LaunchSalesInvoiceBPS.
- Automatically run the Scheduler LaunchSalesInvoicePS.sched to execute the flow based on the specified interval.
- Monitor the flow by using the following
- CIC Studio Auditor log entries
- CIC Cockpit views: Messages, Jobs, Dashboard>Charts
In case of errors: If any of the processing steps fail, a ticket is created with the details; the same is visible in the CIC Cockpit's Message and Job views with the Issue Flag.
For Outbound EDI validation use cases, see Validation Rules in the Transformation Settings object for validation rules.
Customize
- You can change how often Invoices are retrieved from SAP S/4HANA. The LaunchSalesInvoicePS BP Scheduler (in
com.customer.booster.cim.saphana
package) retrieves invoices every 1 hour. You can change this to run more or less frequently. To adjust these settings, refer to the steps in Creating and Defining Process Schedules. - Add more details to the X12 810 from the SAP S/4HANA Invoice.
- The values that are being mapped are documented in the Integration design spec template.
- Contact Cleo support if you need any assistance while adding additional rules.
Comments
0 comments
Please sign in to leave a comment.