Skip to Content
avatar image
Former Member

Error message in UI Table element

Hi Experts,

I am having a UI table element in my view. If there are zero records fetched in the select query, i am displaying an error message using message class in the top of the screen.

Is it possible to display this error message inside the UI table (may be in the first row of the blank table)

If so what should be done?

Please help.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 19, 2009 at 09:09 AM

    Hi,

    When there are no records in the table, then the TABLE UI elements shows the message inside the table as

    'Table data not found' something likethis....by the framework. there is no need of explictily throwing a message.

    As we get the same with ALV.

    Please check it out.

    You can UNCHECK the DISPLAYEMPTYROWS option.

    Regards,

    Lekha.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 19, 2009 at 09:16 AM

    There is one property in table UI named empty table text. There You can give your customized text. It will show the text inside the table

    Regards

    Rohit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 19, 2009 at 09:19 AM

    Hi,

    If you UNCHECK the DISPLAYEMTYROWS optin then standard text "table doesnot contain data" is hown, to bypass it

    follow the Rohit's approach.

    Both ways can be used.

    Regards,

    Lekha.

    Add comment
    10|10000 characters needed characters exceeded