Ver Mensaje Individual
  #1  
Viejo 03/03/08, 14:02:36
davidffh davidffh is offline
Junior Member
 
Fecha de Ingreso: ago 2007
Mensajes: 10
Smile ordenar estructura GS_IT_GEN

Hola a todos:

Tengo un "Z" del smartform estándard SDLE_SHP_DELNOTE (Nota de entrega), lo que necesito es ordenar la estructura GS_IT_GEN por el campo MATL_GROUP.

EL Smartform hace el Loop así:

Tabla interna X IS_DLV_DELNOTE-IT_GEN INTO GS_IT_GEN

Si ordeno así: SORT IS_DLV_DELNOTE-IT_GEN BY MATL_GROUP

me da este error:
"IS_DLV_DELNOTE-IT_GEN" is a table of the kind SORTED. You cannot use the SORT command with this type of table.

y si ordeno así: SORT GS_IT_GEN BY MATL_GROUP

me da este error:
"GS_IT_GEN" is not an internal table - the "OCCURS n" specification is missing.

Así que no se que hacer para poder ordenar por grupo de material (MATL_GRUP), también he tratado de agrupar por MATL_GROUP y no me da resultado en Criterios de Clasificación.
Responder Con Cita