Job in background and multiple spool requests
Hi everybody,
I'm executing a program in a background job. The program outputs 2 spool requests. When I get to SM37 t-code to see job's result, I can see at "Job Log" option that 2 spool requests were generated. But... when I press "Spool" option from SM37 t-code I only see the last one. In spite of this, when I get at the spool controller through SP01 t-code I can see both of them. Can you help me with this issue? Why from one place I get 1 request and from the other the 2 ones?
Thanks in advance and kind regards,
MMP.
Hi,
Check out [this thread|https://forums.sdn.sap.com/click.jspa?searchID=16405444&messageID=1181695] which has a discussion on this topic and points out [Note 519059|https://service.sap.com/sap/support/notes/519059]:
8] Question: How are the spool requests assigned?
Answer: The step information is stored in table TBTCP. This has space for exactly one spool request (field LISTIDENT). If a step generates several spool requests during the processing, only one can be stored. In this case the application is responsible for a "spool overview".
Regards,
Jamie
Similar Messages
-
How to create the multiple spool requests for a single report.
Hi gurus,
I have one requirement to be completed , i need to send the out put of the report via mail in pdf format. for that what i did was, iam executing report in background and creating spool request and converting it to pdf and sending the file.
now the problem is, its a customer ledger report, for each customer i need to create a new spool request and send mail to that particular customer, now my dought is how to create multiple spool requests for a single pro and how i need to go about it.
And one more question is can we create a spool request for a report which is running in online.
waiting for inputs frm gurus.Hello,
As per my knowledge for creating new spool id you will have to set
output_options-tdnewid = 'X'.
and then using
job_output_info-spoolids
create a pdf using
call function 'CONVERT_OTFSPOOLJOB_2_PDF'
Rachana. -
Is it possible to have Multiple Spool requests in one batch job overview?
Hi,
While running one of my z program in back ground, there are two spools generated (one by write statement and one by OPEN_FORM statement and both the spools are available in SP01 Transaction), but when i see the job overview in transaction SM37, I only see one spool request (that of the last spool request). Can any body in the group please tell me is it possible to see multiple spool requests in the job overview of one Abap program and if yes, how?
Thank you.
AbinashHi Jayanthi,
Thank you for the link. But probably that discussion was also an unsolved one.
Anyway, does any one in the group think that display of multiple spools per one step job is dependent on client / SAP Server setting? Because as evident from the chain of mails in the link provided by Jayanthi, some people say that they see multiple spool requests for one program in batch mode job overview (SM37)? If yes, can some body tell me the required configuration? -
Regarding running a report in background and generate spool
Hi,
I am developing a report [<b>REPORT1</b>].
It is taking long to execute if data is more.
Now i want to schedule this report in background and generate spool along with.
So once i execute REPORT1 it should run in background & generate spool?
Can anybody give inputs for the same!
Thanks,
Deep.Hi,
to generate spool, use below code
FORM create_spool .
CONSTANTS : l_c_device(4) VALUE 'LOCL'.
Create Spool Request
NEW-PAGE PRINT ON
LINE-SIZE 120
DESTINATION l_c_device
IMMEDIATELY ' '
KEEP IN SPOOL 'X'
NEW LIST IDENTIFICATION 'X'
NO DIALOG.
ENDFORM. " create_spool
And after createing spool to get the spool number use below code,
FORM obtain_spool_id .
TYPES : BEGIN OF t_tsp01,
rqident TYPE tsp01-rqident,
rqowner TYPE tsp01-rqowner,
END OF t_tsp01.
DATA : it_tsp01 TYPE STANDARD TABLE OF t_tsp01,
wa_tsp01 LIKE LINE OF it_tsp01.
SELECT rqident
rqowner
FROM tsp01
INTO TABLE it_tsp01
WHERE rqowner = sy-uname.
SORT it_tsp01 BY rqident DESCENDING.
READ TABLE it_tsp01 INTO wa_tsp01 INDEX 1.
IF sy-subrc = 0 .
v_spool_nr = wa_tsp01-rqident.
ENDIF.
Capture the immediate spool created for this report
v_spool_nr = sy-spono.
ENDFORM. " obtain_spool_id
<b>Reward points</b>
Regards -
Printing multiple spool requests at a time
Hi All,
I am using function module RSPO_OUTPUT_SPOOL_REQUEST to print the contents of the spool request. I want to print multiple spool requests at a time. We can input only one spool request number to the above function module at a time. Is there any way that I can print multiple spool requests with only single Print Popup Window ?
Thanks.Hi Khanna,
I tried that option at first place only. It results in multiple Print Popups. I want to avoid this. For all spool print requests, I want to show ONLY ONE Print Popup.
Thanks. -
Multiple Spool Requests for BACS Payment
Hi,
We are running payment program F110 for BACS payment.
When we run F110 in production system, irrespective of no. of. vendors or payment line items, only one spool request is generated.
But when we run F110 in quality system, multiple spool requests are generated for single payment run.
please give your valuable suggestions, why this is happening like this?
Regards,
PraistyDear,
please check the prnitout/data medium variant which you selected during the payment run.
Regards,
Panneer -
How to create multiple spool requests at once?
We are setting up alarms in CCMS for when the spool is about to get full.
I want to create several thousand spools automatically to try the alarm settings out and make sure that it works.
This doesn't seem possible to do in SPAD, as only one spool is created, and the maximum to create at a time is 250.
It also seems that it the minimum value that the system takes is 99.000 so I'm not able to lower this value to make an easier percentage alarm test.
I would like to either fake the number of spools so that the alarm is triggered, or if anyone can explain how to create a job that increases the number of spoolrequests so that I can verify the alarm thersholds.
Thanks
TomasHi ..
One thing you can do. Create two separate test program. In one program write simple one write statement and from another program submit the previous prog via job .
do 1000 times.
call function 'JOB_OPEN'
exporting
jobname = l_name "Job Name
importing
jobcount = l_number "Job Number
exceptions
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
others = 4.
if sy-subrc = 0.
Submit the job in background
submit z2nd_prog
via job l_name number l_number and return.
if sy-subrc = 0.
call function 'JOB_CLOSE'
exporting
jobcount = l_number
jobname = l_name
strtimmed = 'X'
exceptions
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
others = 8.
enddo. -
Schedule job in background and ftp the data to non-sap system
Hello All,
I have a requirement where in i have to write a program(with selection screen) to download 2 files into application server(frequency: end of each day i.e daily at 23:59), and then in turn i need to put those two files into FTP server using FTP script.
i guess my flow of the code should be
1. write the program with selection screen and
2. get the data from corresponding tables and put it into internal tables.
3. then i have download the data into application server
my question is : how i will schedule the job in background to download the data into application server daily? using job_open, job_submit, job_close?
4. then how i need to move the files from application server to FTP server using FTP SCRIPT?
Also my doubt is once i execute the program ONLY, the background job is triigred (because i wrote job_open, job_submit and job_close inside my program). then how will i input the data into screen daily and download the data into application server in background automatically???? i am confused ...
Please help me to solve the above issues
thanks
sangeetha>
sangeetha s k wrote:
How my data in application server will be transfer to another system using above FM? Because i am not passing application server file path in SAP to that FM. Could you please explain ?
So the path name and the file name are always the same? In that case you could simply create a SM49 entry with hard coded file & path name.
An easy example for the COPY command under WINDOWS OS:
Create a command in SM49 called ZCOPY with following data:
Operating System = Windows NT
OS command: cmd
Parameters for os command: /C copy "C:\tmp\my_file.txt" "z:\tmp\my_file_copy.txt"
Additional parameters allowed: (leave blank)
In this case you would call SXPG_COMMAND_EXECUTE by filling this 2 parameters:
commandname = 'ZCOPY'
operatingsystem = 'Windows NT'
In the case that the file name and the path are not fixed you would set the following in the SM49 definition:
Additional parameters allowed: X
In this case you would call SXPG_COMMAND_EXECUTE by filling this 3 parameters:
commandname = 'ZCOPY'
operatingsystem = 'Windows NT'
additional_parameters = params "<== fill in the path and file name during run time into this variable -
Retrieve multiple spool numbers of a job
Hello All
My ABAP report program will produce several spool list. I would like to ask that are there any functions that I can retrieve ALL spool numbers of the job?
This is because I find that I cannot find the relationship between job and ALL its spool number.
Many thanks
SunnyHi,
I had a similar requirement to find all the spools created for a specific printer. Only one spool ID is ever stored against the job step.
I developed a bespoke program and included this within my background job (which had multiple steps). This finds the upper and lower spools for the current job ID.
The code to find the spools was as follows:
form get_spools .
* Get the current job details
call function 'GET_JOB_RUNTIME_INFO'
importing
jobcount = gs_btcinfo-jobcount
jobname = gs_btcinfo-jobname
stepcount = gs_btcinfo-stepcount
exceptions
no_runtime_info = 1
others = 2.
check ( sy-subrc eq 0 ).
write: / 'Job', gs_btcinfo-jobcount, gs_btcinfo-jobname.
* Get the spools for the current job
select * into table gt_tbtcp
from tbtcp
where jobname eq gs_btcinfo-jobname
and jobcount eq gs_btcinfo-jobcount
and stepcount <> gs_btcinfo-stepcount
and listident <> ''
order by primary key.
if ( gt_tbtcp is initial ).
write: / 'No spools to print'.
exit.
endif.
* Find the upper & lower spool ID's
clear: gv_low, gv_high.
clear gs_tbtcp.
read table gt_tbtcp into gs_tbtcp index 1.
gv_low = gs_tbtcp-listident.
describe table gt_tbtcp lines sy-tfill.
clear gs_tbtcp.
read table gt_tbtcp into gs_tbtcp index sy-tfill.
gv_high = gs_tbtcp-listident.
add p_low to gv_low.
add p_high to gv_high.
* Read all the spools within the range
* This covers job steps that create multiple spools
select * into table gt_tsp01
from tsp01
where rqident ge gv_low
and rqident le gv_high
and rqdest in s_dest
and rqfinal in s_final.
endform. " get_spools
Regards,
Darren -
System is not generating a spool request for Dep.?
Hi,
When I am running a test run with 'planned posting run' system is not giving me any error but when I am executing it in a "repeat run" system comes up with a message
"!! This processing can only be carried out as background processing !!
But when I go to (Jobs Overview screen) see the spool request system is not generating the spool request and Please help me out what's wrong is happening and what shall I do.
It is a new company code for the first time we are running the dep.
Thanks in advance...
Regards
NitinDear Nitin,
Refer Following threads
fiscal year change has not yet
AFAB - Not posting
AFAB - Not posting
Regards
Saurabh -
Mass printing of spool requests
Hi,
Is it possible to program the triggering of the printing of a PDF document contained in a spool request ? ( the goal is to have the possibility for mass printing )
thanks,
RolfHi rolf here is the program to convert to PDF and mail it .
*& Report ZSPOOLTOPDFT *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program can be run in background or online and a spool request *
*& will still be created *
report zspooltopdft .
parameter: p_email1 like somlreci1-receiver
default 'sandeep2jinnagmailcom',
p_delspl as checkbox,
p_online no-display.
*DATA DECLARATION
data: gd_recsize type i.
Spool IDs
types: begin of t_tbtcp.
include structure tbtcp.
types: end of t_tbtcp.
data: it_tbtcp type standard table of t_tbtcp initial size 0,
wa_tbtcp type t_tbtcp.
Job Runtime Parameters
data: gd_eventid like tbtcm-eventid,
gd_eventparm like tbtcm-eventparm,
gd_external_program_active like tbtcm-xpgactive,
gd_jobcount like tbtcm-jobcount,
gd_jobname like tbtcm-jobname,
gd_stepcount like tbtcm-stepcount,
gd_error type sy-subrc,
gd_reciever type sy-subrc.
data: w_recsize type i,
w_spool_nr like sy-spono.
%_print LIKE pri_params.
data: gd_subject like sodocchgi1-obj_descr,
it_mess_bod like solisti1 occurs 0 with header line,
it_mess_att like solisti1 occurs 0 with header line,
gd_sender_type like soextreci1-adr_typ,
gd_attachment_desc type so_obj_nam,
gd_attachment_name type so_obj_des.
Spool to PDF conversions
data: gd_spool_nr like tsp01-rqident,
gd_destination like rlgrap-filename,
gd_bytecount like tst01-dsize,
gd_buffer type string.
Binary store for PDF
data: begin of it_pdf_output occurs 0.
include structure tline.
data: end of it_pdf_output.
constants: c_dev like sy-sysid value 'DEV',
c_no(1) type c value ' ',
c_device(4) type c value 'LOCL'.
*START-OF-SELECTION.
start-of-selection.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
write 'Hello World'.
new-page.
commit work.
new-page print off.
if p_online = 'X'.
Processing performed when program calls itself when run online
gd_spool_nr = sy-spono.
export gd_spool_nr to memory id 'SPOOLTOPDF'.
exit.
endif.
if sy-batch eq 'X'.
perform get_job_details.
perform obtain_spool_id.
else.
gd_spool_nr = sy-spono.
If executed online, it submits a program to perform the write statements
instructing it to create a spool request, this could be another program
which just performs the write statements and then exports sy-spono
to memory. But in this example it calls itself passing X to parameter
p_online, which takes it down an alternative procesing path.
submit zspooltopdf2
with p_online = 'X'
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
endif.
Get spool id from program called above
import gd_spool_nr from memory id 'SPOOLTOPDF'.
perform convert_spool_to_pdf.
perform process_email.
if p_delspl eq 'X'.
perform delete_spool.
endif.
if sy-sysid = c_dev.
wait up to 5 seconds.
submit rsconn01 with mode = 'INT'
with output = 'X'
and return.
endif.
FORM obtain_spool_id *
form obtain_spool_id.
check not ( gd_jobname is initial ).
check not ( gd_jobcount is initial ).
select * from tbtcp
into table it_tbtcp
where jobname = gd_jobname
and jobcount = gd_jobcount
and stepcount = gd_stepcount
and listident <> '0000000000'
order by jobname
jobcount
stepcount.
read table it_tbtcp into wa_tbtcp index 1.
if sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
message s004(zdd) with gd_spool_nr.
else.
message s005(zdd).
endif.
endform.
FORM get_job_details *
form get_job_details.
Get current job details
call function 'GET_JOB_RUNTIME_INFO'
importing
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
exceptions
no_runtime_info = 1
others = 2.
endform.
FORM convert_spool_to_pdf *
form convert_spool_to_pdf.
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
exporting
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
importing
pdf_bytecount = gd_bytecount
tables
pdf = it_pdf_output
exceptions
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
others = 12.
check sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
loop at it_pdf_output.
translate it_pdf_output using ' ~'.
concatenate gd_buffer it_pdf_output into gd_buffer.
endloop.
translate gd_buffer using '~ '.
do.
it_mess_att = gd_buffer.
append it_mess_att.
shift gd_buffer left by 255 places.
if gd_buffer is initial.
exit.
endif.
enddo.
endform.
FORM process_email *
form process_email.
describe table it_mess_att lines gd_recsize.
check gd_recsize > 0.
perform send_email using p_email1.
perform send_email using p_email2.
endform.
FORM send_email *
--> p_email *
form send_email using p_email.
check not ( p_email is initial ).
refresh it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
append it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
append it_mess_bod.
If no sender specified - default blank
if p_sender eq space.
gd_sender_type = space.
else.
gd_sender_type = 'INT'.
endif.
Send file by email as .xls speadsheet
perform send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
endform.
FORM delete_spool *
form delete_spool.
data: ld_spool_nr type tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
check p_delspl <> c_no.
call function 'RSPO_R_RDELETE_SPOOLREQ'
exporting
spoolid = ld_spool_nr.
endform.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
form send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
data: ld_error type sy-subrc,
ld_reciever type sy-subrc,
ld_mtitle like sodocchgi1-obj_descr,
ld_email like somlreci1-receiver,
ld_format type so_obj_tp ,
ld_attdescription type so_obj_nam ,
ld_attfilename type so_obj_des ,
ld_sender_address like soextreci1-receiver,
ld_sender_address_type like soextreci1-adr_typ,
ld_receiver like sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
clear w_doc_data.
read table it_attach index w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + strlen( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
clear t_attachment.
refresh t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
clear t_packing_list.
refresh t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
describe table it_message lines t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
append t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
describe table t_attachment lines t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
append t_packing_list.
Add the recipients email address
clear t_receivers.
refresh t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
append t_receivers.
call function 'SO_DOCUMENT_SEND_API1'
exporting
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
importing
sent_to_all = w_sent_all
tables
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
loop at t_receivers.
ld_receiver = t_receivers-retrn_code.
endloop.
endform. -
Spool request , hard disk
hi,
In my server the spool request crossed 31 thousand, so I deleted all, when i did that my HARD DISK size got reduced by 3 G.B.
Please can you tell what would be the problem.
regards,
PrabhuHi Prabhu,
Deleted old spool requests is doesn't matter. Check the standard background job SAP_REORG_SPOOL to delete old spool requests. If standard background job not scheduled through SM36.
Regards,
Ganesh
****Reward points if Helpful***** -
How to know spool requests from other program?
Hi,
I have requirement like: one standard program will be scheduled in the background, so corresponding spool requests will generated.
I need to write a program, which will capture the spool requests of the standard program.
is there any function module/table available for this requirement? we need to give spool title, date and time as input parameters to that function module.
please help meHi,
try these Function Modules....
RSPO_IDELETE_SPOOLREQ
RSPO_IGET_TOC_SPOOLREQ
RSPO_IMAP_PAGES_SPOOLREQ
RSPO_ISELECT_SPOOLREQS
RSPO_RCHANGE_SPOOLREQ_ATTR
RSPO_RDISPLAY_SPOOLREQ
RSPO_RDISPLAY_SPOOLREQ_LIST
RSPO_RID_SPOOLREQ_ATTR
RSPO_RID_SPOOLREQ_DISP
RSPO_RID_SPOOLREQ_LIST List Display for Spool Requests with ID
RSPO_RISELECT_SPOOLREQS
RSPO_RLIST_DELETE_SPOOLREQ
RSPO_RPRINT_SPOOLREQ
RSPO_RSPOOLREQ_LIST_TO_VIEW
RSPO_RSPOOLREQ_TO_VIEW
RSPO_RSTATUS_FOR_SPOOLREQ
Arunima -
Dear experts ,
My requirement is ,displaying the spool requests according to user name ,date created ,and Title.for that i am using the following two function modules.
RSPO_RINIT_SPOOL_SP01
RSPO_RDISPLAY_SPOOLREQ
i appended the title of spool request to the internal table and passed that interanal table to RSPO_RINIT_SPOOL_SP01 ,up to now its working fine .but what my requirement is ,i should pass the username and date through selection screen.in the same way i have appended data from the selection screen to respective internal tables and passed through the internal table.if i give wrong 'username ' in selection screen it should not display any spool job.even though its showing spool requests based on title.what was wrong?please help me out.
Thanks and regards
naresh bammidiHi Naresh,
Use below report for your porpose.
TABLES : RQIDEN_T,RQOWNE_T,RQCRED_T,RQTITL_T.
SELECT-OPTIONS : s_spool for RQIDEN_T.
SELECT-OPTIONS : s_owner for RQOWNE_T.
SELECT-OPTIONS :s_date for RQCRED_T.
SELECT-OPTIONS : s_rqtitl for RQTITL_T.
type-POOLs : slis.
data : lt_SPORQ TYPE TABLE OF tsp01sys,
ws_SPORQ TYPE tsp01sys,
goto_sel.
data : lw_sel TYPE SLIS_SELFIELD.
data: lt_sysid type TABLE OF ALSYSID,
ws_sysid type ALSYSID.
ws_sysid-SYSID = SY-SYSID.
append ws_sysid to lt_sysid.
CALL FUNCTION 'RSPO_RINIT_SPOOL_SP01'
EXPORTING
SAVEFLAG = 'A'
SUMMARY = 'X'
LOCAL = 'X'
OWNER = ' '
CLIENT = ' '
RQNONE = 'X'
RQPROC = 'X'
RQSUCC = 'X'
RQERR = 'X'
PJPROC = 'X'
PJSUCC = 'X'
PJPROB = 'X'
PJERR = 'X'
TABLES
SYSLIST = lt_sysid
S_RQIDEN = s_spool
S_RQOWNE = s_owner
s_rqcred = s_date
s_rqtitl = s_rqtitl.
call function 'RSPO_RDISPLAY_SPOOLREQ'
exporting
use = ' '
importing
goto_sel = goto_sel
TABLES
SPORQ = lt_SPORQ
OUTRQ =
changing
rs_selfield = lw_sel
exceptions
others = 1.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Thanks,
Vijay -
Spool request has been reused in mean time
hi all,
when i am going to open spool for completed job it is saying like " spool request has been reused in mean time".
plz can any one guide me to solve this issue.
regards
subhani.Hi,
This isn't the right forum for your question.
Check the post below, see if helps your problem.
spool problem
Regards,
Vishnu
Maybe you are looking for
-
Itunes 10.6.0.40 Stops Working
I have been having trouble accessing ITunes since Thursday March 15th. I open ITunes and it starts to run Match and download podcasts and usually crashes within a minute. A couple times I have stopped Match from running and it has not crashed, but
-
How do I delete iTunes 11.0.5.5 from my pc?
I've tried this multiple times and it keeps giving me the same error. That iTunes Installation Package(iTunes.msi) cannot be found and when I go to search for it I find one but it's for iTunes 11.1.0.126 but I can't install or uninstall it. Any tips
-
Messages are not showing in the moni
hi..... i am doing rfc - soap scenario, in the sender communication channel monitoring it was showing success, in the receiver communication channel monitoring it was showing status is Yellow colour (Channel Started but inactive) and not found any me
-
Saving after editing in photoshop
This seems to be a recurring problem. I have RAW files showing in iPhoto, I go to external editor Photoshop CS6 and save as tiff or JPEG. Why do my changes not save? They appear to save, but I can't find them or see them in iPhoto.
-
I've deleted a single note page from my iPad Notes and would like to retrieve it, since I can't remember everything I had on it. Is it possible to restore this note page that I deleted into the little trash barrel? Help! How do I get my note back?