Create One new Stored Procedure and write exec code inside this procedure, you will get the message of that previous procedure and then you proceed your code.
create procedure GetReturnValue
as
begin
declare @result as varchar(50)
exec @result=[dbo].[GetSubmitDetails] @cust_id,@name,@state,@s_amount,@sales_id,@selectout
end