How to create a stored procedure for ssrs in ax 2012?

Use of stored procedure in ssrs report