Skip to Content
0

Calling a Email program through Output Type NACE

Apr 21 at 10:50 AM

146

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

John Vo Apr 21 at 11:35 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0
Jelena Perfiljeva
Apr 25 at 10:13 PM
0

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

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi Jelena,

In my program I have define ENTRY.Which I have assigned in the o/p type also.

When I checked the processing log everything is Green status.But I place the debugger it's not triggering

Note:Inside the program through subroutine entry I am getting the SO number and inside the program & designing the o/p and sending the mail using the CL_BCS.

Thanks

Yogendra

nace.png (17.6 kB)
logic.png (19.4 kB)
status.png (7.0 kB)
0

Hi Jelena,

I have fixed the issue.

1.Inside the entry subroutine i have written clear statement .

2.All the operation called inside the entry subroutine.

3.If any commit work is there I have commented them,otherwise it was going for a dump.

Thanks

Yogendra

0

Thanks for following up on this. If this is resolved then kindly close the question. Otherwise it still shows up as unanswered.

Thank you.

0