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

SQ01

Former Member
0 Likes
1,151

Hi

I have a requirement. After executing a report or query in SQ01, the default file store format is excel file in 'Output format' tab. Is it possible to change the default store format of the file to txt (text format)? if yes, how it can be changed.

Hi

I have a requirement. After executing a report or query in SQ01, the default file store format is excel file in 'Output format' tab. Is it possible to change the default store format of the file to txt (text format)? if yes, how it can be changed.

8 REPLIES 8
Read only

Former Member
0 Likes
1,111

Hi,

It is possible when you are using GUI_DOWNLOAD function

module then give the file format as .txt.

Will download the file in TXT format

Call 'gui_download'

exporting

filename = 'E:\filename.txt'

tables

data_itab = itab.

Cheers!!

VEnk@

Read only

0 Likes
1,111

in the tcode itself, when they execute any query or report, they should get the default as txt but not xls.

they can download in txt manually changing the format.

but they want the default as txt in the screen itself.

Edited by: Priya Madhavi on Oct 31, 2008 11:12 AM

Read only

0 Likes
1,111

For every query there will report generated copy it to zreport and use gui_download in that report.create a tcode for that report.

Read only

0 Likes
1,111

actually, my requirement is as mentioned before, in the main SQ01 screen, there wil b list of queries,

If a query is executed then in the next screen, in the OUTPUT FORMAT tab, it will show the STORAGE FORMAT in which the default format of the file is xls(where the report is downloaded). this default is to be changed to TXT.

Read only

0 Likes
1,111

Hi Priya,

The default selection in 'Output Format' can be changed while creating the Query in SQ01 or in the existing Query, it can be changed by Changing the Query.

For this, in Transaction SQ01, select the name of your query and Press 'Change'. The First Pop-up screen which you will get where Title, Notes, List,format, Table format, etc. are given, at the end there is option of Output format. You can select the default format there.

Read only

0 Likes
1,111

yes Anurita, it is already FILESTORE that is selected.

but is default xls, can v change it to txt?

Read only

0 Likes
1,111

when we click on the FILESTORE button, then the defaul is xls,

but it shud be changed to txt.

is it possible?

Read only

0 Likes
1,111

As per my knowledge, the format cannot be changed to txt.

The other option which you can try is select the Format 'Word Processing' which gives the output in MS Word Format.