11-04-2016 4:15 PM
Hi,
My requirement is to have a report with selection screen having email id as input and on executing the report, it should display multiple internal tables sequentially (either in ALV or in normal table) , convert that into single PDF containing all internal tables and it send as email to receipients or distribution list. I searched this site, but unable to find a better solution.
Can anybody point me some good code to achieve this ? It would be great to have them in OOPS format.
Thanks and Regards.
11-04-2016 4:31 PM
I would say that you can get this done by hiring an ABAP programmer.
That aside... if you split up your requests "ABAP Report multiple tables", "ABAP generate PDF", "ABAP sending email oops". There is plenty of help out there and examples out there. If you are not hiring an ABAP programmer and claim to be one yourself - then put it together yourself.
The only newer recommendation I can give is to try using CL_DD_DOCUMENT instead of classic reporting with WRITE statements.
11-04-2016 7:57 PM
In ABAP, there are only 2 converters to PDF: from ABAP list or from OTF (SAPscript, smart form). Choose the one you prefer (and search the web for the names of the 2 function modules)... Note that ALV may display several subsequent various tables into an ABAP list, by using the ALV block list feature (function modules REUSE_ALV_BLOCK_LIST* or REUSE_ALV_LIST_DISPLAY with layout LIST_APPEND boolean).
There's also Adobe Forms if you have ADS installed.
11-07-2016 8:00 PM
"Better solution"? What is wrong with the solution(s) you've already found then?
All kinds of PDF/ALV/email questions have already been discussed numerous times on SCN. SAP has not come up with any new functionality for this in years, AFAIK.