on 10-15-2011 6:41 AM
Hi Folks,
Iam creating a new web dynpro component.In that component iam using NUMC(40) data type for one of input field.By default value for that field is coming 0000000000000000000.How can i disable default value for that field?
Hi,
you will need to use char field for achieving your aim.
kindly choose a char attribute for binding your input field on screen.
FYI : you can even remove the leading zeros from the char
SHIFT A LEFT DELETING LEADING '0'.
Regards,
Sahai.s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I think that using integer will also have a default value of single '0'.
If you to want the initial value to be Blank you will have to use Char.
Warm regards
Upendra Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
as your value is of type NUMC, the intial value will be displayed as 0(in your case 40 zeros). for type NUMC blank value means the number of zero specified in lenght specification.
Better you use integer type attibute and bind it to you inputfield so that when it is intial, blank value will be displayed.
Thanks,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.