‎2022 Apr 27 9:41 AM
I have a constant on my program but it doesn't show up on my SAPSCRIPT Form even if it's declared.
I have a program with constant:
g_bottle_name TYPE c VALUE 'Coke'
It is declared on my SAPSCRIPT Form as:
&g_bottle_name&
Upon printing the SAPSCRIPT, the value 'Coke' doesn't show up.
I tried debugging the program, the value of g_bottle_name shows up there.
‎2022 Apr 27 9:55 AM
‎2022 Apr 27 10:36 AM
c5e08e0478aa4727abc4482f5be390b2 yes. It is declared as global variable
‎2022 Apr 27 10:55 AM
From the declaration (no length) I would expect at least the "C" to show up... honestly, I've always seen variables being used to transfer data to sapscripts
‎2022 Apr 27 1:42 PM
What do you mean, "debug variables"? You can debug a program or a SAPScript form, you can't debug a variable...