Application Development and Automation 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: 

To send Multiple smartforms by email to single user

0 Kudos
288

Dear all,

I want to send multiple smartforms to a single email id in pdf format.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
250

First step: create a single 'spool' from multiple Smart Forms

  • Use parameter control_parameters in the call of the SF FM, set field no_close before first call, set no_open after first call and last unset no_close before the last call

Second step: Convert to PDF

  • Use parameter control_paramters-get_otf to ask for OTF data, receive data from last call in output_data-otfdata and execute FM convert_otf_2_pdf.

Third step : attach to mali

  • Use CL_BCS as in sample program BCS_EXAMPLE_6

There are many threads/questions on those steps in the forum.

1 REPLY 1

raymond_giuseppi
Active Contributor
251

First step: create a single 'spool' from multiple Smart Forms

  • Use parameter control_parameters in the call of the SF FM, set field no_close before first call, set no_open after first call and last unset no_close before the last call

Second step: Convert to PDF

  • Use parameter control_paramters-get_otf to ask for OTF data, receive data from last call in output_data-otfdata and execute FM convert_otf_2_pdf.

Third step : attach to mali

  • Use CL_BCS as in sample program BCS_EXAMPLE_6

There are many threads/questions on those steps in the forum.