Skip to Content
avatar image
Former Member

How to display table dynamically

Hi ,

I need to call a RFC from VC and if the returned table contains records then i need to display the result table ..if not i just need to display message telling that there are no matching records .. how can we do this in VC .. please help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 14, 2007 at 03:41 AM

    Hi

    u can control the visibility of the table by taking one of the feild and writing formula BOOL(IF(field=="", false,true)). for showing the message u need to place one textbox in form and use this formula to control the visibility BOOL(IF(field=="", true,false)). right click on table and select configure element to get visibility condition.

    Regards

    Pradeep P N

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      just try to use the Group operator with a Count on one of the field.

      This will give as result the number of values returned.

      Rgds,

      Karim

  • avatar image
    Former Member
    Nov 14, 2007 at 09:12 AM

    You can add an export parameter to your rfc e.g. table entries as an integer. Then add a visibility condition to your table if the parameter is not 0 then display the table.

    Best Regards,

    Marcel

    Add comment
    10|10000 characters needed characters exceeded