‎2008 Nov 21 2:41 PM
Hi everybody, I have a problem in a dynpro with a field type erfmg, the problem is that for this fileds 0 and empty value is the same, and I have to differenciate this situation. Do you have any idea how can i do that? Regards.
‎2008 Nov 21 2:46 PM
you can differentiate by using describe feild type lv_type.
if its D P etc... check for intial.. or if the values entered in the filed are numeric
if its C etc... check for space..
‎2008 Nov 21 2:46 PM
you can differentiate by using describe feild type lv_type.
if its D P etc... check for intial.. or if the values entered in the filed are numeric
if its C etc... check for space..
‎2008 Nov 21 2:47 PM
Hello,
Please take that field as char field in your screen and while returning value from the screen transfer the character field to quantity only if is not initial.
But still your problem remains the same because a quantity field will always return 0 value if you enter no value.
Hope it helps.
Thanks,
Jayant
‎2008 Nov 21 2:47 PM
pass this to a char field .. and you can check if its initial ..
if there is a 0 then char field will not be initial ...
‎2008 Nov 26 3:28 PM