cancel
Showing results for 
Search instead for 
Did you mean: 

I created an advanced excel file with abap ole object. But I want to send an e-mail instead of downl

TurgutG
Explorer
0 Kudos
 This is how can download an advanced excel file with abap ole objectBut want to send it by e-mail without downloading it.
 
CALL METHOD OF

    e_work
    'SAVEAS'
    EXPORTING
      #1 gv_fullpath.

  CALL METHOD OF
    e_work
    'close'.
  CALL METHOD OF
    e_appl
    'QUIT'.
  FREE OBJECT e_appl.
  ENDIF.

Sandra_Rossi
Active Contributor
0 Kudos
OLE is not recommended if you have alternatives (because of its important drawbacks). Alternatives exist for Excel. OLE can work only in dialog mode, not in background. In dialog mode, you can save as a file, read it and attach it to an e-mail (send e-mails in ABAP the classic way)).
View Entire Topic
TurgutG
Explorer
0 Kudos

I want to create an advanced excel file as follows. I did this with OLE. What are the alternatives without using OLE?

TurgutG_0-1709551592667.png

 

Sandra_Rossi
Active Contributor
0 Kudos

Alternatives have been discussed one hundred times in the forum.

NB: using an alternative means rewriting the program, you should rewrite only if OLE doesn't answer the requirement.