MUNDOSAP

Regresar   MUNDOSAP > DESARROLLO > Programación ABAP IV
Nombre de Usuario
Contraseña
Home Descargas Registrar FAQ Miembros Calendario Buscar Temas de Hoy Marcar Foros Como Leídos




 
 
 
Herramientas Buscar en Tema Desplegado
Prev Mensaje Previo   Próximo Mensaje Próx
  #1  
Viejo 14/02/13, 15:02:39
kachalot kachalot is offline
Junior Member
 
Fecha de Ingreso: ene 2013
Mensajes: 9
LOOP AT... WHERE campo IN ITAB???? se puede?

Hola, hoy no es mi día...

Tengo una tabla interna y quiero recorrerla pero solo si está en otra.

yo juraría que era así:

TYPES: BEGIN OF gt_matid,
matid TYPE /sapapo/matkey-matid,
END OF gt_matid.
DATA: git_matid TYPE TABLE OF gt_matid WITH HEADER LINE.
* DATA: git_matid TYPE STANDARD TABLE OF gt_matid.

SELECT
lwh~matid
INTO TABLE git_matid
FROM /sapapo/matlwh AS lwh
FOR ALL ENTRIES IN git_lwh WHERE matid = git_lwh-matid
* INNER JOIN marc AS mc
* ON ma~matnr = mc~matnr
.

LOOP AT git_listmat
WHERE matid IN git_matid.
ENDLOOP.


pero me da ERROR. Me dice que "git_matid, no tiene estructura de una tabla de selección".

¿¿que es que no se puede y me he liedo yo son un selection-option??


gracias.
Responder Con Cita
 


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Reglas de Mensajes
no puedes crear nuevos temas
no puedes responder temas
no puedes adjuntar archivos
no puedes editar tus mensajes

El código vB está On
Las caritas están On
Código [IMG] está On
Código HTML está Off
Saltar a Foro


Husos Horarios son GMT. La hora en este momento es 07:32:59.


www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web