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: 
Read only

Mail Trigger

knaveennavi
Explorer
0 Likes
2,379

i want trigger a mail to the mail id which is exists on sm36 job scheduling recipients mail id.

what should i do?

or

how do i get a job scheduling recipient mail id in report program?

6 REPLIES 6
Read only

jmodaal
Active Contributor
2,278

Hello,

the email address for the job is in table TBTCCNTXT, field CTXTEXT (first letter is the language for the email, followed by a semicolon and the email address).

Read only

0 Likes
2,278

Hi Jan,

I checked that table no values found.

actually i did mail trigger program it works.

but my requirement is mail trigger to the mail id which avaliable in SM36 Recipient mail id.

so now i want that receipent mail id into my mail trigger program.

how do i get that mail id into my report program.

Read only

jmodaal
Active Contributor
0 Likes
2,278

Hello,

hmm, if I schedule a job in SM36 and enter the e-mail address in the "E-Mail notification" dialog, it appears in the given table. Picture attached. I would be astonished if this is not the usual behaviour.

Or is it about the data in the "Spool List Recipient" dialog?

Read only

FredericGirod
Active Contributor
2,278

if you just want to send the result of a job to people by mail, you don't need program :

https://blogs.sap.com/2010/02/25/how-to-email-output-from-background-jobs/

Read only

knaveennavi
Explorer
0 Likes
2,278

Hi Frederic ,

You're correct .but i want my result as a Excel format

Read only

RaymondGiuseppi
Active Contributor
2,278

If you are asking on 'E-mail notification'

  • Call FM BP_JOBCONTEXT_SELECT_BY_JOB or browse view TBTCJCNTXT (TBTCCNTXT join TBTCO)

If you are asking on 'Spool List Recipient'