Skip to Content
0
Dec 07, 2011 at 01:37 PM

Error Batch Input using Office 2007 cvs

35 Views

Hi guys.

I have a batch input that it is working fine with a file data .cvs using Office 2003. There was not problem until the PC was update and got Office 2007. It suppost that the CVS didnt change to CVSX, but everytime that i run the BI doesnt get data. If I use another PC with Office 2003, with the same file, the BI runs well.

The program use this sentence to upload the file.

CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
      FILENAME                = PC_ARCH
      FILETYPE                = 'ASC'
    TABLES
      DATA_TAB                = TH_REC
    EXCEPTIONS
      CONVERSION_ERROR        = 1
      FILE_OPEN_ERROR         = 2
      FILE_READ_ERROR         = 3
      INVALID_TABLE_WIDTH     = 4
      INVALID_TYPE            = 5
      NO_BATCH                = 6
      UNKNOWN_ERROR           = 7
      GUI_REFUSE_FILETRANSFER = 8
      OTHERS                  = 9.

  LOOP AT TH_REC.
    SPLIT TH_REC-LINEA AT ';' INTO
     TH_ARCHIVO-zcliente_rec
     TH_ARCHIVO-zcliente
....

Any ideas why using Office 2007 the programs doesnt run well.???

Regards