Skip to Content
0
Former Member
Nov 12, 2007 at 09:07 AM

What means "IT_AUXPOS are not unicode-convertible??

427 Views

Hi,

I have to copy some information in a Ztable. I have declared an internal table but

I have an strange error.

The type of the database table and work area (or internal table) "IT_AUXPOS" are not Unicode-convertible...

my table is:

TYPES: BEGIN OF S_AUXPOS, "ZPEDIDOSPOS
       MANDT1 TYPE MANDT,
       PEDIDO1(8) TYPE C,
       POSICION(6) TYPE N,
       CODIGO_MATERIAL TYPE MARA-MATNR,
       DESCRIPCION TYPE MARAV-MAKTX,
       CANTIDAD(19) TYPE C,
       UNIDAD TYPE UNIT,
       END OF S_AUXPOS.
data: IT_AUXPOS TYPE STANDARD TABLE OF S_AUXPOS,
      WA_AUXPOS LIKE LINE OF IT_AUXPOS.

 LOOP AT IT_FICHERO INTO WA_FICHERO.
WA_AUXPOS-PEDIDO1 = WA_FICHERO-NUM_PED. "Num pedido
  WA_AUXPOS-POSICION = POSICION.         "Posicion del pedido
  WA_AUXPOS-DESCRIPCION = WA_FICHERO-MAKTX. "Descripcion
  WA_AUXPOS-CANTIDAD = WA_FICHERO-CANTIDAD. "Cantidad
  WA_AUXPOS-UNIDAD = WA_FICHERO-UNIDAD.   "Unidades de medida
  INSERT WA_AUXPOS INTO TABLE IT_AUXPOS.
ENDLOOP.
INSERT ZTABLE FROM TABLE IT_AUXPOS.

THANKS A LOT 😉