accounting document posted using bapi but not seen in database!!!
i am facing a same problem with both bapis
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
Christine Evans 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.