Ver Mensaje Individual
  #7  
Viejo 26/02/14, 16:52:07
Mauricio Hidalgo Mauricio Hidalgo is offline
Senior Member
 
Fecha de Ingreso: may 2006
Localización: Santiago, Chile
Mensajes: 481
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.
Responder Con Cita