Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

BAPI_ACC_DOCUMENT_REV_POST Need info and example would be great

$
0
0

Please bear with me if I don't describe certain aspects of my question correctly as I am new to FI, ABAP, and the document concept.

 

We post a document into the GL once a month with BAPI_ACC_DOCUMENT_POST. This document may contain 500 line items. It is my understanding that a Document contains a list of items to post to the GL. Sometimes a mistake is made and the document needs to be reversed. Since this posted with an IDOC, you can't reverse using FB08. It must be reversed with another IDOC. So I want to reverse the document with another program that I will create.

 

I see the record of the document I want to reverse in table BKPF.

 

I see the following parameters are required to fire off this BAPI:

 

Parameters
REVERSAL
BUS_ACT
OBJ_TYPE
OBJ_KEY
OBJ_SYS
RETURN

 

I am looking for as much information on this as possible. I only need to reverse 1 document and it has about 500 line items in it. Do you call the bapi for each line in the document or do you call the bapi one time and it will reverse each of the line items in the document?

 

Also, I have to ask: I did a search for this BAPI and many people say check the documentation for info and examples as if the documentation has actual examples. The documentation for this appears very limited to me and I don't see a single example. Am I missing something? Is there some place in the documentation that actually has a complete example?

 

I am hoping someone can post a good example or some very good detailed information on how to use this FM.

 

Thanks!


Viewing all articles
Browse latest Browse all 8332

Trending Articles