I have a custom vendor workflow using a custom BO ZLFA1 (LFA1). Workflow is fired as soon as MK01 record is saved by calling
SAP_WAPI_CREATE_EVENT in an enhancement in include MF02KFL0 (inside form leave_to).
I have a business requirement to automatically block the vendor from being used for payment, invoices, etc. without user intervention either before or when the record is saved.
Is there a way to programmatically accomplish this? If so, can you please give a detailed explanation? If not, is there any other way?
Thank you,
D. Scott