MUNDOSAP

Regresar   MUNDOSAP > DESARROLLO > Formularios - SAPScript - Smartforms
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
  #19  
Viejo 17/09/07, 15:47:41
virus virus is offline
Member
 
Fecha de Ingreso: ago 2007
Mensajes: 47
Pasar tablas

He pensado en dividir el problema, como cojo 4 tablas del programa, poner en una dentro del SMARTFORMS.
O sea tengo:
- DEFINICIONES GLOBALES -> Tipos tengo algo así:
"TYPES: BEGIN OF wa_tutabla,
tu_campo1 type tipo,
tu_campo2 type tipo,
TYPES END OF wa_tutabla.
TYPES: it_tutabla TYPE STANDARD TABLE OF wa_tutabla"

- DEFINICIONES GLOBALES -> Datos Glob. tengo algo así:
it_tabla typo it_tutabla.
wa_tabla typo wa_tutabla.

El lista de Campos On/OF, veo claramente que dentro de it_tabla tengo tu_campo1 , tu_campo2.

Pero cuando voy a hacer Crear->Logica Proceso->Línea de Programa,para rellenar mi tabla interna o sea it_tabla.

CLEAR: it_tabla, it_tabla[].
LOOP AT WS_ENTRADA1.
MOVE WS_ENTRADA1 TO it_tabla-tu_campo1.
APPEND it_tabla.
ENDLOOP.
LOOP AT WS_ENTRADA2.
MOVE WS_ENTRADA2 TO it_tabla-tu_campo2.
APPEND it_tabla.
ENDLOOP.


Cuando verifico me sale un mensaje como este: "it_tabla" is a table without a header line and therefore has no component called "tu_campo1".

Alguien me puede ayudar?
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 04:17:25.


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