Skip to Content

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

BAPI / Function Module to Retrieve AR Customer Invoices like FB03

I’m writing some code to post and retrieve AR Customer Invoices. It looks like BAPI_ACC_DOCUMENT_POST is the way to create the invoice (any way to park it?) but I’ve only found BAPI_AR_ACC_GETOPENITEMS to retrieve invoice data which does not seem like what I really want. I do want line item details but only for the invoice I’m after and it may not be open any longer. T-code FB03 is the GUI way. How do I get the invoice data throug a remote enabled BAPI or FM?

Thanks for any help,


Former Member
Former Member replied

Hi Karl

What you really need to do?

The BAPI BAPI_ACC_DOCUMENT_POST should return the number of the document is created, so u can do a select on BKPF and BSEG table in order to return the informations.


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