‎2008 May 02 10:19 AM
Hi All....
Iam having field in table control to display the output... Can i restrict that field as to give non zero values only?
like....
write:/ itab-field no-zero.
....in reports.....
Thank you,
Naveen.
‎2008 May 02 1:58 PM
hi,
if it is table field, use domain in that field. and give restriction on that.
you can give restrict the value using data element-domain.
‎2008 May 02 1:58 PM
hi,
if it is table field, use domain in that field. and give restriction on that.
you can give restrict the value using data element-domain.
‎2008 May 04 11:21 AM
First select non zero values and then use F4_internal table ( check the name) to give F4 help to that field
Otherwise use module on input to populate that field ( module will get executed only if initial values are not provided to that field.
Regards,
D.Mallick
‎2008 May 05 1:52 AM
If the question is "can I show zero as blank in a table control" then one easy option is to have the display column as a character field, and then fill it conditionally from your real column of data e.g. something like
if not gs_data-amt_field is initial.
write gs_data-amt_field to gs_data-char15 left-justified. "apply whatever masks you want & display char15 field
endif.
Jonathan