on 2024 Jul 15 3:02 PM
Hi Team,
Greetings!
I have a requirement to trigger Build Process Automation from Custom UI5 application developed in BAS. I have gone through multiple tutorials but all are suggesting the triggering of BPA from Build Apps.
Please guide me on this.
Thanks & Regards,
Ayushi Shrivastava
Request clarification before answering.
@VaradBhagwat The second 2 screenshots are hard to read.
1) Where are you sending the credentials?
2) We usually solve CORS by creating a proxy service, or more simply using BTP destinations
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've set up the destinations and provided the service key etc. however, I'm still having doubt how to call the SBPA API from UI5 app and using the destinations to avoid CORS issue. Is the code snippet provided a correct method or there is another way to trigger API as per current technical design/architecture ? My overall BAS code structure modules is as follows - 1. A MTAR module project which has a a. Managed App router, b. Workflow Start UI module for approval view layout 2. A custom UI5 app which will trigger the BPA API (separate from above mentioned MTAR module project) 3. SBPA approval project (API trigger process as per template Sales Order Management MI04 as per the tutorial https://developers.sap.com/tutorials/spa-academy-salesorder.html ) 4. SAP Build Workzone tile to launch app and trigger process (UI5 app as in #2 above)
2. Error in console
3. CORS error
User | Count |
---|---|
62 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
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.