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: 

SAP Script to PDF then send a mail

Former Member
0 Kudos

Hello.

I am working on a standard customer statement print program to RFKORD11. Now i add a email check box on sel-scree. When user checks i should converth the SAP Script data to PDF then send a mail. it should be available in SOST tcode.

Where we need to develo a logic for this, after CLOSE_FORM or ??

Pla Suggest with relavent example code.

Regards,

Prabhakar.

4 REPLIES 4

Former Member
0 Kudos

Hi

Use program "RSTXPDFT4" to convert form out put to PDF . Give spool No (T-Code SP01)

0 Kudos

Hi

You are correct. that report converts and saves in local sys.

But requirment is, in report only I need to conver and send the file in a mail to SOST tcode.

Thaks

0 Kudos

Am using same functionality as above n everything is working fine except.... Am getting POP UP before mail sent out with Email address of Receiver. I dont want that popup kindly help.

Former Member
0 Kudos

i think you are trying to activate email for a correspondence type. I would look into BTE 2310 process before making any changes to the program to see if it meets the requirement. This will help you change transmission medium and add email to the output.