‎2014 Apr 30 11:07 AM
Hello,
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.
‎2014 Apr 30 11:10 AM
hi dagar,
Try using TEXT_CONVERT_XLS_TO_SAP instead of GUI_UPLOAD.
regards,
‎2014 Apr 30 11:24 AM
‎2014 Apr 30 12:33 PM
Hi Suchender,
Can you show us your code logic?
Regards,
Sudeesh Soni
‎2014 Apr 30 12:53 PM
Hi Suchendar,
Try using the FM - F4_FILENAME to get the valid file name and use TEXT_CONVERT_XLS_TO_SAP FM to upload into SAP based on the required format.
Regards,
Suresh
‎2014 Apr 30 1:12 PM
I think there is some problem with OLE as when I skip the OLE part it is working fine. But excel is well created too.