If ir has credited as zero miles, then that is an error ; it may have incorrectly classed the flight as a reward 1st class flight
Both award and upgrades come from Z class
If this is the case, call AA and see about getting it fixed
If it just has not shown at all on the account, if the approipriate time has elapsed, put in a missing mileage request