Ver Mensaje Individual
  #1  
Viejo 08/06/09, 23:10:01
mendocar mendocar is offline
Senior Member
 
Fecha de Ingreso: ago 2008
Localización: Lima Peru
Mensajes: 226
Modificar y grabar disposicion ALV OO

Estimados , deseo que se agregue o incluya el icono para grabar disposiciòn. Actualmente sòlo se puede modificar pero no grabar o seleccionar. Les adjunto parte del còdigo usado. Que me falta para que me aparezca lo requerido. Muchas gracias.

TYPE-POOLS: slis.

gt_fieldcat type lvc_t_fcat,
gs_layout type lvc_s_layo,

form get_fieldcat.
data: ls_fcat type lvc_s_fcat.
data: w_pos(2) TYPE n.
refresh gt_fieldcat.
* belnr
add 1 to w_pos.
clear ls_fcat.
ls_fcat-tabname = 'TI_REP'.
ls_fcat-fieldname = 'BELNR'.
ls_fcat-ref_table = 'BSIS'.
ls_fcat-ref_field = 'BELNR'.
ls_fcat-key = 'X'.
ls_fcat-col_pos = w_pos.
append ls_fcat to gt_fieldcat.

data: ls_fcat type lvc_s_fcat.

form get_layout.
clear gs_layout.
gs_layout-zebra = 'X'.
gs_layout-sel_mode = 'D'.
endform. "get_layout
Responder Con Cita