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: 

Report to display multiple internal tables, convert to single pdf and send as email

former_member193947
Participant
0 Kudos

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.

3 REPLIES 3

raghug
Active Contributor

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.

Sandra_Rossi
Active Contributor

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.

Jelena
Active Contributor
0 Kudos

"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.