Ver Mensaje Individual
  #6  
Viejo 25/03/08, 13:05:46
abapconsultoria abapconsultoria is offline
Senior Member
 
Fecha de Ingreso: ene 2008
Mensajes: 101
La funcion GUI_UPLOAD tiene el parametro 'HAS_FIELD_SEPARATOR' aqui mando la descripcion. Lo que intentas hacer es levantar todo el archivo linea por linea como si tuviera un unico campo ??

Con respecto a las posiciones.... En este caso te recomendaria que te armes una variable(estructura) a modo de plantilla de como vas a leer las posiciones y despues asignes linea por linea de la tabla levantada a esa variable(estructura) y leas tus posiciones desde ahi.

Saludos.

Javier.


FU GUI_UPLOAD HAS_FIELD_SEPARATOR
____________________________________________________
Txt.brv.
Columns Separated by Tabs in Case of ASCII Upload

Description
Specifies if the fields in the file are separated by a tab. This is necessary if the structure passed contains several components. CR/LF occurs instead of a tab after the last field of a row.

Value range
'X': Fields are separated by tabs.
SPACE: Fields are not separated by tabs. In this case, the table must
contain either only one single column or all columns must be contained
in the file in their full length.
Default
SPACE

Módulo funciones
GUI_UPLOAD
__________________




Lo importante no es saber sino saber quien es el que sabe
Responder Con Cita