cancel
Showing results for 
Search instead for 
Did you mean: 

Send mail after transaction code COR2

Former Member
0 Kudos

Hello gurus,

Anyone knows the badi or userexit which is getting calld after successfull change in TCode COR2?

I need this enhancement to send mail after successfull entery.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member196530
Active Contributor
0 Kudos

Dear ,

Transaction Code - COR2 Change Process Order

Following are the list of user exit which are available for Process order Managment.

- PPCO0006 to predefine entries for order header fields when creating

an order

- PPCO0001 to provide information at the time of saving (for

production orders and process orders)

- PPCO0007 to check or change header data when saving

- PPCO0002 to add additional checks that are to take place when

setting the deletion flag or deletion indicator

- PPCO0003 to prevent changes in sales order items that would cause

changes in the process order for static assembly processing

- STATTEXT to format the status line

- PPCO0008 to check components that have been changed or added

Hope this will be useful

Regards

JH

Former Member
0 Kudos

Hi,

Thnaks for your reply, first of all.

As suggested by you, I have used PPCO0001 as suggested by you and it is working fine.

But as my requirement is to send mail after data is getting changed and updated in table not before, is there any possibility to do the same.

Please provide any exit or Badi if same is satisfying my requirement.

former_member196530
Active Contributor
0 Kudos

Dear ,

You can try the below BADIs and discuss with your ABAPer if he can clarify your requirement based on this :

1.AFABD_CHANGE

2.CAUFVD_CHANGE

3.SIDAT_UPDATE

Or User exit : EXIT_SAPLCOBT_001 .Here you can do something on e-mail communication .

Just try and revert back if u need any help

Regards

JH

Former Member
0 Kudos

Hi please check,

BADI: workorder_update.

Former Member
0 Kudos

I have used PPCO0001 and it has been resolved

Former Member
0 Kudos

Thanks to all of you.