Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating an empty row in excel as an attachment+XLS name as date_timestamp

former_member181966
Active Contributor
0 Kudos

Hello folks,

I am using the following method and I want to get rid of empty column as well as file name with date and time stamp. Let me know how I can achieve this.

Thanks,

Khan

FYI

 

Data:  c_ext    TYPE soodk-objtp VALUE 'XLS'. " XLS Extension
* Adding Attachment
      CALL METHOD l_document->add_attachment
        EXPORTING
          i_attachment_type    = c_ext
          i_attachment_size    = l_size
          i_attachment_subject = TY
*          I_ATTACHMENT_HEADER  = HEAD_TAB[]
          i_att_content_text   = decompressed[].

.

3 REPLIES 3

narin_nandivada3
Active Contributor
0 Kudos

Hi Saquib,

Please check this blog regarding Options in excel file while downloading ...

Hope this would help you.

Good luck

Narin

0 Kudos

Narin thanks but it is for OLE Also Iu2019m sending out the XLS attachment via background job .

^Saquib

.

0 Kudos

Hi Saquib,

To avoid TIME STAMP use the function module CIF_GEN3_CONVERT_TIMESTAMP.

Check this thread regarding Excel File attachement.

Hope this would help you.

Good luck

Narin