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

Save query to file path

Former Member
0 Likes
1,115

Folks,

I've setup a query and this query is stored to file. I've specified the path but is it possible to have the name of the file being the date?

Regards,

MdZ

10 REPLIES 10
Read only

Former Member
0 Likes
1,072

Hi

Concatenate the file name with sy-datum.

u will get

Regards

Read only

0 Likes
1,072

Hi mate,

Would you be able to explain a little bit further?

Regards,

MdZ

Read only

0 Likes
1,072

HI

Give me the file name that u r giveing

or for example say file name is ABCD

DATA: name(20) type c value 'ABCD'.

DATA: filename

CONCATENATE name sy-datum INTO filename.

and pass this filename as ur actual file name

.

Edited by: Rasheed salman on Nov 27, 2008 10:29 AM

Read only

0 Likes
1,072

Thanks again, where do I put this statement?

Regards,

MdZ

Read only

0 Likes
1,072

Hi,

where r u giving ur file name to save the file put the statement there

Regards

Read only

0 Likes
1,072

Hi,

I did not put any coding in yet, I can put a file name or file path in the selection screen after executing the query. Do I need to put in coding in the infoset?

Regards,

MdZ

Read only

0 Likes
1,072

Hi

u mean tht u r giving file name in the selection screen and the file z saving with that name.

Regards

Read only

0 Likes
1,072

Yes, but if I am understanding you correctly, this will not allow me to put a variable name in the file.

Regards,

MdZ

Read only

0 Likes
1,072

Folks,

I've put the report name in a job and scheduled it. After running, it gets stuck in the spool. Anyone any suggestion how to save the result of the query automatically to a certain file path?

Thanks.

Read only

0 Likes
1,072

Hi

u r giving file name in the pramater then give the paramater as default date as sy datum and make it as noneditable.

Regrads

Rasheed