Showing results for 
Search instead for 
Did you mean: 

SAP Build Apps : Unable to Print list in download text file


The idea was simple.I wanted to match two list and save the matched list into text file. So what i did is i used two combo box and passing some dummy values. I am using button to match these two list with formula:

CONCAT(pageVars.matchedItems,[{'id': appVars.LHSValue, 'title': appVars.RHSValue}])

so after what i did is i used an export button in which in logic i am using download flow function and in input i am passing formula


but this was giving me following error :

so for that to resolve i used custom js in which i converted pageVars.matchedItems to text type

var result = inputs.input1.toString(); return { result};it worked, But while running i am able to download text file but in that i am not getting pageVars.matchedItems list instead i am getting the following:

I am totally confused now and don't know what to do.

Accepted Solutions (1)

Accepted Solutions (1)

Product and Topic Expert
Product and Topic Expert

Instead of custom JS, try using `ENCODE_JSON(ENCODE_BASE64(...))` for when you generate the text file, it should do what you intended.

Answers (0)