I have created an excel file using OLE and saved it to local desktop. Then I use GUI_UPLOAD to upload the excel into SAP and attach it to mail. but while using Function GUI_UPLOAD I am getting dump for CNTL_ERROR.
If I skip the process of excel creation by OLE and passes the excel file created earlier then it gives no dump and is executed successfully.
Kindly help on this.