Lock PO output - SRM 5.5
We've added a custom field in the header data, this flag determines if the PO can be sent or not to vendors.
We want to lock only for mail / XML output according to this custom field, please let me know how we can do it cleanly.
For now, our solution is to implement the CL_SF_PROCESSING_PPF class for email and CL_IM_BBP_PO_SEND_XML class for XML.
Is there a better way ?
Appreciate your help in advance.