Here I want to upload the data into the internal table along with blank lines.
if there is a blank line in the middle of the file the function module gui_upload
or gui_download * *didn't pick up this blank line generally .
but here in this case I can able to upload the blank lines too .
here I am considering the case of uploading the files. The file is like this:
*---------start of the file .
( this is a blank line )
( this is a blank line ) ( this is a blank line )
( this is a blank line )testname01
*------end of the file
the coding is like this ..Error rendering macro 'code': Invalid value specified for parameter 'com.atlassian.confluence.ext.code.render.InvalidValueException'
REPORT YTESTS. DATA: BEGIN OF ITAB OCCURS 0, TEXT_LINE(80) TYPE C, END OF ITAB. CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = 'C:\Documents and Settings\venkatapp\Desktop\venkat.txt' TABLES DATA_TAB = ITAB. *----this is the condition for including the blanklines SET BLANK LINES ON. LOOP AT ITAB. WRITE / ITAB-TEXT_LINE. ENDLOOP.