2012 Sep 05 7:39 AM
Hi Experts,
I have to add the mail button in application tool bar when i am clicking the mail button automatically the ALV output can be converted in PDF & send to some other mails. Can you please send me the senmail button coding detailed.
Regards
Mahesh
Moderator message : Do not ask for sample code, search for available information. Discussion locked
Message was edited by: Vinod Kumar
2012 Sep 05 7:44 AM
Hi,
There are lots of thread of your requirement.
search it plz.
Gourav.
2012 Sep 05 7:47 AM
Hi
check the link which contain documantation and sample codes in using e mail programing.
<Link removed by moderator>
Message was edited by: Vinod Kumar
2012 Sep 05 7:51 AM
Hi mahesh,
Check these two programs which are implemented using the CL_SALV_TABLE class for displaying ALV.
Programs for adding your own FCodes/Buttons to tool bar.
SALV_DEMO_TABLE_FUNCTIONS
Program for processing the Events
SALV_DEMO_TREE_EVENTS
You can add your own Button on ALV toolbar and handle the event for the button click in event handling you can conver the ALV in PDF format and send as an attachment.
Refer class CL_BCS and check where used list to know more about how to send an email using this class.
As fat as Converting the ALV to PDF is concerned check program
BCS_EXAMPLE_6
Hope this will solve the problem!
Regards,
Zuber