Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

table controls (c every one)

naveen_inuganti2
Active Contributor
0 Likes
386

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
366

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.

3 REPLIES 3
Read only

Former Member
0 Likes
367

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.

Read only

Former Member
0 Likes
366

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

Read only

Former Member
0 Likes
366

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