Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Upload excel file on a button click


Please see my earlier thread

I was able to upload .txt file using this code. But uploading .xls file does not work.

var sFile;;

var oFile;
oFile =;
pa0001.Subform.FILENAME.rawValue = oFile.path;

var cFile;
cFile =;
pa0001.Subform.filecontent.rawValue = util.stringFromstreams(cFile,"utf-8");

Is there anyway to 'decode' excel file content and bind it to a field in AIF?

Thanks in advance


Former Member
Not what you were looking for? View more on this topic or Ask a question