Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Creating Invoice with BAPI

Status
Not open for further replies.

roadcoder

Programmer
Mar 3, 2004
1
I've got a program which calls BAPI_INCOMINGINVOICE_CREATE, which I'm told mimics the MIRO transaction. I invoke it with the proper parameters and get back and invoice number. However, when I go look for the invoice, I am told that the invoice doesn't exist. If I then manually create an invoice with the exact same information, it says an invoice was created, with an invoice number that is the next in the series of numbers. That invoice can be found.

Does anyone know what might be the problem?

 
Hi,
You have to call BAPI_TRANSACTION_COMMIT to execute a database commit (and thus write the changes to database), as explained in funtion module documentation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top