2025 Jan 06 3:24 PM - edited 2025 Jan 10 3:32 PM
Dear SAP Community,
I have an MTA app in SAP Business Application Studio, and I want to run it locally (localhost) for my JavaScript development.
This application is connected to a destination on the BTP to get data from the SAP B1 database (on-premise database) via B1if.
I am experiencing an issue with my AJAX calls to the SAP B1 database (using a destination defined in my BTP Cloud Foundry environment).
To log into my SAP BAS environment, I use the default SAP Identity Provider.
Please find attached some useful information about my destination, my BTP environment, and my BAS configuration, HAR file.
Explanation:
The calls work fine for the first/second requests, but for the third call, I get a 403 Forbidden error each time.
This issue only occurs in the local environment/execution of the BAS MTA application. Once the application is deployed, everything works fine. However, this is not practical for our IT development.
I have tested the calls in Postman, and all the calls work fine, just like the deployed version of my app.
I have noticed that during the local execution of my application, an "ARBE" cookie is automatically set and sent with the request.
I have no control over the generation, deletion, or use of this cookie (http only).
Example:
To give you a clean view of my issue, I ran an example where I execute three AJAX calls to the SAP B1 database locally—two succeed and one fails with a 403 error. The ARBE cookie is generated and sent with each call.
Building and deploying the application for every update, testing, and logging are very time-consuming. I hope you can help me find a solution.
According to "Collect Logs for SAP Business Application Studio Issues":
Here is the information:
Date and time the issue occurred: 04/12/2024 17:57
The browser console logs can be found in the attachment with the HAR file (log_browser2, HAR_file_of_the_process2(to heavy for be here, can be send by mail if you need it).
The extension installation log is available in the attachment (install_logs_BAS.txt).
I had already oppened a case on the SAP services and maintenance Dashboard (https://me.sap.com/cases/002075129500013387192024) and after a call the support redirected me here, so i hope fine a solution for my issue.
Thanks in advance for any help.
Best regards,
Arthur, Product Owner.
Request clarification before answering.
We fine the answer with SAP, and allow some Ip to fix my issue, https://help.sap.com/docs/bas/sap-business-application-studio/sap-business-application-studio-availa...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.