cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI CtrAcDocument

Former Member
0 Kudos
122

Hi.

I'm trying to use CREATE method of this BAPI in a function module to create documents from a list provided. In test mode it's returning a document number but this document is not actually created: nothing in DFKKOP nor in DFKKKO.

However that document number is taken out. If I use FPE1 to manually create another document, the next number is used, creating a "gap" in these tables.

Any idea how to fix this?

Thanks a million in advance.

Jean-Marie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

This BAPI needs an explicit call to FM 'BAPI_TRANSACTION_COMMIT'.Please ensure you call it after calling the BAPI in your program.

Cheers,

Rishi.

Former Member
0 Kudos

Thanks a million Rishi.

I'll implement.

Best,

Jean-Marie

Answers (0)