Thanks Scott. I have corrected the problem using the Unified library.
I have made another post in regard to uploading the file through gateway. The link is as follows -
Using FileUploader in SAPUI5 XML view - how to send uploaded file to Gateway in XSTRING format
It will be of great help if you can kindly help.
Awaiting .....
Regards,
Subhabaha Pal