Avalados por :
FUNCTION z_very_simple_alv.
*"----------------------------------------------------------------------
*"*"Local interface:
*" IMPORTING
*" REFERENCE(I_START_COLUMN) TYPE I DEFAULT 25
*" REFERENCE(I_START_LINE) TYPE I DEFAULT 6
*" REFERENCE(I_END_COLUMN) TYPE I DEFAULT 100
*" REFERENCE(I_END_LINE) TYPE I DEFAULT 10
*" REFERENCE(I_TITLE) TYPE STRING DEFAULT 'ALV'
*" REFERENCE(I_POPUP) TYPE FLAG DEFAULT ' '
*" TABLES
*" IT_ALV TYPE STANDARD TABLE
*"----------------------------------------------------------------------
DATA go_alv TYPE REF TO cl_salv_table.
TRY.
cl_salv_table=>factory(
IMPORTING
r_salv_table = go_alv
CHANGING
t_table = it_alv[] ).
CATCH cx_salv_msg.
ENDTRY.
DATA: lr_functions TYPE REF TO cl_salv_functions_list.
lr_functions = go_alv->get_functions( ).
lr_functions->set_all( 'X' ).
IF go_alv IS BOUND.
IF i_popup = 'X'.
go_alv->set_screen_popup(
start_column = i_start_column
end_column = i_end_column
start_line = i_start_line
end_line = i_end_line ).
ENDIF.
go_alv->display( ).
ENDIF.
ENDFUNCTION.
REPORT z_very_simple_alv.
DATA gt_tab TYPE STANDARD TABLE OF sflights.
SELECT * FROM sflights INTO
Pedro Pascal
Se unió el 07/03/2018
contacto@primeinstitute.com
(+51) 1641 9379
(+57) 1489 6964
© 2024 Copyright. Todos los derechos reservados.
Desarrollado por Prime Institute