on 2024 Jan 05 6:45 AM
As soon as Supplier team, tries to block a vendor, system should validate if there is any open invoice or a open PO in system for the same vendor.
In case there is any open PO or invoice, system should not allow the vendor to be blocked.
Please help to solve the above issue
Request clarification before answering.
Hi Rumpa,
To address the scenario where you want the system to validate the presence of open invoices or purchase orders (POs) before allowing a vendor to be blocked, you would typically need to implement a custom check in your SAP system. This can be achieved through ABAP programming by creating a user-exit or a BAdI (Business Add-In) that triggers during the vendor block process. Here's a general approach to implement this:
Identify the Appropriate User-Exit or BAdI:
XK05, MK05, or similar).VENDOR_ADD_DATA or CVI_VENDOR_BADI.Custom Logic for Checking Open Invoices and POs:
BKPF and BSIK for open invoices and EKPO for open POs, filtering by the vendor number.Blocking Logic:
Testing:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 22 | |
| 15 | |
| 14 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.