Hello
I’ve created a simple test Stored Procedure like:
SELECT*
from ordr
where docnum = @p1
The goal is that the user can fill in a variable in the query window with the standard SAP option [%01].
I’ve tried several options, but all gives an error.
In the query generator/window I filled in:
Declare @test int
set @test = [%01]
exec RC_testparameter @test
or like
Declare @test int
select @test = docnum from ORDR where docnum = [%01]
exec RC_testparameter @test
both are not working by me.
Does anybody know or this is possible?
Kind Regards
Peter