Ver Mensaje Individual
  #3  
Viejo 14/09/09, 15:34:23
perdigon perdigon is offline
Junior Member
 
Fecha de Ingreso: sep 2009
Mensajes: 7
Gracias Mike,

tambien lo he probado asi y cuando hago el READ DATASET me da un down, copio el codigo por si me puedes orientar que estoy haciendo mal.

DATA: fname like rlgrap-filename VALUE `/sap/inbound/master.xls`.
DATA: subrc LIKE sy-subrc.
DATA:BEGIN OF itab OCCURS 0,
matl_type(4) TYPE c,
matl_group(9) TYPE c,
END OF itab.

DATA:wa LIKE itab.

OPEN DATASET fname FOR INPUT IN TEXT MODE ENCODING DEFAULT.

IF sy-subrc = 0.

WHILE subrc = 0.

READ DATASET fname INTO wa.


Y justo aqui donde hago el READ me salta el pantallazo de error no controlado.

Gracias de antemano.
Responder Con Cita