Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dynamic ALV

Former Member
0 Likes
378

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

2 REPLIES 2
Read only

Former Member
0 Likes
347

Post your code..?

Read only

0 Likes
347

prolem solved......