Ver Mensaje Individual
  #1  
Viejo 30/04/09, 16:34:40
mendocar mendocar is offline
Senior Member
 
Fecha de Ingreso: ago 2008
Localización: Lima Peru
Mensajes: 226
Reporte ALV - short dump

Hola estimados : Tengo un reporte ALV al cual le agreguč un campo (el de sociedad) y hasta ahė todo bien, me muestra el reporte y el campo aņadido, pero cuando quiero realizar un filtro el programa se cae. Sipuedo realizar ordenamientos por ejemplo. Y si lo ejecuto en DEV o QAS , no me da problemas, porque hay poca data, pero en PRD si. Aqui les detallo la correcciōn que hice para agregar el campo sociedad. Hay algo mās que hacer? Muchas gracias.
SPAN {font-family: "Courier New";font-size: 10pt;color: #000000;background: #FFFFFF;}.L1S31 {font-style: italic;color: #808080;}.L1S32 {color: #3399FF;}.L1S33 {color: #4DA619;}.L1S52 {color: #0000FF;}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.
* gjahr
add 1 to w_pos.
clear ls_fcat.
ls_fcat-tabname = 'TI_REP'.
ls_fcat-fieldname = 'GJAHR'.
ls_fcat-ref_table = 'BSIS'.
ls_fcat-ref_field = 'GJAHR'.
ls_fcat-key = 'X'.
ls_fcat-col_pos = w_pos.
append ls_fcat to gt_fieldcat.

* bukrs @2 agrega sociedad .
add 1 to w_pos.
clear ls_fcat.
ls_fcat-tabname = 'TI_REP'.
ls_fcat-fieldname = 'BUKRS'.
ls_fcat-ref_table = 'BSIS'.
ls_fcat-ref_field = 'BUKRS'.
* ls_fcat-key = 'X'.
ls_fcat-col_pos = w_pos.
append ls_fcat to gt_fieldcat.
Responder Con Cita