I am getting following error in controlling .
You have not defined a CO account assignment for an account that is relevant to cost accounting.
Account 511001 is defined as a cost element.
This means that you must always specify a CO account assignment.
Enter one of the following CO account assignments
Cost center / cost center/ activity type
Sales order item (for a project or cost relevant)
Project / WBS element
Cost object (Process manufacturing)
Network/ Network activities
Real estate object
The posting row affected is 0000000001, account 511001.