Application Development 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: 

BAPI_ACC_GL_POSTING_REV_POST doesn't work all of the time

Former Member
0 Kudos

Hello all,

I woudl like to use the BAPI_ACC_GL_POSTING_REV_POST to reverse a document. I got the following situation

1- When the original was created by the BAPI_ACC_GL_POSTING_POST then no reversal document will be created.

2- When the orginal was created by a call transaction then a reversal document will be created.

For both case, if 'm using the call transaction FB08, it will be created a reversal document.

Does anybody have any ideas why it's happing like that.

Thanks in advance.

Thuy Nguyen

1 REPLY 1

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Nguyen!

Either in creation of the posting or in the rev_post some info is missing.

Compare two documents with SE16, one created by Bapi, the other created by CT. If Bapi-version has less fields filled, try to add according fields in Bapi call.

Otherwise Rev-Bapi might need additional info. Have a look at FB08-created document and try to guess some additional fields, which you might fill in Rev-Bapi call.

Regards,

Christian