‎2011 Apr 11 3:58 PM
We have a need to post FI documents. Is there (now) a class based analog to BAPI_ACC_DOCUMENT_POST, or is that still the preferred method? Thanks... ...Mike
‎2011 Apr 11 4:47 PM
Hello Mike,
I don't think there is yet any class based substitute to BAPIs. I feel this is because we're yet to see class based RFC solution from SAP.
You can ofcourse wrap the BAPI in a custom class & call the method of this wrapper class to post the document. But bear in mind that the remote capability of the BAPI will be lost this way.
BR,
Suhas
PS: Anyway the BAPI is linked to the not-so-attractive BOR method AcctngDocument.Post()
‎2011 Apr 11 4:47 PM
Hello Mike,
I don't think there is yet any class based substitute to BAPIs. I feel this is because we're yet to see class based RFC solution from SAP.
You can ofcourse wrap the BAPI in a custom class & call the method of this wrapper class to post the document. But bear in mind that the remote capability of the BAPI will be lost this way.
BR,
Suhas
PS: Anyway the BAPI is linked to the not-so-attractive BOR method AcctngDocument.Post()