on 11-17-2008 5:06 PM
Hi!
Does anyone know about a function module or a BAPI that can be used to block an invoice document?
Sincerely
Anders
Hi
Check BAPI BAPI_ACC_PYMNTBLK_UPDATE_POST for this purpose.
Regards
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasad
Thanks for you answers.
Which block will this BAPI set? A, B....?
We would like to block the invoice document for payment for documents posted in e.g. MIRO. In other word, the object is BUS2081. As I can see the BAPI you suggested is for BUS6003. Can I use the linkage between theem?
Sincerely
Anders
Edited by: Anders Öhrling on Nov 18, 2008 9:58 AM
Hi!
We are getting invoices electronically into our system. Here we have a FM that is posting all the invoices. If a posted invoice is referencing a limit order a work flow starts. When this work flow starts we need the invoice document to be blocked for payment. Agents (creator of PR) in the WF will then release the block or let the block be... depending on the invoice.
Therefore we need a FM or BAPI that we can use in the WF in order for us to block the invoice document. We do not wish to set the payment block directly into the different tables.
Sincerely
Anders
Hi
In this case then I would suggest you to follow the below process so the invoice gets blocked all the time for item category B.
Activate the item amount check in IMG - MM - Invoice verification - Invoice block.
Then set the item amount check in the same IMG for your company code & item category B.
Then set the Tolerance limits in IMG - MM - Invoice verification - Invoice block for your company code & tolerance key AP with Check limit radio button & value as 0.00.
I think this should work.
Regards
Prasad
User | Count |
---|---|
109 | |
15 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.