Skip to Content
0
Former Member
Nov 06, 2008 at 03:21 PM

MIR7 - Error in BAPI or what do I wrong?

358 Views

Hi there,

I need a function that allows me to create incoming invoices as parked documents. Now I've the problem that the BAPI brings an error that I cannot understand...

I use the following logic:

- Creating a parked document (without items) with BAPI_INCOMINGINVOICE_PARK.

- Add line for line new positions to the invoice I created the step before with BAPI_INCOMINGINVOICE_CHANGE

So now I have the problem that the second BAPI let me only add a single position to the parked document. In each of the following lines I get the following error:

E Service number entered (0000000000) does not exist

I have to say that the purchase order has the following´entries in the tab "Services":

Pos 10: Service 4711

What is my error? I can't find it 😔

Kind regards

John