Skip to Content
avatar image
Former Member

Calling a Email program through Output Type NACE

Hi All,

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.

Thanks

Yogendra

nace.png (17.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 21, 2017 at 11:35 AM

    Hello YOGENDRA

    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.

    Thanks,

    John vo

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi John, It's not a sapscrip / smartform/ Adobe form, so there is no driver program for this.

      It's a report for sending a mail, we want to call the program VA01,VA02(Extra->Output).

      Thanks Yogendra

  • Apr 25, 2017 at 10:13 PM

    Do you actually have a routine called ENTRY in the program? And what does the output log say? How are you confirming it's "not triggering"?

    TBH, this is a rather weird design. If you're not using a form then "External function" might be more appropriate. And standard output programs handle output to email just fine, there is no need to reinvent the wheel. Although you haven't shared much about what the program is doing...

    Add comment
    10|10000 characters needed characters exceeded