This website is not affiliated with, sponsored by, or approved by SAP AG.

Block vendor invoice with BAPI_ACC_PYMNTBLK_UPDATE_POST

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Block vendor invoice with BAPI_ACC_PYMNTBLK_UPDATE_POST

Postby LaercioJr » Thu Apr 05, 2018 10:08 am

Hello to everyone,

Here is the situation: We have created several vendor invoices with the transaction code FB60, all the vendor invoices can be seen at the transaction code FBL1N. The problem is, we would like to block some open vendor invoices with BAPI, we had used BAPI_ACC_PYMNTBLK_UPDATE_POST to do so, we also used the commit transaction. The return of the BAPI was a successful message (something like 'Document posted successfully'), but when we go to the FBL1N transaction the item isn't blocked. Other weird thing, is that in the BAPI_ACC_PYMNTBLK_UPDATE_POST we can't pass the reason of the payment block, this is confusing, because at the GUI we have to set the reason of the block.

The question is, Is there anything else we have to do to make this bapi work? We do not see the block flag set on the invoice in table BSEG.
LaercioJr
 
Posts: 1
Joined: Thu Apr 05, 2018 10:04 am

Return to ABAP

Who is online

Users browsing this forum: Google [Bot] and 3 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.