SAP Manufacturing Integration and Intelligence (SAP MII) is used to improve your manufacturing processes. SAP PRESS has recently published the book Implementing SAP MII co-authored by Dipankar Saha (Principal Architect – Incture Technologies).
WRITTEN BY
Hello Everyone!
            This is my first blog post. For the past few months, I have been working on APIs as part of my work. An API is a software intermediary that allows two applications to talk to each other and also various policies can be applied to these APIs. I have created APIs in ‘Create in API designer’ component of SAP API Portal and tested various pre-packaged APIs to understand how they behave.
Introduction:
This blog post describes how to design API to upload file from your system to target system without using Postman. I have configured one iflow in SAP CPI with HTTPS on sender side and FTP adapter on receiver side. I have triggered that iflow from SAP API management to send file to target end point of iflow.
Prerequisites:
Access to SAP API Portal and SAP CPI (Cloud Platform Integration).
Host server url.
Target server url.
Steps to be followed to upload file.
Configure an iflow in SAP CPI with HTTPS on sender side and FTP adapter on receiver side. FTP adapter can be configured to send file to DriveHQ as it provides virtual FTP server to store files. Deploy the iflow and copy the end point.
Note: Keep the Post method end point same as CPI iflow end point and don’t add that end point in target server url, it will add Post method end point and trigger an iflow.
Conclusion: SAP API Management supports API-led integrations across various parties and systems. It’s very interesting and simple to design APIs in Create in Designer section in OpenAPI Specification 3.0.1. This API helps to send file from your system to target system without using Postman.
SAP Manufacturing Integration and Intelligence (SAP MII) is used to improve your manufacturing processes. SAP PRESS has recently published the book Implementing SAP MII co-authored by Dipankar Saha (Principal Architect – Incture Technologies).
This is my first blog Post where I have been tried to describe a real time scenario of CPI where we have to call the iflow followed by another iflow and spilt the data and fetch it with looping process call.