Application Development 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: 

how can i download data

Former Member
0 Kudos

hi guys,

i want to download the data from spool for a perticular program.

how can i do it?

what is relationship between spool-id and program name?

TSP01-RQIDENT & TSP01-RQ2NAME will not work. RQ2NAME is not always a program name.

Please provide me the solution.

its urgentttttttttt

thanx in advance

best regards

ankit

8 REPLIES 8

Former Member
0 Kudos

Can you give us some more details? What do you mean by download? Do you want to download it to a file, or do you want to be able to read it and do something with it?

Any program that writes output, will output it to either screen or printer or spool. One of your options while outputting is to store it permanently. You do that by creating a new spool request which will be identified with a spool id.

Srinivas

0 Kudos

hi srini,

i want to download the data to a file.

In the selection screen, i will mention the program name & user name and i want the data to be downloaded to the file from the spool.

regards

ankit

Former Member
0 Kudos

try SP01

regards

0 Kudos

hi surpreet,

i think you r talking about TSP01.

yes...i am using TSP01

but i want the relationship between spool-id (tsp01-rqident) & program name. Its not rq2name.

regards

ankit

0 Kudos

..........deleted.............

0 Kudos

yes i found the report,

you have to use FM COMMON_LOG_READ_T100

regards

do where-used

after that CALL FUNCTION 'RSPO_DOWNLOAD_SPOOLJOB'

EXPORTING

ID = ISPOOL-SPOOLID

FNAME = FNAME.

Message was edited by: Surpreet Singh Bal

0 Kudos

Thanx surpreet,

i am trying with your suggestions

regards

ankit

0 Kudos

Try RSPO_FIND_SPOOL_REQUESTS. I am not sure if there is a direct link between a spool id and the program. If the program ran in a backgroun job, then you can link them through the job, but if the program ran online and then you created a spool, I will have to check how it stores the information.

Srinivas