08-07-2007 11:53 AM
Hi GUys,
does anyone know if there is an existing BAPI or FM for creating a document in transaction FMBB?
Many thanks,
Ian
08-07-2007 12:18 PM
08-07-2007 12:00 PM
08-07-2007 12:02 PM
Hi,
use BAPI BAPI_0050_CREATE
After calling the BAPI_0050_CREATE You have put the following :
clear ret_tab.
refresh ret_tab.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
IMPORTING
return = ret_tab.
Then the document is posted and the number is correct.
Regards
08-07-2007 12:18 PM
08-09-2007 9:05 AM