PDA

Ver la Versión Completa : Problema usando tabla


rhein
06/05/08, 15:22:21
Hola, quien puede ayudarme con esto, soy nuevo en ABAP y no se como arreglar este caso, tengo el siguiente codigo

SELECT *
Appending corresponding fields of table ti_eina
FROM eina AS a INNER JOIN eine AS b
ON a~infnr = b~infnr
WHERE a~lifnr = i_cekko-lifnr
and a~matnr = it_bekpo-matnr
and b~werks = i_cekko-werks.

me entrega el mensaje: IT_BEKPO is table without a header line and therefore has no component called MATNR

el IT_BEKPO esta definido en:
*" IMPORTING
*" VALUE(I_CEKKO) LIKE CEKKO STRUCTURE CEKKO
*" VALUE(IT_BEKPO) TYPE MMPUR_BEKPO OPTIONAL



gracias por la ayuda
rhein

DavidXD_XD
06/05/08, 15:29:33
Hola, por lo que puedo notar IT_BEKPO es una tabla interna pero sin area de trabajo, entonces puede que el codigo se arregle asi

SELECT *
Appending corresponding fields of table ti_eina
FROM eina AS a INNER JOIN eine AS b
ON a~infnr = b~infnr
FOR ALL ENTRIES IN it_bekpo
WHERE a~lifnr = i_cekko-lifnr
and a~matnr = it_bekpo-matnr
and b~werks = i_cekko-werks.


Espero te ayude :D

rhein
06/05/08, 20:54:23
Gracias Davidxd_XD, con tu indicacion se soluciono.

rhein