2014 Oct 28 6:39 PM
Can I pull a Memory ID into a parameter defined as integer using the memory id option of the Parameter statement.
PARAMETER: p_lineno LIKE zsd_oms_orders-line_no MEMORY ID lineno
I have set the memory id to using a type n field, but the parameter is always zero.
2014 Oct 29 3:37 AM
Hi Daryl,
Suppose your declaration like this:
Data: lineno type i.
PARAMETER: p_lineno LIKE zsd_oms_orders-line_no MEMORY ID lineno.
I`m right? The initial value of this variable 'lineno' definitely is zero.
If you declaration like this:
Data: lineno type i value 3.
then you can 'SET parameter id 3 fields xxx'.
regards,
Archer