2008 Mar 28 10:57 AM
Hi Gurus,
How do you declare the following constants in the smartform.
chara TYPE c VALUE 'A',
charb TYPE c VALUE 'B',
charc TYPE c VALUE 'C',
chard TYPE c VALUE 'D',
i tried declaring like this
b type charb.
But it says charb does not exist.
Thanks in Advance,
Regards
Rakesh.
Hi Gurus,
How do you declare the following constants in the smartform.
chara TYPE c VALUE 'A',
charb TYPE c VALUE 'B',
charc TYPE c VALUE 'C',
chard TYPE c VALUE 'D',
i tried declaring like this
b type charb.
But it says charb does not exist.
Thanks in Advance,
Regards
Rakesh.
2008 Mar 28 10:59 AM
Hi
Data : chara TYPE c VALUE 'A',
charb TYPE c VALUE 'B',
charc TYPE c VALUE 'C',
chard TYPE c VALUE 'D',
2008 Mar 28 11:01 AM
Hi,
Do the following changes.
chara TYPE char1 VALUE 'A',
charb TYPE char1 VALUE 'B',
charc TYPE char1 VALUE 'C',
chard TYPE char1 VALUE 'D',.
Regards,
Morris Bond.
Reward Points if Helpful.
2008 Mar 28 11:04 AM
sorry i think i was not clear. Actually i have alternative loop where the comparison value is b and other constants like it.
So, i need to declare the constants,owise i get an error message saying,it is neither specified in data statement.
So,in this case how should i declare it.
Thanks in Advance,
Regards,
Rakesh.
2008 Mar 28 11:09 AM
u can use for chararcters like
char1,char2 etc....
for numeric
numc1,numc2....etc
Reward if usefull
2008 Mar 28 11:14 AM
Hi,
in global definitions of the smartform just declare as like follows.
variable name Type assignment Associated Type
var1 type c
var2 type c
Regards,
Sanki.
2008 Mar 28 11:18 AM
goto global definitions
var1 type c value '10'
var2 type c value '20'.
and check the constant check box to the right of that variables.
reward if useful.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |