|
#1
|
|||
|
|||
Con estos dos eventos deberia ser suficiente: BOTONES es un status donde está definidos tus iconos y codigos de función.
initialization. set pf-status 'BOTONES'. parameters p_vbeln type vbak-vbeln. at selection-screen. case sy-ucomm. when 'BACK'. leave to screen 0. when 'VISUALIZA'. when 'AUTORIZA'. endcase. |
#2
|
|||
|
|||
DATA: e_smp_dyntxt LIKE smp_dyntxt
Saludos. |
#3
|
|||
|
|||
Buenisimo !
Los 2 modos estan barbaros !. Muchas gracias a ambos !. Saludos desde Santa Fe Capital !. Provincia de Santa Fe Argentina
__________________
Ariel-StaFe Analista Programador Abap Senior Santa Fe Capital Pcia de Santa Fe Argentina |
#4
|
|||
|
|||
En todo caso me gustó más la solución de JARPI. No sabía esa de los cinco codigos de función reservados para usuario.
Gracias por el aporte. Complemento para que quites el Botón del relojito (F8): report demo_sel_screen_function_key. type-pools icon. tables sscrfields. data functxt type smp_dyntxt. data: begin of fuera occurs 0, codi(20) type c, end of fuera. parameters: p_carrid type s_carr_id, p_cityfr type s_from_cit. selection-screen: function key 1, function key 2. initialization. clear fuera. refresh fuera. fuera-codi = 'ONLI'. append fuera. call function 'RS_SET_SELSCREEN_STATUS' exporting p_status = '%_00' tables p_exclude = fuera. functxt-icon_id = icon_display. functxt-quickinfo = 'Visualizar'. functxt-icon_text = 'Visualizar'. sscrfields-functxt_01 = functxt. functxt-icon_id = icon_release. functxt-quickinfo = 'Autorizar'. functxt-icon_text = 'Autorizar'. sscrfields-functxt_02 = functxt. at selection-screen. case sscrfields-ucomm. when 'FC01'. when 'FC02'. when others. ... endcase. start-of-selection. |
#5
|
|||
|
|||
Gracias !
Excelente. Muchas gracias a ambos !
__________________
Ariel-StaFe Analista Programador Abap Senior Santa Fe Capital Pcia de Santa Fe Argentina |
Herramientas | Buscar en Tema |
Desplegado | |
|
|