‎2012 Feb 20 5:00 PM
Hi,
I am using this bapi to reverse a CO document.
When I check the table COBK in order to view my documents, the field SOTKZ is always initial.
I am looking for the way to tell the bapi I want this field activated; Do you Know how can I achieve this?
Thank you!!!
‎2012 Feb 20 8:37 PM
Hello,
You might want to try BAPI_ACC_ACT_POSTINGS_REVERSE.
Regards,
Brenda
‎2012 Feb 21 3:11 PM
Thank you very much,
these answesr are very helpfull for me, but I've a new problem and maybe you can help me one more time!
I'm, using the bapi you told me but always get the same error:
Document with external ref. cannot be reversed through internal number
I'm lost, I though that it could be because the number of the document was in wrong format but I don't Know...
I have this data in DOC_HEADER:
CO_AREA --> ABG
DOCDATE --> 20120331
POSTGDATE --> 20120331
DOC_NO-->
DOC_HDR_TX--> Anulación de documento:0000127919
USERNAME--> XSMARTINE
OBJ_KEY--> 0000127919
OBJ_TYPE-->
OBJ_SYS-->
OBJ_KEY_R--> 0000127919
RVRS_NO-->
Do you have any idea please???
Thank you very much!
Edited by: SaraMR on Feb 21, 2012 4:11 PM
‎2012 Feb 21 3:52 PM
Hi,
I found several hints in the FM documentation.
1. For an external number range you should store the number of the CO reversal document in the DOC_NO field.
2. In line with the external number, you should enter the object type (awtyp) of the sending system in the OBJ_TYPE field.
I hope this helps.
Brenda
‎2012 Feb 20 8:58 PM
Hi
Refer the below link which explains the reversal of CO document- [http://forums.sdn.sap.com/thread.jspa?threadID=2094104]