Skip to Content
author's profile photo Former Member
Former Member

BAPI_INCOMINGINVOICE_CREATE derivations and validations not happening

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 31, 2008 at 08:30 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.