PDA

Ver la Versión Completa : Cargar un archivo de word a itab


Yaneli Morga
26/05/09, 22:40:08
hola,

Es posible realizar una lectura de un archivo de word y subirlo a una tabla interna para luego trabajar con esa información.


Gracias.

crounly
26/05/09, 23:22:05
No se si sera posible eso.

Si lo que quieres es abrir un word y añadir información,creo que los tiros pueden ir por esta función MS_WORD_OLE_FORMLETTER pero creo que es sobre todo para trabajar con plantillas de word y poder rellenarlas vista la descripción de los parámetros.

word_document = location of the existing document in which you want to change the val (d:\Documents and Settings\user\Desktop\Doc1.doc)

File_name = File name to which the modified file to be saved (just give the same file name you opened - Doc1.doc - just the file name and not the whole path)

Download_path
path for downloading (d:\Documents and Settings\user\Desktop\)

Data_tab = any internal table
filednames = field names of the internal table in a table . for example if your itab has fielda, fieldb and fieldc , then this table first record value should be fielda and second record value should be fieldb, etc.


O alguna dentro de este grupo de funciones DSVAS_MSWORD

Yaneli Morga
27/05/09, 18:05:21
Muchas gracias, revisaré estas funciones.