2006 Aug 29 12:24 AM
Hi all
I am pulling material gross and net weight (fields BRGEW and NTGEW) from MARA table. The data type for these two fields is QUANT 13 with 3 decimals.
But I want to have the net and gross weight values with only one decimal value. How can I do this please help.
2006 Aug 29 12:30 AM
you can declare another variable as
w_quant type p decimals 1
and move your table value to that field..
~Suresh
2006 Aug 29 12:30 AM
you can declare another variable as
w_quant type p decimals 1
and move your table value to that field..
~Suresh
2006 Aug 29 12:40 AM
Hi,
<b>data: gross type p decimals 1,
net type p decimals 1.</b>
move your gross and net value to the above variables....
Cheers,
Abdul Hakim
2006 Aug 29 12:45 AM
Thanks for the replies. But I am working in a smartform. The two fields are the global variables. I can not declare the variables as you have shown me. Do you guys know any data type of type P with 1 decimal.
Waiting.......
2006 Aug 29 12:49 AM
hi
why dont you declare a global variable in smartform of the same type........??
2006 Aug 29 12:50 AM
In smartform under Global Definitions can you tell me how can I declare these two fields....
2006 Aug 29 12:54 AM
hi you could create a custom structure with the fields of which decimal length of 1 each and refer the same in SF.....
Cheers,
Abdul Hakim