cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BUILD APPS: Cloud Project Configuration Not found

SM2023
Explorer
0 Kudos

Dear SAP Build experts!

I have created an entity with fields and is represented with data as below:

I have created a cloud function as below to retrieve the amount based on filter criteria:

My front end has a basic text box and input fields for entering the three input parameters. And a button to execute the cloud function and return the output in a text box below. But i get the error: "Cloud project configuration not found".

My front end configuration is as below:

Logic in my "Get Price Button"

the app variable set at this step is then set as content for the "Condition Rate amount" text box component.

Do any one identify the error? What could be wrong? I am suspecting that I may not have done the binding correctly.

Thanks in advance!

BR,

Smitha

SM2023
Explorer
0 Kudos

Additional info:

I was able to create a new data record into the visual back end application entity using the Create Record function.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

smithamadhavan23

Have you solved this issue?

If yes, great ... please call or accept answer.

If not, can you explain a little more - I assume the error message is output of the execute cloud function error message? Can you execute cloud function with hardcoded values?

If you want, I'd be happy to look at it if you send me the backend and frontend projects

SM2023
Explorer
0 Kudos

Hello daniel.wroblewski

With the help of the SAP BTP team, we figured out that "Cloud Project configuration not found" error was due to a know bug, which happened probably in some later release.

Due to the bug, somehow the connected system ID was not being resolved or identified, due to which I was getting the error. I understand that a hotfix is in progress and would be released shortly. Meanwhile, for my project, we have used REDUX tool to overwrite the ID for the project. This is a temporary work around and has to be done every time the deployment is done. (The screenshot is after updating the ID, but I have masked the content heavily)

Accepted Solutions (0)

Answers (2)

Answers (2)

r_schroth
Explorer
0 Kudos

I have the same issue with a simple function. I already recreated the function, recreated the logic part of the UI component but always get this error.

Is there any note or ticket that I can lookup or follow to get notified, once this "known bug" has been resolved?

We are trying to prototype some pretty basic stuff here and are already stuck with this confusing error.

Thanks in advance!

Roland

SM2023
Explorer
0 Kudos

I was informed that it takes a few weeks for the bug fix and it should have been in place by now.

I would suggest to raise this in the SAP Build Apps partner forum. https://blogs.sap.com/2024/01/12/join-the-sap-builders-group-your-hub-for-all-things-sap-build/

Can you also check the workaround done in one of my earlier comments.

Br,

Smitha

SM2023
Explorer
0 Kudos
As per the partner update call on 30.01.2024, this fix is in place now. So you should not get this error anymore!
merituulimelkko
Product and Topic Expert
Product and Topic Expert
0 Kudos

From the error it sounds like the configuration of the cloud function in Execute Cloud Function may somehow be incorrect. Make sure that you have deployed latest changes for the backend and then check the configuration of the Execute Cloud Function flow function. If it still does not work after reconfiguring it please let me know.

SM2023
Explorer
0 Kudos

Thank you Melkko!

I see that all my changes are updated and deployed for the back end.

1. When you say configuration, do i need to do something here?

2. Is there any way to locally test the Cloud function within the back end application?

3. I think i am pretty close, I just need to retrieve one field value from a record in the back end entity by giving a filter condition.

So for this example, I want to get the conditionRateAmount from the Get Price entity table of records when conditionType = "PR00", createdByUser = "USER1" and conditionRecord="1234". I want the cloud function to return "500.0000000000".

Thank you!

merituulimelkko
Product and Topic Expert
Product and Topic Expert
0 Kudos

smithamadhavan23 for the configuration, I mean the flow function "Execute cloud function" in SAP Build Apps app editor side, on the logic canvas (the logic in your get price button). Are the inputs for that flow function correct? If they seem to be, I would test out each separate component of the cloud function in the backend, I think there was a test or run button for that there if I don't remember wrong.