cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding TITLES when INT-TABLE is EMPTY

Former Member
0 Kudos

Hi,

<br><br>

I Need Help on HIDING int-tables that do not have values...

<br><br>

We are passing an internal table called I_MATERIALS.

<br><br>

In some instances we have records in I_MATERIALS, and in that case we print

the TITLES and each of the MATERIAL records (under the title.) This is working FINE!

<br><br><br>

<img src="http://img294.imageshack.us/img294/1059/1sdnka7.jpg" border="0"/></a>

<br><br><br>

However, there are certain business instances where I_MATERIALS will be EMPTY.<br>

In that case, WE DO NOT want to print the TITLES, since no data will be printed underneath...

<br><br><br>

<img src="http://img105.imageshack.us/img105/4183/2sdnbh2.jpg" border="0" /></a>

<br><br><br>

Please advise on how to achieve that. I suspect that there is a simple attribute that needs to be set & I need some guidance.

<br><br>

Any & all help will be greatly appreciated.

<br><br>

Thank you,<br>

John

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Bump.

Former Member
0 Kudos

Hi John,

Goto Objects palette, in Binding tab, we have Repeat Subform for each data item,

Please uncheck Max option in this .

Hope this will help.

Thanks

Amit

former_member188831
Contributor
0 Kudos

Hi,

as amit told to uncheck repeat subform, but i think this may not work for you. this is to restrict th no of records in table control.

This can be done, go to contect and select the table and keep a condition <ITAB> NE initial. by doing this way table header will not be repeated if there are no records.

all the best..

rgds,

Mahesh.Gattu