cancel
Showing results for 
Search instead for 
Did you mean: 

How do I do an integration in CPI, receiving an XML and calling an API

0 Kudos

Hi,

How to do an integration in CPI, receiving a XML and calling an API dentro do SCP Public?

I will receive a XML from the legacy system and call an API to execute a process in FI.

Best regards,

Carolina

Accepted Solutions (1)

Accepted Solutions (1)

Amith_Nair
Advisor
Advisor
0 Kudos

Hi Carolina,

A similar Question was raised couple of days back as well: https://answers.sap.com/questions/13243563/view.html

My assumption is you're trying to post the Journal entries into S4HC using the CPI as the middleware.

Attached is a snippet from the CPI tenant for posting JE using CPI. the source could be .txt file, JSON file or an xml file etc. depending on where you want to fetch the file from, for e.g. SFTP or any third party system.

Please find some resources around this topic:

Post Journal Entries from an external system.

https://help.sap.com/viewer/53d48a2a603e41e9b0b1e825ded17742/1711%20500/en-US

https://blogs.sap.com/2019/02/15/user-guide-for-journal-entry-post-api-on-s4-hana-cloud/

https://blogs.sap.com/2018/03/06/journal-entry-api-extension-implementing-custom-fields-using-substi...

Hope this gives some insight!

0 Kudos

Hi amiths.nair2

That's exactly what I need.

Would you have step-by-step document creating iflow in CPI, same as the image you sent?

Best regards,

Carolina

Amith_Nair
Advisor
Advisor
0 Kudos

Hi Carolina,

Here is nice blog that covers some basics on testing an iFlow using Postman.

https://blogs.sap.com/?p=531

Good Luck!

Amith Nair

Answers (0)