Skip to Content
0
Former Member
Nov 01, 2012 at 12:42 PM

Need to stop sending mails to vendor if the PO amount is less than R300

71 Views

Hi

1. There is a Z program which will remove the GRV TICKS and update the PO in SRM using FM using 'BBP_PD_PO_UPDATE' and 'BBP_PD_PO_SAVE'.

2 After executing the above Z program there is a standard job which executes the standard program RSPPFPROCESS and this program picks the po that are changed and it calls the class CL_PD_PO_PROCESSING_BBP and sending mails to vendor from method METHOD PROCESS_BBP_PO_MAI.

Now my requirement is if the PO amount is less than R3000 NO MAIL should o to vendor.

So how can i add my logic to the CL_PD_PO_PROCESSING_BBP . And what will be the impact if i copy the whole program and business class.

Thank you.

Regards

Yamini

.