11-28-2018 7:54 AM
Hi Friends,
Need additional check in SAP to confirm that Sales Orders exist in the database prior to sending the confirmation to Hybris
When an order is injected into SAP from HYBRIS(ECommerce website] , an acknowledgment is sent back to HYBRIS for confirmation that the order has been saved.
Based on confirmation from from SAP, an order is shown to ordering Party on HyBRIS as confirmed with a value. Any mis-match between SAP and HYBRIS can potentially created issues as an order is critical to monthly purchase incentives for Factor product, and has a financial impact
There was an instance where Order was not saved successfully in SAP database, though confirmation was sent back to HYBRIS. This needs to be fixed.
For this i have an RFC fm which is creating the order through bapi
BAPI_SALESORDER_CREATEFROMDAT2bu tnot sure how to send the failure or succes cofirmaiton to hybris .
Please suggest.
11-28-2018 4:31 PM
What are you not sure of? BAPI_SALESORDER_CREATEFROMDAT2 returns a table of messages and errors can be identified. If you are calling the RFC from HYBRIS then you will know if the order was able to create or not.
11-29-2018 6:10 AM
Thanks Surbjet for reply,
My question is how to send an acknowledgment back to HYBRIS through success or failure confirmation messages like 'order has been saved or failed' and Please suggest where or how we can implement this logic?
Thanks