2006 Dec 21 5:53 AM
Hi all,
In my dialogue program,i have screen which has has currency field and quantity fields.
how can i write a code so that user can not enter the alpha chars in those field.
Thanks in advance.
Hi all,
In my dialogue program,i have screen which has has currency field and quantity fields.
how can i write a code so that user can not enter the alpha chars in those field.
Thanks in advance.
2006 Dec 21 5:54 AM
Hi,
If you have use the field which has got the currency and quantity data types..Then it will be automatically be taken care..
Thanks,
Naren
2006 Dec 21 7:19 AM
Thnx for reply...
But this field is in my table control.
And while creating the table control through wizard,i have taken the reference of an internal table of my program.
And data type of this field in the internal table was CHAR.
Now if i have to change it to currency data type means what i have to do?
2006 Dec 21 7:22 AM
2006 Dec 21 7:23 AM
Hi,
If you are giving the column name give a name which is of currency data type..
Example.
-
DATA: BEGN OF S_SCREEN,
CURRENCY_FIELD TYPE NETPR,
END OF S_SCREEN.
Then give the screen field name as S_SCREEN-CURRENCY_FIELD..
Basically in the attributes of the field..In the "Format" text box it should be CURR.
Thanks,
Naren
2006 Dec 21 7:24 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |