Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dynamic ALV

hiiii,

I am using the following code to display a dynamic alv in a container

TRY.

CALL METHOD CL_SALV_TABLE=>FACTORY

EXPORTING

R_CONTAINER = g_custcont

IMPORTING

R_SALV_TABLE = table

CHANGING

T_TABLE = <dynamic_table>.

CATCH CX_SALV_MSG .

ENDTRY.

functions = table->get_functions( ).

functions->set_all( abap_true ).

display = table->get_display_settings( ) .

display->SET_HORIZONTAL_LINES( VALUE = ' ' ). "Switch off Horizontal lines

display->SET_VERTICAL_LINES( VALUE = ' ' ). "Switch off Vertical lines

table->display( ).

- the program works with out error.....

- Dynamic tale populated correctly......

Problem........

->

Alv is not displayed in the container....it gives a blank container.

can anyone help me out with this issue.

thanks

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question