on ‎2020 Nov 20 11:22 AM
Hi All,
I'm trying to set up smart filter bar with smart variant management on my app, saving to the layered repository.
I am getting below error when I run from FLP Sandbox.
GET http://HOSTNAME:PORTNUMBER/sap/bc/lrep/flex/data/APPNAME.Component 403 (Forbidden)
(Where HOSTNAME and APPNAME are the actual host and app I'm working with).
Due to this in Variant view I am getting an error "Unable to load the data."
I deployed the application in UI5 ABAP repository and tried running there too , but getting the same error in Variant view.
"Unable to load the data. This can happen if you are not connected to the Internet, or if an underlying system or component is not available."
I checked in SICF both the services are active (/SAP/BC/UI5_UI5, /SAP/BC/LREP) and there is no auth issues in SU53.
Could some one suggest and help me to resolve this?
screenshot-2020-11-20-at-43540-pm.png
Thanks
Rathish
Request clarification before answering.
Found the solution, Removed this code while testing from backend and it started working
sap.ui.fl.FakeLrepConnector.enableFakeConnector("./service/component-test-changes.json");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
THanks for posting this issue. I'm facing something similar as well. I'm getting a 503 error (temporarily unavailable) when trying to access this list report template from my Business Application studio. My application is residing in Cloud Foundry, would you have any input on it?
Thanks,
link - https://hostname/sap/bc/lrep/flex/data/vpfiorimod.invoices.Component?sap-language=EN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gregor,
/SAP/BC/LREP was not enabled in the cloud to onPremise. Due to that I was getting forbidden error. I have to configure it and then run from FLP.
Mean while I am trying to run this app from backend, but I am getting an error while saving a variant as shown below.
screenshot-2020-11-22-at-45609-pm.png
In the debugging , I found that there are 2 calls happening , one for fileType variant and one for fileType change. I am getting result as undefined in fileType change, due to this system is throwing an exception. fileType variant is success. Attaching the payload of both.
My view code
Result of variant and change call.
I went to St12 and activated the trace in backend , i don't see any call recorded.
Please let me know if anyone has faced the same issue while saving a variant.
Thanks
Rathish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.