Hi Shiva,
Yes, I understand that, the "select" statement just reserve a value for the next inserted row of your user table.
But, then, you will insert that row, do you? in such case the reserved value will be used and will be replicated with the "insert" DML (SRS will be able to insert an identity value (the same as at primary), it will not "ask" replicate ASE to generate one again).
Does it work like this for you?
If not, what is the issue if table is set for replicate and not the store procedure?
Regards
Yvan