‎2013 Jan 22 7:03 AM
i have created a enter form through module pool.and have given condition enter is saved only when it is greater than 0.now i want the entry to be saved as 0 also,but if m giving greater than equal to zero then it is taking zero as a blank value.kindly help how to save zero as a value.
‎2013 Jan 22 7:06 AM
This looks like Requirement Dumping to me, which is against Forum Rules.
Please show what research you have done before posting
Read the Rules of Engagement.
Hope this helps..
‎2013 Jan 22 7:08 AM
i am searching it from last two days then only i have posted here.
‎2013 Jan 22 7:25 AM
Hi,
are you using both the condition ?
what data type you mainatined?
Regards,
vijay
‎2013 Jan 22 7:32 AM
i am using quan as the data type and i have used GT 0 but now i want as GE 0,but when i am doing this then it is accepting entry as a blank value not as a value 0.
‎2013 Jan 22 7:38 AM
‎2013 Jan 22 7:46 AM
LOOP AT ITAB INTO ITAB_WA WHERE QUANTITY GT 0 .
ITAB_FINAL_WA-QUANTITY = ITAB_WA-QUANTITY.
APPEND ITAB_FINAL_WA TO ITAB_FINAL.
endloop.
MODIFY ZBS_BRAND FROM TABLE ITAB_FINAL.
else.
message.
this is my code.it is working absolutely fine.but when i am editing it to be quantity GE 0 then also its working fine but it is not showing as 0 in front of brands in table,it is showing as blank field in quantity.
‎2013 Jan 22 8:15 AM
Did you tried the Conversion Exit Function Modules to the Quantity field.
I hope this solves your problem.
‎2013 Jan 22 11:26 AM
Hi,
I just tried writing a test program to update a Z* database table with quantity 0 and it correctly displays the quantity as 0. I used the data element MENGE_D which is having QUAN as the data type.
I hope you are declaring the final work area and internal table of the same type as database. Thanks.
Regards,
Kumud