I have developed a report which converts the ALV grid into a PDF and into .ZIP file. Finally ZIP file gets downloaded using GUI_download.
My client wants the .ZIP file as a mail attachment but not as a download.
Here is my final bit of code.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
buffer = zip_file
output_length = bcot1
binary_tab = file.
CALL FUNCTION 'GUI_DOWNLOAD'
bin_filesize = bcot1
filename = file_path
filetype = 'BIN'
data_tab = file.
How to replace the Download with email? I tried using SO_NEW_DOCUMENT_ATT_SEND_API1 but I am not getting email. I also check in SOST for my transmission request but I ma not able to find my request.
Edited by: Vjai.. on Sep 23, 2011 10:17 PM