2010 Jul 07 10:17 AM
Hi All
I am trying to generate an ALV using container but its not coming.
when I execute the code only the blank screen is coming up.
here is my code, please help.
before this code IO have fetched the datain internal table.
CONT1 is the name of my container on the screen.
DATA: ALV TYPE REF TO CL_SALV_TABLE,
CONTAINER1 TYPE REF TO CL_GUI_CONTAINER.
CALL METHOD CONTAINER1->SET_NAME
EXPORTING
NAME = 'CONT1'.
CALL METHOD CL_SALV_TABLE=>FACTORY
EXPORTING
R_CONTAINER = CONTAINER1
CONTAINER_NAME = 'CONT1'
IMPORTING
R_SALV_TABLE = ALV
CHANGING
T_TABLE = ITAB.
CALL METHOD ALV->DISPLAY.
Thanks in advance
Lalit Gupta
Hi All
I am trying to generate an ALV using container but its not coming.
when I execute the code only the blank screen is coming up.
here is my code, please help.
before this code IO have fetched the datain internal table.
CONT1 is the name of my container on the screen.
DATA: ALV TYPE REF TO CL_SALV_TABLE,
CONTAINER1 TYPE REF TO CL_GUI_CONTAINER.
CALL METHOD CONTAINER1->SET_NAME
EXPORTING
NAME = 'CONT1'.
CALL METHOD CL_SALV_TABLE=>FACTORY
EXPORTING
R_CONTAINER = CONTAINER1
CONTAINER_NAME = 'CONT1'
IMPORTING
R_SALV_TABLE = ALV
CHANGING
T_TABLE = ITAB.
CALL METHOD ALV->DISPLAY.
Thanks in advance
Lalit Gupta
2010 Jul 07 11:42 AM
2010 Jul 30 1:42 PM
Could you post your solution? I am new and looking for this exact solution.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |