Skip to Content
0
Former Member
Jun 21, 2005 at 04:44 PM

Getting A Document Number From A BAPI

2063 Views

Hi,

I'm using a Bapi:

BAPI_ACC_DOCUMENT_POST

to successfully post a new invoice document. This works fine. What is the simplest method of getting the document number of the newly created document in code?

Is there a function, or something in the BAPI I'm missing?

Many thanks

Sam