cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for simulating invoice creation in MM

Former Member
0 Kudos

Hi,

I would like to invoke the MIRO transaction by remote.

The BAPI BAPI_INCOMINGINVOICE_CREATE provides the methods for creating the invoices and for parking the invoices in MM.

Does anyone know any BAPI or RFC or Function Module for SIMULATING the invoice creation?

Something like BAPI_CHECK ?

Thank you very much in advance.

Mauro

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can call the BAPI BAPI_INCOMINGINVOICE_CREATE

and display the messages in return parameters but do not use commit work after BAPI call rather use rollback work.

So you will get the information, whether the check was successful or not and since you did not use commit , the invoice will not be saved in database.

Cheers,

Ram

FloPi
Explorer
0 Kudos

I call the BAPI in the way you explained with rollback work instead of commit work.

The Problem is that the number range is increased by the "Simulation" and i dont want to increase it.

Greetings,

Flo

Former Member
0 Kudos

You can use the bapi BAPI_INCOMINGINVOICE_PARK to create Preliminary Invoices, these Invoices does not have impact in the enterprise finances, once created you can delete the Invoices without problems.