on 08-13-2007 11:43 AM
hi all ,
in my report in the codeline
lv_decm = wa_qamv-toleranzob.
<lfs_field> = lv_decm.
i want if the value of field wa_qamv-toleranzob is equal to zero . the output in the respective column should be blank .
<lfs_field> is a fiels symbol , the output table is <lfs_table>,
and lv_decm TYPE p DECIMALS 2.
and qamv-toleranzob is of type FLTP.
if i m assinging the value of lv_decm to a local varialble n then assigning it to fiels symbol the out put is * insteat of field so how to get the output as blank.
thanks
himanshu
Do it like this,
IF wa_qamv-toleranzob NE '0'.
lv_decm = wa_qamv-toleranzob.
ENDIF.
<lfs_field> = lv_decm.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
by applying ur meathod its coming as 0.00 n i want it blank .
himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
If that is internal table field is integer type set it to 0 or if it is character type set it to ' ' after matching the condition. So when u display in the output it will appear either 0 or blank .
Set it according to ur condition .
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.