2024 Aug 26 9:36 AM
Good morning ,
i'm making a application that save data from a csv file , the upload works perfectly , but when i try to save the data this errors appears and i don't know why , everything was perfectly work but i dunnow why this appears
"TypeError: i.setStatus is not a function", can someone help me please .
2024 Aug 29 6:05 PM
2024 Sep 02 9:01 AM
Hello Dan , there is already a blog that can help you
check this : https://community.sap.com/t5/technology-blogs-by-sap/loading-data-from-a-csv-file-into-sap-build-app...
also for downlading an empty CSV file you can add a logic for Download button :
and in the right side of this logic you can run this function to convert the headers of the CSV file into Base 64 :
const headers = "";
const base64EncodedHeaders = btoa(headers);
console.log(base64EncodedHeaders);
NB: header is seperated by ";" like : "FirstName;LastName;Age;Role"
2024 Sep 03 8:38 AM - edited 2024 Sep 03 8:38 AM
2024 Sep 03 5:31 PM