Skip to Content
author's profile photo Former Member
Former Member

error is reversing account document

i am getting error in reversing account document using the function module BAPI_ACC_GL_POSTING_REV_POST.

error is :

1. Error in document VBRK 3000200510v1302005 T90CLNT090.

2. Reversal in Financial accounting not possible

3. Reversal not possible accounting document for the ref does not exist.

this is my code.

data t_bapiacrev type table of bapiacrev with header line.

data t_bapiret2 type table of bapiret2 with header line.

data : obtype type bapiacrev-obj_type,

obkey type bapiacrev-obj_key,

obsys type bapiacrev-obj_sys.

  • i have copied the key from the document header of the

  • account document

t_bapiacrev-obj_type = 'VBRK'.

t_bapiacrev-obj_key = '3000200510v1302005'.

t_bapiacrev-obj_sys = 'T90CLNT090'.

t_bapiacrev-obj_key_r = 'T90CLNT090'.

t_bapiacrev-pstng_date = '20051005'.

t_bapiacrev-fis_period = '05'.

t_bapiacrev-comp_code = 'v130'.

t_bapiacrev-reason_rev = '02'.

t_bapiacrev-ac_doc_no = '3000200510'." accounting document is exist in my system

append t_bapiacrev.



reversal = t_bapiacrev


obj_type = obtype

obj_key = obkey

obj_sys = obsys


return = t_bapiret2 .

loop at t_bapiret2.

write : t_bapiret2-type , t_bapiret2-id , t_bapiret2-message,



please help me



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 10, 2005 at 05:42 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2005 at 05:53 AM

    This might sound very silly but still for the info,

    I dont think u can store company code in small letters in database. it cannot be v130 but has to be V130.

    Hence ur ojbect key has to be


    and company code : V130.

    Just let me know if this solves ur problem

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.