SAP: Refresh BAPI Buffers with BAPI_TRANSACTION_COMMIT
When you're communicating with an external SAP system, you should use the released BAPIs if you can.
I don't use RFCs and BAPIs that often, so one thing that struck me today was that BAPIs don't refresh their buffer when you call them.
My expectation was: BAPIs are for external calls, so they should make sure you always get the most-up-to-date data and handle the buffer themselves.
I was wrong.
BAPIs will default to accessing the buffer, which makes sense performance-wise.