07-14-2009 11:31 AM
Hi all,
I want to reverse FI document with BAPI_ACC_DOCUMENT_REV_POST for documents that was posted with BAPI_ACC_DOCUMENT_POST, but it showed this error: OBJ_SYS is missing. How do we set the data for OBJ_SYS, OBJ_TYPE, and OBJ_KEY?
I tried to fill in with something similar with the one when we do manual posting, but it's still showed error.
Please help,
Meila
07-14-2009 12:03 PM
I have not used this BAPI yet, but maybe you can find out how it works by studying program ACC_BAPI_TEST_DOCUMENT.
OBJ_SYS is most likely the logical system as found in T000-LOGSYS.
Thomas
07-15-2009 3:29 AM
Thank you, Thomas!
I'm currently learning the program..
Meanwhile, anyone have any other suggestions for me to try?
Regards,
Meila
11-25-2009 4:52 PM
Unfortunately there are a lot of posts to this topic, without meaningful answers. When creating a reversal, those fields are used to create the actual "new" document number.
However, if you have an internal number range assignment when creating FI documents, you do not need to fill these fields.
But your system may be requiring those fields to be filled and if that is so, you may not have the correction installed in your system, that allows you to post reversals via this BAPI without having to fill those fields.
This note explains it perfectly: 1005440.
It shows you what fields to fill based on whether you want to use internal or external number range assignments AND you can check whether you have the associated correction installed in your system. If you have the note installed, you will be able to post reversals without those fields filled.