TYPES : BEGIN OF it_tab_structrue,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price LIKE sflight-price,
currency LIKE sflight-currency,
planetype LIKE sflight-planetype,
seatsmax LIKE sflight-seatsmax,
seatsocc LIKE sflight-seatsocc,
paymentsum LIKE sflight-paymentsum,
free_seats LIKE sflight-seatsmax,
* icon_name(30),
END OF it_tab_structrue.
DATA it_tab TYPE STANDARD TABLE OF it_tab_structrue.
*DATA it_tab TYPE STANDARD TABLE OF sflight.
DATA wa_tab TYPE it_tab_structrue.
DATA: g_custom_container TYPE REF TO cl_gui_custom_container,
alv_grid TYPE REF TO cl_gui_alv_grid.
DATA: temp TYPE lvc_t_fcat.
DATA: wa_fieldTest LIKE line of temp.
*DATA: wa_fieldTest type lvc_s_fcat.
DATA: ok_code LIKE sy-ucomm,
save_ok_code LIKE sy-ucomm.
MODULE user_command_0100 INPUT.
MOVE ok_code TO save_ok_code.
CLEAR ok_code.
CASE save_ok_code.
WHEN 'BACK'.
CALL METHOD g_custom_container->free.
LEAVE TO SCREEN 0.
WHEN OTHERS.
SET SCREEN 100.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT