cancel
Showing results for 
Search instead for 
Did you mean: 

Error message in UI Table element

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

former_member40425
Contributor
0 Kudos

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

Former Member
0 Kudos

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.