Ver Mensaje Individual
  #3  
Viejo 29/07/14, 05:00:51
roberto.mejia roberto.mejia is offline
Junior Member
 
Fecha de Ingreso: jun 2014
Mensajes: 24

Hola, hice lo que me dijiste, éste es mi código:

types: begin of spflig.
include structure sflight.
types: end of spflig.

data: sp type table of spflig with header line.

select * into corresponding
fields of table
sp from sflight.


type-pools: slis.
data int_fcat type
slis_t_fieldcat_alv.

call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = sy-repid
i_internal_tabname = 'sp'
i_inclname = sy-repid
changing
ct_fieldcat = int_fcat.

call function 'REUSE_ALV_GRID_DISPLAY'
exporting
it_fieldcat = int_fcat
tables
t_outtab = sp.

me sale que no es posible determinar un catálogo de campo. ayuda
Responder Con Cita