PDA

Ver la Versión Completa : declarando ti


infinit_nicko
15/06/08, 17:16:43
dentro del mismo programa para el gui_download , estoy declarando tabla interna, como se ve abajo



select * from zrtusthpm01
into table ti_zrtusthpm01

data begin of ti_zrtusthpm01 occurs 0.
data end of ti_zrtusthpm01.
include structure zrtusthpm01.




pero me marca el sig. error. field string "ti_zrtusthpm01" contains no data.

me podrian echar la mano?
saludos
Arturo

DavidXD_XD
15/06/08, 22:26:53
Hola, podrias colocar el codigo completo para poder que podamos ayudarte mejor, por otro lado ... la delcaracion del INCLUDE dentro del BEGIN OF ti, deberia estar dentro y no fuera de la siguiente manera ....

DATA BEGIN OF ti_zrtusthpm01 OCCURS 0.
INCLUDE STRUCTURE zrtusthpm01.
DATA END OF ti_zrtusthpm01.

SELECT * FROM zrtusthpm01
INTO TABLE ti_zrtusthpm01

infinit_nicko
16/06/08, 14:32:16
gracias David ,

un momento pongo el codigo completo

gracias

Arturo