Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10548

Re: Mail trigger for change in inspection plan

$
0
0

Hi Vivek,

You may try User-Exit IPRM0004  work for your requirement.


A simple sample code can be like this:

IF SY-TCODE = 'IP02'.
CALL TRANSACTION 'ZMAIL' .
ENDIF.

 

As you might have understood, you need to have a mail trigger program separately for this. It is ZMAIL in the above syntax. If your mailIDs are too many that you can not hardcode them in this program, then a Z-table will be needed for mail-Ids and other relevant fields like PlGrp, MnWrkCntr etc. This code could trigger email when IP02 Tcode is used. You can further perfect this code by involving Change Documents, so that the mail would trigger only when some changes were done. With these inputs, your technical person should be able to do this.  This will not be a very simple task like many cases of user-exits, but very much possible for an experienced ABAPer.

 

 

Jogeswara Rao K




Viewing all articles
Browse latest Browse all 10548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>