Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Class Based Document Posting like BAPI_ACC_DOCUMENT_POST

mike_mcinerney
Participant
0 Likes
547

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

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
407

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()

1 REPLY 1
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
408

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()