on 2023 Dec 10 4:06 PM
Hi Experts,
Could please suggest me or send me the related links to achieve below requirements.
As soon as any process order gets created or updated in S/4 Could. The ODATA service should get called and send the sales order details to CPI.
1. How to implement the Artifact in SAP CPI in order to get the data from ODATA API, and finally file should be created file and sent to SFTP ?
2. How to develop the API in S4 Hana side.
Thanks
Thrilok C
Request clarification before answering.
Hi Thrilock,
Hard to tell from your limited description, but are you using a third-party MES to process the orders?
In this case, check out the best practice for 3W3 or 4DN if it is for DCM.
Alternatively, you can start with consuming the Process Order events using the Event Mesh and then react with a side-by-side application.
If you are in a 3SL system, you could check out Developer Extensiibility: https://help.sap.com/docs/SAP_S4HANA_CLOUD/6aa39f1ac05441e5a23f484f31e477e7/e1059ff581854a699f157340...
Thank you
Jerry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jerry,
Thanks for the response.
To provide the little more information about my question,
1. S4Hana system will send Process order information to CPI thorough ODATA API.
2. From CPI , upon receiving the Order information, File will be created and sent to Third party.
Required assistances in below process.
1. How can ABAP developer can push the data using ODATA API
2. As I belong to Integration team, required to know how can I develop the artifact in such a way, the pushed data has to be received to CPI. (after receiving data it is straight forward to create a file and place it in 3 party SFTP server, this part can be achieved without issue.)
3. Incase data not pushed from S4Hana, how Can I pull the data from CPI ?
Thanks in advance.
Thrilok C
Hi Thrilok,
I think we are still missing necessary details on the process or the requirement you are trying to solve.
You mention the sales order, but is it always make to order process manufacturing?
(1) I am not sure what you mean by the ABAP developer pushing the data. In S/4HANA Cloud, public edition, you don't have access to generally develop ABAP Z transactions. There are developer extensibility extension points in 3SL systems and you can check the help link I sent.
If you check the best practices in the Process Navigator, 3W3 shows the process that sends the process order to a 3rd party MES, if the MES could accept the data. It's mentioned in this blog for example: https://blogs.sap.com/2019/11/11/intelligent-erp-update-manufacturing-and-supply-chain-in-sap-s-4han...
Please let us know if that works for you.
(2) You can consume the event from the Event Mesh (I provided you a link already to the events) in CPI when the process order is created.
(3) If you want to pull the data you can use the process order API (or the sales order api since you mentioned that) (https://api.sap.com/api/API_PROCESS_ORDER_2_SRV/overview)
I hope this helps
Thank you
Jerry
User | Count |
---|---|
62 | |
9 | |
8 | |
6 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.