cancel
Showing results for 
Search instead for 
Did you mean: 

Abap program - end of process chain

lakshminarasimhan_n4
Active Contributor
0 Kudos

Hi,

I have a requirement. At the end of each process chain, the ABAP program must trigger email.

The process chains are having naming format of Z<Module name>. Ex: SD process chain will have ZSD, PS process chain will have ZPS etc.

Now we are reading a table based on the module and identify the users, and to those users email should be sent.

Now i am unable to identify the name of the process chain at run time from my ABAP program.

Is there any way to identify the name of the process chain at runtime from ABAP program?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

RafkeMagic
Active Contributor
0 Kudos

within the chain you know which module it concerns (either ZSD or ZCS or whatever)

so why not simply start the program with a variant in each process chain?

lakshminarasimhan_n4
Active Contributor
0 Kudos

Hi Gurus,

Any update?

Former Member
0 Kudos

Hi,

need clarity on your query.

do you want to send a mail with PC name to users?

for how many PC you need to implement this, is it required in the same program?

best regards,

Prakasha A

sat_p2
Participant
0 Kudos

Hi,

Your question is not clear can you please provide few more detail.

for sending mail to users you can use "Varient" whatever you required. I am not sure what table you are using.

Regards,

satya.