В общем, в статье всё сказано - есть 5 скрытых кнопок, на которые мы можем назначит свои действия.
Пример кода:
report znn_upload.
*-----------------------------------------------------------------------
type-pools: icon.
tables : sscrfields.
data : functxt type smp_dyntxt.
data : path_name like sapb-sappfad.
*-----------------------------------------------------------------------
selection-screen function key 1.
initialization.
functxt-icon_id = icon_protocol.
functxt-quickinfo = 'AL11'.
functxt-icon_text = 'AL11'.
sscrfields-functxt_01 = functxt.
*-----------------------------------------------------------------------
at selection-screen.
* BREAK-POINT id break.
case sy-ucomm.
when 'FC01'.
submit rswatch0 and return. "AL11
endcase.
*-----------------------------------------------------------------------
Пример кода:
report znn_upload.
*-----------------------------------------------------------------------
type-pools: icon.
tables : sscrfields.
data : functxt type smp_dyntxt.
data : path_name like sapb-sappfad.
*-----------------------------------------------------------------------
selection-screen function key 1.
initialization.
functxt-icon_id = icon_protocol.
functxt-quickinfo = 'AL11'.
functxt-icon_text = 'AL11'.
sscrfields-functxt_01 = functxt.
*-----------------------------------------------------------------------
at selection-screen.
* BREAK-POINT id break.
case sy-ucomm.
when 'FC01'.
submit rswatch0 and return. "AL11
endcase.
*-----------------------------------------------------------------------
Комментариев нет:
Отправить комментарий