05-28-2015 7:42 AM
Hi Experts,
Good Day!!
I have a requirement that I need to enter zero value in field. while i enterd zero value,Then I press enter the value dissapears automatically. That field data type is Quant. can you please help me that how i need to enter a value in that field
Best Regards,
Sravan.
05-29-2015 12:18 PM
Hi Amirineni,
Using the QUANT data type field i think it is not possible. I had a similar requirement some time back and we decided to proceed with the blank value.
Default 0.000 can only be displayed if the screen field is of text type.
I would suggest to move forward with the blank space. However if it definitely required then please explore the possibilities of using a text field and mapping it to quantity field.
Regards,
Tanmay,
05-28-2015 8:18 AM
Hi,
Please check the data you are passing to the fieldcatalog.
The below values are passed or not :
QFIELDNAME DATATYPE , this should keep the value 0 as it is.
Hope this helps.
05-28-2015 8:27 AM
Hello Gaurav,
It is module pool programming & All the fields Data type is Quan. While i'm entering other values it is taking except 0.
Thanks in Advance,
Sravan
05-28-2015 8:39 AM
05-28-2015 8:31 AM
Hi ,
This is the default behavior of quantity related fields. If you enter 0 on the screen it will be shown as blank because 0 signifies initial value.
If you want to specifically handle this and want to display 0 instead of blank , then map your field to character field. The drawback of doing this will be you will have to handle the validations ( number format ) yourself in PAI of the screen. Also you will have to take care of conversion from character to decimal ( QUAN ) in the PBO and PAI.
Regards,
Tanmay.
05-29-2015 11:37 AM
Hi ,
Good Day!!
Instead of this can we replace that space( Quant Data typre related field) with 0.000. is it possible?.
Please help me out of this issue.
Thanks in Advance,
Amirineni Sravan.
05-29-2015 12:18 PM
Hi Amirineni,
Using the QUANT data type field i think it is not possible. I had a similar requirement some time back and we decided to proceed with the blank value.
Default 0.000 can only be displayed if the screen field is of text type.
I would suggest to move forward with the blank space. However if it definitely required then please explore the possibilities of using a text field and mapping it to quantity field.
Regards,
Tanmay,
05-30-2015 5:34 AM