I am trying to run a rm anova in STATA.

I have a dependent variable Y, a grouping variable (independent) X, which is my treatment variable, and each subject is measured twice, so the repeated measures variable is R. The subject variable is S (R=1,2 S=1,2,3,.... X=1,2,3)

I can't figure out how to do it in STATA, I mean, it let's me run a RM ANOVA with a within subject term only, but when I include X, it shouts at me to add bse() or something. Every online example is full of interactions, how can I run a SIMPLE RM ANOVA model ?

cheers