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

Push button column in Table Control

Former Member
0 Likes
509

hello,

i have a table control with 6 rows n a button column.... if my internal table has some entries for eg. 2 , then it will display only 2 buttons... but if internal table has no entries, then it will display buttons in all 6 rows... how to suppress these buttons ,if my internal table is empty???

Regards,

Maya.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
405

Hi Maya,

Put those 6 buttons in to a screen group.Go to screen layout,

double click on particular button.there will a field screen group.write a similar code 'GR1' in all push bottons.

If itab is initial.

IF screen-group1 = 'GR1'.

screen-input = 0.

screen-output = 1.

MODIFY SCREEN.

endif.

else.

do this.

endif.

Reward points if helpful.

Regards,

Hemant

2 REPLIES 2
Read only

Former Member
0 Likes
406

Hi Maya,

Put those 6 buttons in to a screen group.Go to screen layout,

double click on particular button.there will a field screen group.write a similar code 'GR1' in all push bottons.

If itab is initial.

IF screen-group1 = 'GR1'.

screen-input = 0.

screen-output = 1.

MODIFY SCREEN.

endif.

else.

do this.

endif.

Reward points if helpful.

Regards,

Hemant

Read only

0 Likes
405

THANK U HEMANT...

ITS WORKING FINE

REGARDS,

MAYA.