Application Development 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_INCOMINGINVOICE_CREATE derivations and validations not happening

Former Member
0 Kudos

Hi,

We are using BAPI_INCOMINGINVOICE_CREATE to generate LIV documents. We are finding that some of the derivations and validations that are performed in MIRO are not being performed by the BAPI. For example:

1. When you enter a cost object in MIRO, profit centre and functional area are automatically derived. This doesn't happen in the BAPI and the LIV document has blanks in these fields.

2. If you enter an amount in a foreign currency, it is automatically converted to local currency in MIRO, not in the BAPI.

3. If you specify a tax code against a GL account that is not tax relevant in MIRO you get an error message, but the BAPI posts without any problems.

My issue is - do I try to recreate this functionality (and a long list of others) in my code before the BAPI call, or is there some way to get the BAPI to do the correct derivations and validations?

Thanks,

Tristan

1 REPLY 1

JozsefSzikszai
Active Contributor
0 Kudos

hi Tristan,

we have the same problems with BAPIs and we recreated some of the standard functionality in the program which calls the BAPI.

ec