Ver Mensaje Individual
  #1  
Viejo 25/09/09, 06:18:30
jtristan jtristan is offline
Senior Member
 
Fecha de Ingreso: oct 2007
Mensajes: 240
READ TABLE con field symbols

Hola,

Tengo una tabla en un field-symbol y quiero hacer una búsqueda en ella. Algo así:

read table <tmp_tabla> into <tmp_linea> with key <tmp_field> = 'a'.

Me da el siguiente error:
The spedified type has no structure and therefore no component called "<tmp_field>".
Al tmp_field le he asignado previamente el campo al que debe apuntar.
¿Cómo puedo hacer la búsqueda?
La tabla está creada mediante un cl_alv_table_create=>create_dynamic_table y no sé si por esto tiene alguna característica especial.

Muchas gracias.
Un saludo.
Responder Con Cita