Creation of Spool Request
Hi All,
System is not creating the spool request for the background job. Two days before the job was running correctly generating the spool request. When I checked today..system is not creating the spool request..
There is no changes in the authorization profile of the user-id. Also no changes in the program were made. So what may be the possible reason for system not creating the spool. There are entries which suits the condition for the creation of spool.
Thanks in Advance....
Hi,
It could be a number ranges issue, please check trx. SNRO and see if the number ranges are specified as correctly, otherwise please extend, And also check if the batch Job 'SAP_REORG_SPOOL' is running to clear the spool requests which are already being processed, Job 'SAP_REORG_SPOOL' has to run on daily basis. Hope this will solve the issue.
Similar Messages
-
Creation of spool request for a report without selection-screen.
Hi Experts ,
I need to create a spool request for ALV Grid report which is not having any selection-screen , after pressing F8 it will directly display the ALV Grid out put.
Can any one help me how to run the above report in background which is not having selection-screen?
Thank you & Regards.
Rajasekhar.PHI,
At transaction SE38 click Program -> Execute -> Background.
Regards
Sudheer -
Spool request creation user exit
Hi Experts,
I need to do some action every time, when spool request is created. Is there any standard user exit or badi, or do I need to modify standard program?
Best regards,
Jirka F.For checking user exit - SMOD, you need to activate this exit via CMOD
For Badi - SE18 to check & SE19 to implement
Take the help of your abaper, give him / her your logic.
Hope the above answers your query.
Regards,
Vivek -
Direct Conversion of smartform into PDF system has to take spool request ?
does anybody know:
Direct Conversion of smartform into PDF, system has to take spool request dynamically..
i don't mean to use the SE38 calling PRG RSTXPDFT4 to transfer SAP sript into PDF.
thanks
SRIDHAR--strike Yes this is what I understood.
In the structure job_output_info of your function you'll find your OTF data :
st_ssfcrescl-otfdata --
CALL FUNCTION smartform_fonction_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
control_parameters = st_ssfctrlop
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
output_options = st_ssfcompop
user_settings = ' '
IMPORTING
document_output_info = st_ssfcrespd
job_output_info = st_ssfcrescl " This is the one which contains OTF data
job_output_options = st_ssfcresop
TABLES
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
-- Then you just have to convert, using something like that : --
* Convert OTF to PDF
LOOP AT otf_data INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = 'OTF'
format_dst = 'PDF'
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
v_size = v_len_in.
pdf_itab_size = v_size.
it_pdfout[] = it_pdf[].
* Create the PDF File
CLEAR it_pdfdata.
REFRESH it_pdfdata.
* it_pdfdata[] = it_pdfout[].
LOOP AT it_pdfout.
MOVE it_pdfout-tline TO it_pdfdata-line.
APPEND it_pdfdata.
CLEAR it_pdfdata.
ENDLOOP.
-- The smartform creation and the PDF creation are done in the same time...--
OK, So what do'nt you want to use the RSTXPDFT4 program ?
Hope this helps,
Erwan
Edited by: Erwan LE BRUN on Aug 28, 2008 12:02 PM
Edited by: Erwan LE BRUN on Aug 28, 2008 12:03 PM -
F.27, Duplicate Spool Request
Hi All,
While running the program - Periodic Account Statement (t-code F.27) u2013 in background(Program > Execute in background) 2 spool requests are generated.
Why 2 spool requests are generated ? Only 1 spool request should get generated.
Correspondence Type used is a customized Correspondence Type(Z).
Unwanted Spool generated is of type u2018ABAP Listu2019 and title generated is u2018F140 LOCL 20100927KORKu2019.
Because of the 2 spools 2 hard prints are printed.
Please suggest as to what could be the cause of 2 spools ?
Thanks
DevHi,
As info says:
Output
If correspondences are printed, a log with the spool requests created by
the print programs is output for each program run. If you do not specify
in the program on which printer the log is to be printed, the program
may take the printer specified in the user master of the user who
started the program or the printer specified when the job is scheduled.
If the program is carried out online, the log is displayed on the
screen. If the program is planned as a job, the spool request name of
the log is made up of the identifier F140, the printer destination, the
date of creation and the program ID KORK.
The correspondences are printed by means of the corresponding print
programs. If printing is possible on the basis of the data and the
configuration, a spool request is created for each correspondence type
and company code. Regardless of whether printing actually takes place,
the processed correspondence requests are marked as completed by means
of a print date, so that reorganization can be carried out.
ie: you have a SPOOL with the log, and you have other SPOOL with the printable document that you must send to customers.
I hope this helps you
Regards,
Eduardo -
HotNews correction for Y2010 spool request error available
Dear gurus,
I became aware of [SAP Note 1422843|https://service.sap.com/sap/support/notes/1422843] which has affected all my systems's spool request reorg jobs.
It is currently release and patch level independent, so you will all be affected by it as well.
You can verify this via entries in table SP01 field RQDELTIME = 2099*
As a kernel patch might take a while (also to download, install, test, etc...) there is a workaround attached to the note until you get there.
Cheers and best wishes for the new years until 2099..
Julius> ...and the variant provided in this note 1422843 doesn't clean at all....
Yes, it does not "clean" the spool requests out of the system - it corrects the deletion date symptom so that your reorg job will pick them up again. Dependent on your config, this might take a few days to become "cleaned", as they were before as well.
Another option is to reorg the spool requests based on the creation date alone. This works fine for "smaller" systems and will protect the spool overflow and number range problem. It will however not correct the other less critical symptoms, so applying the kernel patch at some stage soon is recommended anyway.
Cheers,
Julius -
Hello experts,
I want to get the spool request date corresponding to the spool request number from a table. Can you please tell me from where i can get the spool request date??? After search i got that table TSP01 contains the spool request number/id. But how and where to use it exactly i dont know.
Thanks!!Hi,
TSP01-RQCRETIME field is having concatenation of Date and Time.
TSP01-RQCRETIME(8) specifies the spool request creation datae and
TSP01-RQCRETIME+8(8) will give the spool request created time.
Thanks,
Renuka S. -
Several SP01 spool request that need to preserve
I have a couple of spool request that I would like to preserve and keep them from getting deleted. Is there a flag that is set to ensure specific spool are not deleted by cleanup jobs?
Also how can I find the spool at the unix level, becuase I may be able to change the permission on it to never be removed until next year.
Thanks
Jexum WildfireHello Jexum,
The spool cleanup reports which are run daily are generally setup to delete spools based on the creation date. There is the option to run the cleanup jobs such that they delete based on deletion data (a modifiable parameter of the spool request); however more than likely the cleanup job is not defined that way in your system and looks at creation time. This means that the only way to avoid having the spool deleted is to modify the TSP01-RQCRETIME and TSP01-RQDELTIME on the corresponding spool request number such that the year portion is some high value:
RQCRETIME : 2099101022114500
RQDELTIME: 2099101822114500
Where I've changed 2011 to 2099 in the first 4 characters of the fields. The spool rquest will be retained until you manually delete it or the the year 2099 comes. Unfortunately this method requires direct modification of table tsp01 and not sure if you'll be able to do that in your environment. I don't know of another way.
Regards,
Nathan -
Problem in Creation of Activity Request Questionnaire
Hi
I'm facing issue while creation of activity Request Questionnaire. After setting the status to complete & Clicking 'Ok' the activity is not getting created. Its showing 'Internal Error'
When I checked in Tcode SLG1 for error log, I'm getting following error.
I was not facing this issue with other activities. But when i use Request Questionnaire activity I'm facing the problem. The worst part is when i use this activity, all other activity start showing same problem i.e. if i skip Request Questionnaire & use other activity every thing works fine.
Please suggest
RegardsHi,
Please check program " RCF_CHECK_SEARCH_SETTINGS" here all categories status to be shown in Green color.
BR,
Rajeswara. -
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? -
F110 - one spool request number per payment order --URGENT
Hi folks,
I am ABAPer working for ECC6 upgrade project when i am running F110 payment run for customers to generate payment orders i am getting all the orders in one spool request no, But i need to generate one spool request no. per payment order.
thanks in advance for you valuble inputs
regards,
ramahariHi Madhuri,
Call open form write form and close form in loop so that till sales order remains in the loop the form will continue to print. In this way all sales order in internal table will print in the same spool.
Hope this will help you.
Regards,
Vijay -
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. -
Handle not valid for open spool request
Hello everyone,
i am facing an error while clicking the print preview option in change PO (me22n).
i have given the dispatch time in further data of o/p as 'Send with application own transaction'.
now, when i save and click print preview button i get an error as
"Handle not valid for open spool request"
Kindly give me some idea how to tackle this.
Thanks
gauravGaurav,
I am having a similar issue and would appreciate if you could let us know how your problem was solved?
What control parameters did you change to make this work?
Thanks,
Jay -
How to send as an email the spool request?
Dear Experts,
My last post was Email background schedule report to gmail or yahoo mail .
I got solution but it's work as a notification which we can say the after report run it triggers mail that report is completed as this time.
But i required the thing how to send a spool request of a report as an email attachment.
it will be in .xls or .pdf or xyz format.
It was the additional task which was required by my organization.
I also want to know the following things.
1. what is sap default configuration and system behind it.
2. what the things abaper have to check.
3. what is bcs_examples & where do i found these bcs_example8.
Please guide me to explore my knowledge.
Thanks & regards
Nayan Lad
Note for moderator : Sir, I will close request at 2:30 pm today onward, so please do not lock it.
Moderator Message: All your questions can be answered by searching.
Edited by: kishan P on Nov 13, 2010 3:29 PMneed solution..
-
Hi SAP,
My backgroud job is failing with log as shown below
Job started
Step 001 started (program ZMRS0065, variant SUS
Step 002 started (program ZDRS0090, variant SUS
Step 003 started (program ZFRS0305, variant SUS
Step 004 started (program ZFRS0300, variant SUS
Access error
Job cancelled after system exception ERROR_MESSAGE
An error occurred when processing the spool request. (Possibly due to memory problems)
Kindly help out in this issue
Regards
MohammedHello Mohammed,
Have you seen any error in your SM21 system log and developer trace of spool work process
during that time?
The maximum size when create spool is 2GB.Pls also check if you are creating a spool
larger than it.
Best Regards
Jie Bai
Maybe you are looking for
-
How to insert Group into Report Footer or have two Groups in same level
Hi, I am wondering whether it is possible to have two indepent groups---they are at the same level, in one report. I tried insert a group into Footer section or just insert two unnested groups in Group Section, but seems undoable. Thank you for your
-
My iPhone is not active. please help!
I use iphone 3gs ios 4.1 version. I have update to iOS 6.0. but not activated! expect your company to help me. I am very grateful! Now I do not remember the series of air compressors can provide.
-
1st salesorder blocked if another user is in 2nd salesorder of a contract
Hi, I have a service contract and a number of sales orders linked to it. If one sales order is being edited by an user, other user cannot access any another independent order linked to this contract. The first user has to come out of the 1st sales or
-
Hi I am trying to date sort inside for each but it is not working i am using below code <?for-each:G_3?><?sort:BEG_DT;'ascending';data-type='text'?>BEG_DT END_DT <?end for-each?> Can any one please let me know how to solve this? Thanks in Advance Hav
-
Can the latest version of numbers [mountain lion] import data from filemaker version 12
can the latest version of inumbers [ mountain lion ] import data from the newest version of filemaker 12 ?