HI,
Please go to KS02 and check the validity of cost centre and check the Posting period of docuemnt . IT may be possible that cost centre doesn't cover the posting period means create after that period .
another thing is please check whether cost centre is block for posting or not .
Many Thanks