Skip to Content
Aug 22, 2018 at 11:51 AM

BAPI_ACC_DOCUMENT_POST skips document number and returns wrong value

314 Views Last edit Aug 22, 2018 at 12:02 PM 2 rev


i'm using the bapi "bapi_acc_document_post" with the .Net Connector and it works really great except for one point: The bapi always skips one documentnumber and returns a wrong number.

For example:

Last Documentnumber: 10005
Bapi returns: 10006
Inserted: 10007

I'm using RfcTransaction.commit()
How is that possible?