Incture
Incture logo



About Us

Who We Are

Team

Careers

Customer

Customers

Partners

Partners

Partners

Inchara - CSR

Partners

Contact Us

Latest News

Digital and AI

Overview

data AI transformation

Data & AI

  - Data Analytics

  -  Generative AI

lntegration

Application Development & Automation

  - Intelligent Process Automation

  -  Mobility & UX

cloud-computing

Cloud Platform & Solutions

Robotic Process Automation

Sustainability Management

SAP Solutions

Solutions

Oil & Gas logo

SAP Business Technology Platform

-  Application Development

-  Data Analytics

-  Artificial Intelligence

-  Integration Suite

SAP Business Data Cloud

-  BOBJ Modernization

-  BW Modernization

SAP Digital Manufacturing

SAP Fashion Manufacturing

Services

SAP Core Services

Industries

Consumer product grp logo

Consumer Products & Retail
Drive Intelligent Value with Digital

Manufacturing

Manufacturing
Digitize E2E Value Chain

Oil & Gas logo

Oil, Gas and Energy
Extend Beyond the Barrel and Grid with Digital

- Oil and Gas

-  Utilities

Life Science logo

Life Sciences
Improve Patient Outcomes and Safety

Resources

Events

Blogs

Case Studies

Press Room

Newsletter

SAP Innovation Pitch Decks

Cherrywork Digital Applications

Overview ➜

Products

Accounts Payable Automation

Master Data Governance

Solutions
Sales order automation

Sales Order Automation

Sales order automation

Supplier Collaboration Portal

Sales order automation

Smart Warehouse 2.0

Style Bridge

StyleBridge 

Style Bridge

Intake Management 

Style Bridge

Intelligent Price Management

imo icon

Intelligent Maintenance & Operations

Cherrywork.com

Create an API in SAP API Management to upload file without using Postman

WRITTEN BY

Sumandeep Kaur
PUBLISHED​
3rd June 2022
INTEGRATION
SHARE
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.

Step 1: Configure iflow.

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.

API file upload
Step 2: Create API
Create an API in ‘Create in API designer’ section in SAP API Portal in OpenAPI Specification 3.0.1 and add target server url of iflow end point. This API will consume Multipart/form-data and will upload file.
edit in API Designer

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.

Step 3: Try Out in API Portal
Now save and deploy the API and try uploading the file in try out option in ‘Resources’. Click on choose file to select file from your system.
blog upload file new
Note: Add header as Authorization and value Basic Base64 encoded credentials same as your CPI credentials.
Step 4: Execute and file will be sent.
Click on execute, your CPI iflow will be triggered and file will be sent through FTP adapter to DriveHQ.
Drive Start Menu
Note: Files with .txt format can be downloaded and opened. But files with .pdf and .docx formats have to be edited in DriveHQ and add extension of file format (.docx,.pdf ) before downloading.

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.

Related Stories
SAP BW 7.5 to BW PCE on BDC: Enabling a Secure Lift-and-Shift Migration with Incture

SAP BW 7.5 to BW PCE on BDC: Enabling a Secure Lift-and-Shift Migration with Incture

As enterprises pivot toward cloud-first strategies, organizations running SAP BW 7.5 on-premises face the challenge of modernizing without losing years of investment in data infrastructure. This case study explores how Incture enabled a seamless SAP BW 7.5 to BW PCE migration using a structured lift-and-shift approach on SAP Business Data Cloud (BDC). By leveraging automated assessment accelerators and SAP-aligned technical rigor, the engagement provided a stable, scalable, and future-ready foundation. Discover how to achieve a secure transition to a cloud-hosted BW environment while ensuring operational continuity and minimal business disruption.

Strengthening compliance, quality, and operational agility across Life Sciences

Strengthening compliance, quality, and operational agility across Life Sciences

Across the Life Sciences industry, companies face pressure to modernize operations while maintaining compliance and quality standards. Complex supply chains, regulatory needs, and the move toward personalized care demand innovation across clinical, manufacturing, and commercial functions. Managing fragmented data and ensuring audit-ready processes remain key challenges. Digital transformation powered by scalable, intelligent platforms like SAP BTP enables enterprises to connect data, automate processes, and enhance decision-making with agility and efficiency.

author avatar
Sumandeep Kaur