#1
|
|||
|
|||
Error al igualar dos tablas internas
Saludos,
Tengo un problema, estoy igualando dos tablas internas que son idénticas pero obtengo este error: "table1" and "table2" are not mutually convertible. In Unicode programs, "table1" must have the same structure layout as "table2",independent of the length of a Unicode character. mi table2, la tengo declarada de este modo: DATA: Begin OF table2 OCCURS 20. INCLUDE STRUCTURE hrvpartic. DATA: bukrs(10). DATA: plans(40). DATA: stell(40). DATA: icnum(9). DATA: stext(40). DATA: sede(50). DATA: sede_sobid(8) type n. DATA: empresa(60). DATA: empresa_sobid(8) type n. DATA: instructor(40). DATA: inst_objid(8). DATA: cont(5). DATA: space01(20). DATA: space02(20). DATA: evbeg01 like sy-datum. DATA: END OF table2. y mi table1 esta definida como: Data: Table1 type table of zmiestructura WITH HEADER LINE. Cabe señalar, que mi estructura zmiestructura, contiene los mismos datos declarados para table2 e incluye los campos de la estructura hrvpartic, aun así. cuando trato de igualar table1[] = table2[]. El resultado es el error ya mencionado: "table1" and "table2" are not mutually convertible. In Unicode programs, "table1" must have the same structure layout as "table2",independent of the length of a Unicode character. He cambiado la estrategia prescindiendo del WITH HEADER LINE y usando un workarea de tipo Data: wa_table like zmiestructura pero el resultado es el mismo. Alguien puede ayudarme por favor? se los agradecería muchísimo Slds, LC . |
Herramientas | Buscar en Tema |
Desplegado | |
|
|