Ver Mensaje Individual
  #2  
Viejo 09/05/10, 02:17:11
andresf02 andresf02 is offline
Senior Member
 
Fecha de Ingreso: nov 2009
Mensajes: 190
Encontré una forma sencilla de hacerlo.

en el form USER_COMMAND: (adicionen lo que esta en rojo)



form user_command using p_ucomm type sy-ucomm
p_selfld type slis_selfield.

case p_ucomm.
when '&DATA_SAVE'. "based on your action

data ref1 type ref to cl_gui_alv_grid.
"For capturing the selected data
call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref1.
call method ref1->check_changed_data.
loop at it_sflight where checkbox = 'X'.
delete it_sflight index sy-tabix.
endloop.
p_selfld-refresh = 'X'.
endcase.
endform. "user_command


------------------------------------------------------

El problema es que yo estaba trabajando en MINISAP 46D y la funcion 'GET_GLOBALS_FROM_SLVC_FULLSCR' al parecer no existe en esta version.


Alguien sabe como hacer esto mismo pero en MINISAP 46D.???
Responder Con Cita