06-16-2011 1:07 AM
Hi Experts,
I need to upload a .txt file with spaces at the end of each line but when i use the function 'GUI_UPLOAD' the itab is not respecting the blanks at the end of each line....
Do you have any suggestions pls......
06-16-2011 4:45 AM
06-16-2011 6:39 AM
for which transaction you are trying to upload?
and do you want spaces at the end of each line or at end of each word/spelling ..
if you want spaces after word/spelling try this
in gui_upload
uncomment HAS_FIELD_SEPARATOR = 'X'
HAS_FIELD_SEPARATOR = 'X'
thanks and regards,
koolspy.
06-16-2011 6:44 AM
Hi,
Use GUI_DOWNLOAD method of CL_GUI_FRONTEND_SERVICES and use parameter TRUNC_TRAILING_BLANKS_EOL parameter = space.
or
use in gui_upload
HAS_FIELD_SEPARATOR = 'X'
Regards,
Dhina..
06-16-2011 2:54 PM
Thanks for your answers...
But no one is working, i have tried with filetype = 'BIN' and the others advice but is not working.... Look I have a user exit in tcode F110 and after 'download' is when i have to do the UPLOAD of the .txt file and what i want is to UPLOAD the txt whit the spaces at the end of each record like this:
000009100172262533MXP0000000001000.00012180001509308819TEST TEST TEST TEST TEST
As you can see at the end of the record, after the last word TEST i have some spaces.... those spaces are what i want in the UPLOAD
Any other suggestion plssss....
06-16-2011 5:11 PM