2009 Feb 19 1:28 PM
Hi,
I have editable field in grid in which I want to put some number. The field type is p decimals 1. If I put there number 5 or 5,0 I got finally value 0,5. To get 5 I must put there 50. I should I do to get correct value, after putting 5 I want to receive 5,0?
Regards
Joanna
2009 Feb 19 2:08 PM
S you are using type P with decimals 1.
Set:
DECIMALS_O = '1'.
Dont use *DECMLFIELD * field.With this if shoulf work.
Regards,
Gurpreet
Hi,
I have editable field in grid in which I want to put some number. The field type is p decimals 1. If I put there number 5 or 5,0 I got finally value 0,5. To get 5 I must put there 50. I should I do to get correct value, after putting 5 I want to receive 5,0?
Regards
Joanna
2009 Feb 19 1:42 PM
Use Field caltlog field.
DECIMALS_O -->Number of decimal places for output
DECMLFIELD -->Field name with DECIMALS specification
Use these field while building field catlog for alv.
Regards,
Gurpreet
2009 Feb 19 1:55 PM
Thanks Gurpreet, could you tell me which value exactly should bein this field?
J.
2009 Feb 19 2:08 PM
S you are using type P with decimals 1.
Set:
DECIMALS_O = '1'.
Dont use *DECMLFIELD * field.With this if shoulf work.
Regards,
Gurpreet
2009 Feb 20 8:27 AM
Decimals_o doesn't change anything but use field DECIMALS = '1' in field catolog solved my problem.
Gurpreet, thanks for idea.
regards
Joanna
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |