cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Build app transaction data not being saved to Visual cloud function DB

depratihari
Explorer
484

Hi Community Members,

I am trying to create a Build app & bound the data of Build app data entry fields to Visual Could function entity fields.

Transaction screen Page in Canvas Submit button on tap event "Create data record" Data Function is used.

Data Variable linkage to VCF entity is maintained

But while testing the app data is being saved to VCF DB with a blank record means only UUID is auto inserted but rest of the fields are still blank. (Screen shot attached), can anyone help here to know what went wrong ?

 

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

I am assuming your data variable is of type new (not list or single record) - this is an important piece of information. And as @Jakub_Roguski mentioned, best to show where you populate that "new" type of data variable, which is empty by default. Also, it is worthwhile checking the Developer Tools when clicking the submit button, because you can see the payload being sent and therefore whether the record is being populated.

Dan_Wroblewski
Developer Advocate
Developer Advocate
I am assuming your data variable is of type new (not list or single record) - this is an important piece of information.
View Entire Topic
depratihari
Explorer
0 Kudos

Dan_Wroblewski, Thanks for your response.

I have verified and found data variable is set as "New data record".  Still its updating a blank entry in VCF DB.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Can you show the developer tools and that you are sending a payload to VCF? Also, are you getting back an output from the top output of the Create Record flow function? And can you in some other way verifying that you are sending the data?

Sending no data or not having permission are the most likely answers. After we eliminate those, we can look at if here is some bug in VCF.

depratihari
Explorer
0 Kudos
@Dan_Wroblewski , I found the mistake. Mistake was even after binding the screen field value variable to page variable i additionally configured events(component on change) to set the variable which was reason for making the variable value to blank. Now i removed event variable set functions & its working perfectly fine. Thank you very much for your guidance.