Ver Mensaje Individual
  #1  
Viejo 02/12/14, 12:36:29
gponteh gponteh is offline
Junior Member
 
Fecha de Ingreso: sep 2014
Mensajes: 9
Imprimir Tabla Internan En Html

BUENAS QUE TAL LES ESCRIBO A VER SI ME PUEDEN HECHAR UNA MANO.

El caso es el siguiente. El sistema envia un reporte por correo este reporte esta en html me imprime todo al momento de enviarlo pero al momento que modifique y agrege una tabla internan me da error dice: "ITAB_ZIKG" cannot be converted to the line type of "LV_MESSAGE".

yo he creado una tabla internan y aun asi no funciona aqui les dejo el codigo

***********************types: begin of tabla_zikg,
BUDAT TYPE ZIK2-BUDAT,
XBLNR TYPE ZIK2-XBLNR,
ZUONR TYPE ZIK2-ZUONR,
end of tabla_zikg.
*************************

***********
data: itab_zikg type table of tabla_zikg,
witab_zikg type tabla_zikg.
*************
DATA: lv_message TYPE bcsy_text.

SELECT BUDAT XBLNR ZUONR FROM ZIK2 INTO CORRESPONDING FIELDS OF TABLE itab_zikg WHERE BUKRS EQ BUKRS.



APPEND '<TABLE BORDER=1 WIDTH=300>' TO lv_message.
APPEND '<TR><TD WIDTH=100>Fecha Documento</TD>' TO lv_message.
APPEND '<TD WIDTH=100>Numero Factura</TD>' TO lv_message.
APPEND '<TD WIDTH=100>Nro. Control de Documento</TD> </TR>' TO lv_message.
APPEND '<TR><TD WIDTH=100>' TO lv_message.
APPEND itab_zikg TO lv_message. *** AQUI DONDE ESTA EL PROBLEMA
APPEND '</TD> </TR>' TO lv_message.
APPEND '</TABLE>' TO lv_message.
Responder Con Cita