‎2011 Mar 30 4:05 PM
Hello,
I am creating cost elements in ECC via inbound IDoc type COELEM01. I am not sure how to differentiate between primary and secondary cost elements. Any clues? When I try to post a journal entry I get the following error:
"Do not use cost element xxxxxxxxx for CO Through-postings from FI"
Based on that error message it seems as though the Primary Cost Element is getting mistaken for a Secondary Cost Element. Does anyone know if there is any particular flag or setting on the IDoc that would differentiate between primary and seconday?
‎2011 Mar 30 5:49 PM
This is not really an ABAP question. You might want to ask in FI or EDI forum instead.
If you know what field the secondary/primary indicator is stored in, you can search for the same field in the IDoc documentation. Usually the field names are the same in the IDoc and database.