Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DOWNLOAD FUNCTION

murthyammavajjala
Discoverer
0 Likes
730

Hi All,

Thanks in advance.

Whenever i use the guidownload function, after the data is transferred from internal table to flat file, its displaying a text that 'X' bytes transferred .

What should i do inorder to hide that message .

5 REPLIES 5
Read only

Former Member
0 Likes
699

Hi,

I am not sure what all import parameters you selected.

Generally following import parameters are sufficient:

FILENAME (mandatory)

FILETYPE (optional)

WRITE_FIELD_SEPARATOR (optional)

Tables: DATA_TAB (mandatory)

Post ur FM code, so that some one can suggest u.

Read only

Former Member
0 Likes
699

Try to make the following code as comment that is there with the function module

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

This code is given to raise the messages for the function module. so coment them and execute the program.

Reward points if useful.

Read only

Former Member
0 Likes
699

The Function Module parameter

FILELENGTH is the one which is to display the Number of bytes transferred. make it comment. it will not show the message.

Reward if useful.

Read only

Former Member
0 Likes
699

kindly comment out the code inside the the check sy-subrc section just after the gui_upload function

it will work

reward points if useful

Read only

murthyammavajjala
Discoverer
0 Likes
699

Hi friends,

thanks in advance

here is my code.

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

FILENAME = S_FILENAME

FILETYPE = 'ASC'

TABLES

DATA_TAB = I_SUCCMESG.

i dont use any " if sy-subrc ......endif.." statements after this function.

whenever a file is downloaded it displays "X bytes transferred".

I want to hide this message on status bar. please help .