I have written a program for sending a order ack. mail,this program we are calling through VA01,VA02(Extra->Output) but it was not triggering.
In Nace we have done below Configuration.
Program:ZSDR_SOACKMAIL (this the report for sending the mail).
Form Routine:ENTRY (I have define inside the report this routine for getting the SO).
Note:This is not a smartform this a simple report which sending mail.
Please guide me if I am missing something.
Usually you need to input the form in the sapscrip / smartform/ Adobe form in configuration also.
Then in driver program : ZSDR_SOACKMAIL you will see a global variable TNAPR-SFORM that contain the form in input above.
and in your program will open job.... call form then convert the form to PDF and then send the email.