2008 Jul 04 8:03 AM
hi,
can anyone give the simple example to display the alv grid using oops....give the source code...
thanks
hi,
can anyone give the simple example to display the alv grid using oops....give the source code...
thanks
2008 Jul 04 8:07 AM
Hi
U can find the sample in the programs BCALV*, the program BCALV_GRID_DEMO shows the most simple alv grid program.
Max
2008 Jul 04 9:29 AM
hi,
check this link there is step by step procedure
http://abapreports.blogspot.com/2008/06/alv-grid-display-with-oops.html
regards
prasanth
2008 Jul 04 10:11 AM
DATA: ok_code LIKE sy-ucomm,
g_container TYPE scrfname VALUE 'MY_CONTAINER',
grid1 TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container.
START-OF-SELECTION.
call screen 100.
MODULE status_0100 OUTPUT.
IF g_custom_container IS INITIAL.
CREATE OBJECT g_custom_container
EXPORTING
container_name = g_container.
CREATE OBJECT grid1
EXPORTING
i_parent = g_custom_container.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
is_layout = gs_layout
it_toolbar_excluding = lt_excluding
CHANGING
it_fieldcatalog = i_fcat
it_outtab = i_final[].
CALL METHOD grid1->check_changed_data.
ENDIF.
ENDMODULE.
rewards if its usefull
2008 Jul 04 11:32 AM
Hi Priya,
Go throuugh this document[ Link .
ALV Using Classes [http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf].
If Found Help Full Do reward.
Regards.
Eshwar.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |