Is this happening only for one sales order or
all the sales document line items having ZTAN item category are showing as inactive???
By the way-- VBAP table telling that statistical value set to Y...
What was the Statistical value Field(business data section) at VOV7 for your ZTAN item category(normally it should be blank)???
Pl update us.
Phanikumar