Beruflich Dokumente
Kultur Dokumente
type-pools : slis.
tables : spfli,sflight.
g_repid = sy-repid.
g_tabname_header = 'itab'.
g_tabname_item = 'itab1'.
clear gs_keyinfo.
gs_keyinfo-header01 = 'carrid'.
gs_keyinfo-item01 = 'carrid'.
loop at itab.
select * from sflight where carrid = itab-carrid.
move-corresponding sflight to itab1.
append itab1.
clear itab1.
endselect.
if sy-subrc eq 0.
exit.
endif.
endloop.
* -----------------------------------------------------------*
form abcdef using r_ucomm like sy-ucomm rs_selfield type
slis_selfield.
* -----------------------------------------------------------*
case r_ucomm.
when '&ic1'.
read table itab index rs_selfield-tabindex.
if sy-subrc eq 0.
endif.
clear r_ucomm.
endcase.
endform.
*&---------------------------------------------------------------------*
*& form pc_fld
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->p_1 text
* -->p_1 text
* -->p_0057 text
* -->p_0058 text
* -->p_10 text
* -->p_0060 text
* -->p_0061 text
*----------------------------------------------------------------------*
clear t_fld.
move : l to t_fld-row_pos.
move : p to t_fld-col_pos.
move : f to t_fld-fieldname.
move d to : t_fld-seltext_l,
t_fld-seltext_m,
t_fld-seltext_s.
move 'l' to t_fld-ddictxt.
move o to t_fld-outputlen.
move t to t_fld-tabname.
move ' ' to t_fld-do_sum.