Error in Confirm Operations in transation CO12
When we are at CO12 transaction confirming operation 020, we need to confirm operation 010 automaticaly..
I used an Exit to do this...In this exit i confirm the 010 operation using a BAPI, and the operation 10 is confirmed.
But we have a litle problem, the problem is that when i return to the main window and try to press the button "Propose Actual Data" i get a Dump in the system.
"Exception condition "ERROR_READ_AFVG" raised
The termination occurred in the ABAP program "SAPLCOBO" in "CO_BT_AFVG_READ_WITH_INDEX".
The main program was "CORUCOLCONF1 ".
The termination occurred in line 60 of the source code of the (Include)
of the source code of program "LCOBOU03" (when calling the editor 600)."
I've debugged the program and saw that there is an internal table (standard) called AFVG_BT is completly empty in contradicton with the same internal table (that is full with all the order operations) when i just confirm the 010 operation manually.
Thanks in Advanced,