Hi
Please chekc in KA03 whether GL code is defined as Cost element . If yes then it is manadatory to havr controlling area .
It may be possible that GL ocde is new and by mistake user created as cost element and that's why System is giving this message,