cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue in Smart Filter Bar with Variant Management

0 Likes
2,002

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Found the solution, Removed this code while testing from backend and it started working

sap.ui.fl.FakeLrepConnector.enableFakeConnector("./service/component-test-changes.json");

faal
Explorer
0 Likes
crazy

Answers (2)

Answers (2)

Vishrut
Product and Topic Expert
Product and Topic Expert

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

Former Member
0 Likes
I'm facing a very similar issue, could you find the solution for yours?
0 Likes

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.

variant-payload.png

change-payload.png

My view code

view-code.png

Result of variant and change call.

variant-call-response.png

change-call-response.png

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