10-17-2006 3:13 PM
Hi - does anyone know how to print the selection screen options when using ALV OO ?
Am using class/method below - haven't used OO very much so don't know this. Thanks !!
CALL METHOD cl_gui_alv_grid->set_table_for_first_display
EXPORTING
i_save = 'A'
is_variant = v_variant2
is_layout = w_layout
i_default = c_yes
CHANGING
it_outtab = i_invoice_tab
it_fieldcatalog = i_fieldcat.
10-17-2006 3:19 PM
hi,
simple check these sample pgms.
they are very good tutorials.
go to se38 -> give BCALV_EDIT_* -> prees f4.
BCALV_EDIT_01 This report illustrates the simplest case of using an editable/noneditable ALV Grid Control.
BCALV_EDIT_02 This report illustrates how to set chosen cells of an ALV Grid Control editable.
BCALV_EDIT_03 In this example the user may change values of fields SEATSOCC (occupied seats) and/or PLANETYPE.
The report checks the input value(s) semantically and provides protocol messages in case of error
BCALV_EDIT_04 This report illustrates how to add and remove lines to a table using the ALV Grid Control and how to
implement the saving of the new data.
BCALV_EDIT_05 This example shows how to use checkboxes within an ALV Grid Control. You learn:
(1) how to define a column for editable checkboxes for an attribute of your list
(2) how to evaluate the checked checkboxes
(3) how to switch between editable and non-editable checkboxes
BCALV_EDIT_06 This example shows how to define a dropdown listbox for all cells of one column in an editable ALV
Grid Control.
BCALV_EDIT_07 This example shows how to define dropdown listboxes for particular cells of your output table.
BCALV_EDIT_08 This report implements an ALV Grid Control with an application specific F4 help. The following aspects
are dealt with:
(1) how to replace the standard f4 help
(2) how to pass the selected value to the ALV Grid Control
(3) how to build an f4 help, whose value range depend on a value of another cell.
regards,
anver
if hlpful pls amrk points
10-17-2006 3:19 PM
hi,
simple check these sample pgms.
they are very good tutorials.
go to se38 -> give BCALV_EDIT_* -> prees f4.
BCALV_EDIT_01 This report illustrates the simplest case of using an editable/noneditable ALV Grid Control.
BCALV_EDIT_02 This report illustrates how to set chosen cells of an ALV Grid Control editable.
BCALV_EDIT_03 In this example the user may change values of fields SEATSOCC (occupied seats) and/or PLANETYPE.
The report checks the input value(s) semantically and provides protocol messages in case of error
BCALV_EDIT_04 This report illustrates how to add and remove lines to a table using the ALV Grid Control and how to
implement the saving of the new data.
BCALV_EDIT_05 This example shows how to use checkboxes within an ALV Grid Control. You learn:
(1) how to define a column for editable checkboxes for an attribute of your list
(2) how to evaluate the checked checkboxes
(3) how to switch between editable and non-editable checkboxes
BCALV_EDIT_06 This example shows how to define a dropdown listbox for all cells of one column in an editable ALV
Grid Control.
BCALV_EDIT_07 This example shows how to define dropdown listboxes for particular cells of your output table.
BCALV_EDIT_08 This report implements an ALV Grid Control with an application specific F4 help. The following aspects
are dealt with:
(1) how to replace the standard f4 help
(2) how to pass the selected value to the ALV Grid Control
(3) how to build an f4 help, whose value range depend on a value of another cell.
regards,
anver
if hlpful pls amrk points
10-17-2006 3:29 PM
Do you know which one - I can only see 01->04 as we are on 4.6 - I thought there maybe a IS_LAYOUT or IS_PRINT option that will print the report selections automatically but I cannot find it ? Thanks
10-17-2006 3:26 PM
hi
good
go to SE38 and search BCALV* and you find out the OO programs,
go to se83 to execute the program to find out the output or the program.
thanks
mrutyun^