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

Send Email notification using Dynamic actions

Former Member
0 Likes
1,489

Hello Experts,

I want to send mail notification whenever "Separation" activity perfomed in IT0000 using dynamic actions. Dynamic action already created and it is working fine for one user now another user want in same way.

Here is code written in dynamic action:

*GENERATE MAIL FOR Z7/ZG SEPARATION*

P T001P-MOLGA='10'

P PSPAR-TCLAS='A'

P P0000-MASSN='Z7'/X

P P0000-MASSN='ZG'/X

P PSAVE-MASSN<>P0000-MASSN

M Z0007

M Z0023

How and where do i add the email address of other user so whenever any action performed in IT0000 both user will get the email notification?

Regards,

Saurabh

10 REPLIES 10
Read only

Former Member
0 Likes
1,038

Dear

actually i couldn't get your requirment

you mean only in this part e-mail send for one user or you use another separate part for e mail

then post that code also

if you want send e-mail i'll send you a code with html format.

describe your program more.

it will help to give solution.

Read only

0 Likes
1,038

Hi Nelson,

Yes, currently mail is triggering only to one user through dynamic actions. now i want to trigger mail not only to one user but to two users using dynamic actions.

How the mail is trigger to one user?

where do we maintain user ids in the system related to dynamic actions?

following code is written for sending a mail:

000010 D TCLAS

000020 A D INFTY

000030 A 0000 &Z0023=IDTXT Z0007_MAIL_SEPARATION, NEXTR A

000040 A 0000 A &Z0023=OUTBX X, NEXTR B

000050 A 0000 B &Z0023=DISTR, NEXTR C

000060 A 0000 C &Z0023=NAME1 ZPACD, NEXTR D

000070 A 0000 D &Z0023=TCODE PA40, NEXTR E

000080 A 0000 E &Z0023=PABEG P0000-BEGDA, NEXTR F

000090 A 0000 F &Z0023=PAEND P0000-ENDDA,

how do i find out for "SEPARATION" action performed in IT0000 it will trigger the mail to whom?

Saurabh

Read only

0 Likes
1,038

Hi

check the program Z0007_MAIL_SEPARATION

you can get idea about send mail

that is z report

if you unable to get post it here i'll give my support

Read only

0 Likes
1,038

Hi Nelson,

Z0007_MAIL_SEPARATION is not a program.I tried to search but it does not exist.

Read only

0 Likes
1,038

Dear Saurabha

can you please post hole program here then i'll try to find any solution.

Read only

0 Likes
1,038

Hi Nelson,

Issue got resolved. All email ids are maintained in SO04 Tcode.

Appreciate your Help.

Regards,

saurabh

Read only

0 Likes
1,038

Hi Saurabh

its ok, your welcome. my dear

so how it work, when you add names to distribution list, is it sending automatically?

when you idle please describe me

Thanks in advance

Read only

Former Member
0 Likes
1,038

Hi Saurabh,

How r u doing

Need one small help is it possible you can send me the Feature Z0007 and M Z0023

screen shot. My requirement is also same

I know itvery big time now but please try if it possible

With Regards

Vikrant

Read only

Former Member
0 Likes
1,038

Hi Saurabh,

I am also trying to send an mail through dynamic actions but mail not trigger. can u suggest me what is actually to do for sending mail in dynamic actions .

Regards,

Anish

Read only

0 Likes
1,038

Two points

1) multiple recipients is about adding users to a group in Business Workplace

2) If you want to send email, then read some of the documentation for Feature M0001, which is the SAP example

Cheers, Al