Skip to Content
0
Jan 12, 2012 at 01:53 PM

Best approach to posting to FB60: Use BAPI_ACC_DOCUMENT_POST or BDC?

145 Views

Good day, everyone.

I need to develop an ABAP processing program to read an inbound file of non-PO-related invoices and post them to t-code FB60. I've spent the past day doing a lot of researching, and it looks like the two most mentioned methods I've found are using a BAPI (BAPI_ACC_DOCUMENT_POST) or just using BDC.

I've only just become familiar with t-code FB60 and posting very simple, straight-forward invoices (just data on the "Basic Data" tab along with the G/L info line(s) below; we might have to zero out the withholding tax on the "Withholding tax" tab, but not sure yet). At this point, it's not expected that the types of invoices we'll be posting will be more complex than this. Obviously, I'll be creating a report indicating any invoices that failed to post.

I'm trying to determine which route would be the best way to go. Would you use the BAPI or the BDC approach? Why that approach over the other one?

Thank you!

Dave