‎2007 Jun 27 1:46 PM
‎2007 Jun 27 1:48 PM
use FM
CLOI_PUT_SIGN_IN_FRONT
but u need to move the value to char field and then pass to above FM
‎2007 Jun 27 1:48 PM
Hi
Use the fun module
CLOI_PUT_SIGN_IN_FRONT
Reward points for useful Answers
Regards
Anji
‎2007 Jun 27 1:48 PM
use FM
CLOI_PUT_SIGN_IN_FRONT
but u need to move the value to char field and then pass to above FM
‎2007 Jun 27 1:53 PM
Hi tanq ..wat r the parameters we hav 2 pass in that function module?
‎2007 Jun 27 1:55 PM
REPORT YCHATEST.
DATA : V_VAL(5) VALUE '12-'.
CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
CHANGING
VALUE = V_VAL.
WRITE : V_VAL.
‎2007 Jun 27 2:01 PM
HI,
so many records having the -ve value.....how can i do it(for ex 10 records having -ve value)?
Plz send me how to do?
‎2007 Jun 27 2:04 PM
Take a look at the help for the WRITE statement with addition EDIT MASK ON.
write: l_val USING EDIT MASK 'V__.__'.
‎2007 Jun 27 2:08 PM
loop at itab.
if itab-val LT 0.
CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
CHANGING
VALUE = ITAB-VAL.
modify itab index sy-tabix.
endif.
endloop.