‎2007 Dec 06 7:38 AM
Hello all,
I am having one field p_truck. i am updating the field in table .(In Table) The field type is Char10 . Now when i entered in selection the value of p_truck as 1234 it is updating in table as 0000001234. I dnt want this , i want whatever user enterd into p_truck should get updated in table. Means Suppose user entered 1234 then the updated value should be 1234 and if user entered 0000001234 then it should be 00001234.
Thank you for your help in advance.
Sidd.
‎2007 Dec 06 7:40 AM
use the command write.
data: lv_truck type char10.
write p_truck to lv_truck left-justified no-zero.
‎2007 Dec 06 7:43 AM
Hello Kemmer,
thank you for reply.
But by this only the leading zeroes get removed. i want what ever user entered should get updated. if user entered 0000001234 it should update this as it is.
‎2007 Dec 06 8:36 AM
You've got a conversion function running, most likely. Can you post the actual code of the parameter, so we can see precisely which type you are using?
matt
‎2007 Dec 06 9:11 AM