Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for checking Invoice

Former Member
0 Kudos
744

Hi experts,

I wanted to know if there is any BAPI that I can use to check if a FI invoice can be posted without errors. Payment blocks are fine.

I will be having all the data in my internal tables and workareas and need to check if that data can be used to actually post the document.

Note: i do not intend to park the document at any stage.

Thanks,

Prabhas.

3 REPLIES 3

former_member376453
Contributor
0 Kudos
324

Not sure, you can try this BAPI :BAPI_ACC_INVOICE_RECEIPT_CHECK

Kuntal

former_member632729
Contributor
0 Kudos
324

Hi Dude,

BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check invoice receipt

Functionality : Data resulting from invoice receipts in a Logistics system can be transferred to Accounting. You can use the Check method to see whether an invoice receipt can be posted in Accounting.

Pattern:

CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_CHECK'

EXPORTING

DOCUMENTHEADER =

" CUSTOMERCPD =

TABLES

ACCOUNTPAYABLE =

ACCOUNTGL =

ACCOUNTTAX =

" CURRENCYAMOUNT =

" PURCHASEORDER =

" PURCHASEAMOUNT =

RETURN =

" CRITERIA =

" VALUEFIELD =

" EXTENSION1 =

Former Member
0 Kudos
324

Hi,

You can go with above suggestions

BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check invoice receipt .

checked in below link:

http://sapbrainsonline.com/sap-training/SAP-tutorial-pdf-material_519.html

Thanks,

Krishna