08-22-2016 11:09 AM
Hi,
I have created a program to send mails with excel sheet as attachment. Attachment is being sent successfully, I can see in SOST transaction. But the issue is attachment file name is FILENAME_201603129999.222_X.xls.
How can I remove the time stamp which is being added up to both the attachment name and sheet name in excel file? I tried CL_BCS and SO_DOCUMENT_SEND_API1.
I even tried BCS_EXAMPLE_7 program, even this standard program is generating in the same way. How can I set desired filename to the Excel sheet attachment.
Note: This issue is only for EXCEL attachments. Its is working fine for other attachment types.
08-22-2016 11:31 AM
This is not an ABAP problem.
In fact, the file got the correct name from BCS_EXAMPLE_7 generated mail as you can see
and choosing to save it
The time stamp is added by Windows when you try to open the file directly from the 1st screen in sost
Because windows/excel save a local copy (you find it under "temp" directory) of the file.
If you try to open it 3 times, one each 10 minutes, the filename changes...
08-22-2016 11:31 AM
This is not an ABAP problem.
In fact, the file got the correct name from BCS_EXAMPLE_7 generated mail as you can see
and choosing to save it
The time stamp is added by Windows when you try to open the file directly from the 1st screen in sost
Because windows/excel save a local copy (you find it under "temp" directory) of the file.
If you try to open it 3 times, one each 10 minutes, the filename changes...
08-22-2016 3:08 PM