I want to make a summary table by two groups.

Code:
asdoc sum ln_assets ln_sales r_change p_change cash profit leverage if year>2012, stat(mean N) by(rec_inc_dum demon_dummy)
I get the following error

number of variables in varlist must equal number of variables in generate(newvarlist)
The varlist however does have equal number of variables in both the groups. Does asdoc allow summary by two groups?