2007 Jun 29 9:05 AM
hi all
is there any function module todelete decimal values not converting charcter or numeric values i want to change my value with decimals to with out decimals.
please give me suggetion.
Thanks
Ramana reddy
2007 Jun 29 9:07 AM
just declare
data : val type p decimals 0 .
" only val type p
val = <your current val>.
write : / val.
regards
shiba dutta
hi dear
you can use type P or I
Data W_VAL type P.
Data W_VAL type I.
or assigned dictionary field like Mara-MATNR as getting your value
Rewards if Useful.
2007 Jun 29 9:07 AM
just declare
data : val type p decimals 0 .
" only val type p
val = <your current val>.
write : / val.
regards
shiba dutta
2007 Jun 29 9:29 AM
2007 Jun 29 9:08 AM
HI,
Just assign it to a data of type I.
Data: int type I.
int = <your_data>.
Regards,
Sesh
2007 Jun 29 9:09 AM
Hi Ramana,
Declare a variable of type p without decimals and move your value having decimals into that and use the newly defined variable.
Regards,
Kiran
2007 Jun 29 9:15 AM
hi dear
you can use type P or I
Data W_VAL type P.
Data W_VAL type I.
or assigned dictionary field like Mara-MATNR as getting your value
Rewards if Useful.
2007 Jun 29 9:30 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |