‎2007 Sep 07 7:03 AM
Hi All,
This is in the session method in the upload function....
I am getting error"""""Unable to interpret "FILE NAME". Possible causes of error: incorrect spelling or comma error.""""" and the code is as follows..
TO UPLOAD FLAT FILE TO INTERNAL TABLE.
CALL FUNCTION 'UPLOAD'
EXPORTING
*CODEPAGE =''
FILENAME = 'E:\RAJASAP\SELECTIONSCREEN.TXT'
FILETYPE ='ASC'
ITEM = ' '
could any one help me in this issue.
Message was edited by:
Rajashekhar Reddy
‎2007 Sep 07 7:16 AM
Hi,
<b>uncomment exporting</b>
TO UPLOAD FLAT FILE TO INTERNAL TABLE.
CALL FUNCTION 'UPLOAD'
<b>EXPORTING</b>
*CODEPAGE =''
FILENAME = 'E:\RAJASAP\SELECTIONSCREEN.TXT'
FILETYPE ='ASC'
ITEM = ' '
‎2007 Sep 07 7:14 AM
hi rajashekar reddy
use GUI_UPLOAD funtion with correct path
it won't give error
‎2007 Sep 07 7:16 AM
Hi,
<b>uncomment exporting</b>
TO UPLOAD FLAT FILE TO INTERNAL TABLE.
CALL FUNCTION 'UPLOAD'
<b>EXPORTING</b>
*CODEPAGE =''
FILENAME = 'E:\RAJASAP\SELECTIONSCREEN.TXT'
FILETYPE ='ASC'
ITEM = ' '
‎2007 Sep 07 7:16 AM
Hi Rajasekhar..
See the Changes in BOLD
CALL FUNCTION 'UPLOAD'
<b>EXPORTING</b> "you have to uncomment this..
*CODEPAGE =''
FILENAME = 'E:\RAJASAP\SELECTIONSCREEN.TXT'
FILETYPE ='ASC'
ITEM = ' '
And one more thing
Call the FM GUI_UPLOAD instead of UPLOAD which is Obsolete .
<b>Reward if Helpful</b>