javascriptbase64sapui5abap

sap.ui.core.util.File.save file corrupted?


I want to download in frontend an excel file that is coming from backend as OData. The file is encoded using FM 'SCMS_BASE64_ENCODE_STR' and now I want to decode it and download it using SAPUI5. I am trying the object sap.ui.core.util.File.save but I get a corrupted file. Here is a test code that I created with an excel file encoded using the following site online (https://base64.guru/converter/encode/file).

openFile: function(){
            var data = "UEsDBBQABgAIAAAAIQBBN4LPbgEAAAQFAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsVMluwjAQvVfqP0S+Vomhh6qqCBy6HFsk6AeYeJJYJLblGSj8fSdmUVWxCMElUWzPWybzPBit2iZZQkDjbC76WU8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G4BwAAESIAABMAAAAAAAAAAAAAAAAAUA8AAHhsL3RoZW1lL3RoZW1lMS54bWxQSwECLQAUAAYACAAAACEAT/Yo0qkCAABXBgAADQAAAAAAAAAAAAAAAAA5FwAAeGwvc3R5bGVzLnhtbFBLAQItABQABgAIAAAAIQDrep4FnAAAALQAAAAUAAAAAAAAAAAAAAAAAA0aAAB4bC9zaGFyZWRTdHJpbmdzLnhtbFBLAQItABQABgAIAAAAIQA7bTJLwQAAAEIBAAAjAAAAAAAAAAAAAAAAANsaAAB4bC93b3Jrc2hlZXRzL19yZWxzL3NoZWV0MS54bWwucmVsc1BLAQItABQABgAIAAAAIQBErZNA1wgAAMx9AAAnAAAAAAAAAAAAAAAAAN0bAAB4bC9wcmludGVyU2V0dGluZ3MvcHJpbnRlclNldHRpbmdzMS5iaW5QSwECLQAUAAYACAAAACEABdItDE8BAAB3AgAAEQAAAAAAAAAAAAAAAAD5JAAAZG9jUHJvcHMvY29yZS54bWxQSwECLQAUAAYACAAAACEAYUkJEIkBAAARAwAAEAAAAAAAAAAAAAAAAAB/JwAAZG9jUHJvcHMvYXBwLnhtbFBLBQYAAAAADAAMACYDAAA+KgAAAAA=";
         
            
            sap.ui.core.util.File.save(data, 'test', 'xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', null, null);
          
        },

Solution

  • Thanks to (https://www.geeksforgeeks.org/how-to-convert-base64-to-file-in-javascript/), I found this solution.

    
    openFile: function(){
                var base64String = "UEsDBBQABgAIAAAAIQBBN4LPbgEAAAQFAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAD5JAAAZG9jUHJvcHMvY29yZS54bWxQSwECLQAUAAYACAAAACEAYUkJEIkBAAARAwAAEAAAAAAAAAAAAAAAAAB/JwAAZG9jUHJvcHMvYXBwLnhtbFBLBQYAAAAADAAMACYDAAA+KgAAAAA=";
                
                const mimeType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; 
              
                const base64Data = base64String.replace(/^data:.+;base64,/, '');
                const byteCharacters = atob(base64Data); // Decode Base64 string
                const byteNumbers = new Array(byteCharacters.length);
        
                for (let i = 0; i < byteCharacters.length; i++) {
                    byteNumbers[i] = byteCharacters.charCodeAt(i);
                }
        
                const byteArray = new Uint8Array(byteNumbers);
                const blob = new Blob([byteArray], { type: mimeType });
                
                sap.ui.core.util.File.save(blob, 'test', 'xlsx', mimeType, null, null);
              
            }