Check the following points and reply..
1. Check the workflow is configured properly for approval.
2. Check the posting profiles has been set for Categories.
(If GL code is not defined for categories in posting profile, it wont work)
3. Ensure all the compulsory fields are filled in PR.
If you could give the details of "Error message" we can suggest the solutions clearly.