cancel
Showing results for 
Search instead for 
Did you mean: 

Empty ALV table with the message "Table does not contain visible columns"

Former Member
0 Kudos

Hello experts,

I have created a ALV table and bounden it to data, but it does only show the message "Table does not contain visible columns". I am wondering why. Do you know in which cases will the message be showed? In which class? I use Web Dynpro for ABAP.

Thank you for your help.

Best Regards, Huaiyang

Accepted Solutions (0)

Answers (4)

Answers (4)

sanju_joseph
Participant
0 Kudos

This message will generally appear if you forgot to define the columns for your table , please follow the step below

1. In layout : right click your 'Table' element

2. choose create Binding

3. Cell Text Editor: Text View

4. click on Context and assign the right data source to it , the source from where you want value to filled to this table

5. Cell Editor : TextView for all rows

6.Binding : should be ticket for all rows

7. Name of the Property to Bound: text

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

The Layout is changed, choose Settings link which appear on top right corner of the ALV when you run the application, and add the columns and save

Abhi

hyun-soo_kim
Explorer
0 Kudos

You have to set empty table text to alv table attribute.

Use this method 'SET_EMPTY_TABLE_TEXT' in 'IF_SALV_WD_TABLE_SETTINGS' interface.

See the component controller method CONFIGURE_ALV in program SALV_WD_TEST_TABLE_EDIT.

You can know how to get the object of 'IF_SALV_WD_TABLE_SETTINGS' interface.

Soo.

sanju_joseph
Participant
0 Kudos

This error message will get triggered only if you forgot to assign 'Dictionary structure' to context