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: 
Read only

BAPI_INCOMINGINVOICE_CREATE without GR/IR

Former Member
0 Likes
1,111

Hi,

We are using BAPI_INCOMINGINVOICE_CREATE to create incoming invoices. The customizing in my company is that first invoice received will create goods receipt for the entire PO and item and GR/IR account is cleared for the same. If any subsequent invoices received for the same PO it still post the PO amount to GR/IR account.

We do not required to clear GR/IR account for the subsequent invoice. This should happen only for the first invoice. If we try to do this online in MIRO it will retrieve null for values for the PO and item combination no entries related to GR/IR are created.

The same thing is not happening while using the BAPI. Its giving an error if I am not passing PO info but if I pass the info its posting an invoice with an entry to GR/IR account.

Please let me know which parameters I need to change in BAPI_INCOMINGINVOICE_CREATE to not to refer to PO or GR/IR for the subsequent invoices.

Hi,

We are using BAPI_INCOMINGINVOICE_CREATE to create incoming invoices. The customizing in my company is that first invoice received will create goods receipt for the entire PO and item and GR/IR account is cleared for the same. If any subsequent invoices received for the same PO it still post the PO amount to GR/IR account.

We do not required to clear GR/IR account for the subsequent invoice. This should happen only for the first invoice. If we try to do this online in MIRO it will retrieve null for values for the PO and item combination no entries related to GR/IR are created.

The same thing is not happening while using the BAPI. Its giving an error if I am not passing PO info but if I pass the info its posting an invoice with an entry to GR/IR account.

Please let me know which parameters I need to change in BAPI_INCOMINGINVOICE_CREATE to not to refer to PO or GR/IR for the subsequent invoices.

2 REPLIES 2
Read only

Former Member
0 Likes
656

reward points..

Read only

0 Likes
656

According to this article we need to pass AccountingData table to the BAPI for an unplanned account assignment.

Also in this table amount, quantity and GL account information must be passed but in my case I do not want GR/IR account to be cleared with the PO amount for the subsequent invoices.

I have gone through the documentation of BAPI but could not get a solution. Please let me know if there is any parameter which stops GR/IR account to be debited with the PO amount.