2024 Oct 21 12:28 PM - edited 2024 Oct 21 12:38 PM
I am working on a solution where I need to upload files from SAP Build Process Automation (SAP BPA) to Amazon S3. I have already created a flow to download files from an SAP BPA screen flow, but I am facing issues connecting to S3. SAP BPA does not provide a native way to directly connect to S3, and I am unable to use Basic Authentication via SAP Cloud Platform Integration (CPI). Is there a way to achieve this integration, or would another approach be necessary
SAP Build Work Zone, advanced edition SAP Business Workflow SAP Business Process Automation by Redwood SAP Business Process Management SAP Build SAP Build Process Automation
Request clarification before answering.
Hi @vedika11
You are right, there isn't a native connector in SAP BPA directly for S3, and using SAP Cloud Platform Integration (CPI) might be restricted by the lack of support for Basic Authentication.
There are several ways but probably your simplest way is using an API-Based Approach with any AWS SDK or REST API, in 2 steps.
You use SAP BPA's capability to invoke RESTful APIs to connect to S3 directly. Amazon S3 allows to Generate Pre-Signed URLs for S3 file uploads. Pre-signed URL allows to securely uploading files without directly exposing your AWS credentials.
After this, you Invoke the Pre-Signed URL from SAP BPA: Once the pre-signed URL is generated (which could be done using a small AWS Lambda function or a custom API Gateway endpoint), you can use SAP BPA's HTTP call capabilities to upload files directly to S3 using the URL.
Like that you do not need managing AWS credentials directly within SAP BPA, as the pre-signed URL handles the authorization securely.
There are some blogs and articles on how to do these 2 steps even you see them separate, quite simple. Let me know how it goes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
64 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.