‎2013 Oct 15 2:18 PM
Please help me to find out why this document is not being reversed.
I got the following error in return table wen running the BAPI_ACC_DOCUMENT_REV_POST
ID FSA NUM 009 - Documento contabil não existe para referência. Accounting document does not exist for reference!
Reversal table informed is:
Obj_type = 'BKPFF'
Obj_key = 1900000005BB012013
Obj_sys = ECDCLNT120
Obj_key_r = 1900000005BB012013
Pstng_date = 15.10.2013
Fis_period = 10
Comp_code = BB01
Reason_Rev = 01
Ac_doc_no = blank
Acc_principle = blank
BUS_ACT = RFBU
I can see the documet in bkpf table with all these information, except for Obj_type which is only 'BKPF' in the table.
What can I doing wrong?
‎2013 Oct 15 3:54 PM
‎2013 Oct 15 2:45 PM
Hi,
It should work if you pass the import paramters correctly...
Refer the below link to see a sample and more info
‎2013 Oct 15 3:44 PM
Maju,
Thanks for your help.
My guess is that I am passing parameters correctly, but...
According to the sample you mentioned, I am passing obj_type = ' BKPF', as sugested:
it_reversal-obj_type = bkpf-awtyp.
Return message says 'BKPF' is not a valid entry to obj_type.
Would you mind to double check this?
‎2013 Oct 15 3:46 PM
You should keep Obj_type from bkpf table that is 'BKPF', if you still get the error try to do it manually via tcode and see what happens.
For your reference
‎2013 Oct 15 3:59 PM
‎2013 Oct 15 3:54 PM
‎2013 Oct 15 3:58 PM
‎2013 Oct 15 4:00 PM
You are right, it is described also in
1799990 - Error message RW628 is raised when reverse documents via BAPI
Also take a look at FM CALL_FB08
Thanks,
Felipe