Skip to Content
avatar image
Former Member

Hiding TITLES when INT-TABLE is EMPTY

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>

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

<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>

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

<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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 02, 2007 at 07:12 AM

    Bump.

    Add comment
    10|10000 characters needed characters exceeded

    • 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