Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

accounting document posted using bapi but not seen in database!!!

Hello experts,

i am facing a same problem with both bapis

bapi_acc_invoice_reciept_post and


the return message is showing

'document XXX posted successfully' but no such documents seen in bseg and bkpf!!!

earlier i successfully used bapi_acc_gl_posting_post , its creating documents but my requirement is to post credit to a particular vendor account not to a balancesheet ledger which cannot be done using bapi_acc_gl_posting_post.

what should be done.

My doc_type is KR

any help please???

Edited by: Arjun Subhash on Oct 21, 2008 10:40 AM

Former Member replied


> hi guys,

> thanks for the reply.but i actually i did that in first place but even then its not seen in the database.


> i am trying to post a vendor invoice doc_type: KR


> please help me out...

The document should be there, then, if the BAPI says that it has created it and you have committed the changes. What criteria are you using to search for it - the document reference sent back by the BAPI and the correct company code?

Try running the BAPI again against ST05 SQL trace and look for insert statements to check what it is doing.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question