T code KKAO (WIP Calculation) can be run multiple times in a month, but it will not post anything to the GL until and unless you complete settlement program (CO88). In your case you ran both. Thus in CO88 you can reverse the settlement results that you got during mid-month run Regard...
To check your self the SAP program, please execute the t-code Click on System-->Status, it will open a Screen, there under SAP data section you will find the program name. For Automating the transaction the SAP program will be SAPMKKS0. Please create Variant in SE38 for the parame...