‎2007 Jul 16 2:57 PM
All,
I was wondering if there is a table that exists to store hard coded values.
In my program, I need to retrieve a characteristics in table ausp where atinn = '0000000002.
When created in TST, the value was not '000000002' but '0000000011.
I want to avoid hard coding the value '0000000011 in the query and instead retrieve it from a table.
I know I can create a custom table, but I was wondering what is the best practice for hard coded value and if a table already exists for this?
Thanks in advance,
Isabelle
‎2007 Jul 16 3:06 PM
‎2007 Jul 16 3:03 PM
Hi Isabelle,
You don't need to have a table to store hard coded values.
YOu can declare parameters for the user to enter the values:
parameters p_atinn type ausp-atinn default '0000000011.
or use constants statement like this:
constants c_atinn type ausp-atinn value '0000000011.
REgards,
Ravi
‎2007 Jul 16 3:06 PM
‎2007 Jul 16 5:30 PM