We need to generate a file that contains primary cost element postings that occur only in CO but for which no FI postings are generated in FAGLFLEXT table (example: distributions in CO). For such postings I need to have correct cost center information.
From what I understand this information can be retrieved from Object Number field in COEP. But that field also information on other CO objects like Order.
How to segregate cost center information from other CO objects? In other words, how to obtain correct cost center value for a particular primary cost element.