How to delete the spool request number
HI Masters,
My program creates a spool request. And i want to delete that spool request number? How to delete that??
Thanks in advance.
hi
good
The program are RSPO0041 or RSPO1041.
This is handy whenever you encounter a user who managed to create a lot of spool requests which are choking your system.
Deleting them with SP01 will be too slow and you will get time out if it exceed the online time limit specify by your basis people.
<b><REMOVED BY MODERATOR></b>
thanks
mrutyun^
Message was edited by:
Alvaro Tejada Galindo
Similar Messages
-
How to see the spool request number
hi experts,
how to see the spool request number of any object......
may be form or report........U can go to SP01/SP02.
For generating spool u can look into this code.
FORM write_to_spool.
DATA : l_f_list_name LIKE pri_params-plist,
l_f_destination LIKE pri_params-pdest,
l_f_spld LIKE usr01-spld,
l_f_layout LIKE pri_params-paart,
l_f_line_count LIKE pri_params-linct,
l_f_line_size LIKE pri_params-linsz,
l_f_out_parameters LIKE pri_params,
l_f_valid.
l_f_line_size = 255.
l_f_line_count = 65.
l_f_layout = 'X_65_255'.
l_f_list_name = sy-repid.
to get defult spool device for the user
SELECT SINGLE spld INTO l_f_spld FROM usr01 WHERE bname = sy-uname.
IF sy-subrc = 0.
MOVE l_f_spld TO l_f_destination.
ENDIF.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = C_CHAR_UNKNOWN
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
COPIES = C_NUM3_UNKNOWN
COVER_PAGE = C_CHAR_UNKNOWN
DATA_SET = C_CHAR_UNKNOWN
DEPARTMENT = C_CHAR_UNKNOWN
destination = l_f_destination
EXPIRATION = C_NUM1_UNKNOWN
immediately = 'X'
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
layout = l_f_layout
line_count = l_f_line_count
line_size = l_f_line_size
list_name = l_f_list_name
LIST_TEXT = C_CHAR_UNKNOWN
MODE = ' '
NEW_LIST_ID = C_CHAR_UNKNOWN
NO_DIALOG = C_FALSE
RECEIVER = C_CHAR_UNKNOWN
RELEASE = C_CHAR_UNKNOWN
REPORT = C_CHAR_UNKNOWN
SAP_COVER_PAGE = C_CHAR_UNKNOWN
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = C_CHAR_UNKNOWN
USER = SY-UNAME
IMPORTING
OUT_ARCHIVE_PARAMETERS =
out_parameters = l_f_out_parameters
valid = l_f_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF l_f_valid NE space.
NEW-PAGE PRINT ON PARAMETERS l_f_out_parameters.
WRITE : /5 'Material No.',
25 'Message Type',
40 'Message Issued'.
ULINE.
LOOP AT g_t_message_table WHERE type = 'E'.
WRITE : / g_t_message_table-matnr UNDER 'Material No.',
g_t_message_table-type UNDER 'Message Type',
g_t_message_table-message UNDER 'Message Issued'.
ENDLOOP.
NEW-PAGE PRINT OFF.
ENDIF.
ENDFORM. " WRITE_TO_SPOOL
Regards -
How to get the spool request number ?
Hi All,
I am working on a smart-forms. I am using a custom transaction to print these smartforms. When I execute
the transaction the print screen comes where I can do
print preview or print.
Now to convert this Smart Form to PDF I need to know the spool request number to use in the report called RSTXPDFT5.
How do I get the spool request number ?
Do I need to do some changes in spool control options of print screens to get the spool request number or something else ?
Please let me know.
Answers will be awarded...
TusharHi,
You will get the spool no. in the parameter "job_output_info" after calling the smartform function module in print program. The spool ids of the prints is stored in table job_output_info-SPOOLIDS.
Regards,
Gagan -
How can i find the spool request number in script
Hi Experts,
I need solution that how can i see the spool request number, bcoz i need to covert my script into pdf format.
Thanks and Regards.
Venkat NThere isn't any correspondence. I seem to recall that Amazon added that feature to the Kindle app but I haven't checked lately.
-
How to delete the duplicate requests in a cube after compression.
Hi experts,
1. How to delete the duplicate requests in a cube after compression.?
2. How to show a charaterstics and a keyfigure side by side in a bex query output?
Regards,
Nishuv.Hi,
You cannot delete the request as its compressed as all the data would have been moved to E table ..
If you have the double records you may use the selective deletion .
Check this thread ..
How to delete duplicate data from compressed requests?
Regards,
shikha -
How to delete the compressed request in bi 7.0?
how to delete the compressed request in bi 7.0?
Reverse Posting option available in BI 7.0?
Thanks,
PramodHi Pramod,
Check this Thread,
Re: Selective deletion after compression
before posting a thread pls check in the forum.Lots of threads are already been posted related to your Query.
Hope this helps.......... -
How to track the transport request number for the Role/Composit Role
Hi,
How to track the transport request number for the Role/Composit Role.
Thanks,
RaviUse transaction SE03 Transport Organizer Tools
Execute "Search for Objects in Requests/Tasks" with objects of types:
R3TR ACGR Role
R3TR ACGT Role - User assignment
Regards -
How to delete the Transport Request?
Hi all,
I want to delete the Transoport Request from Production Box( we have 2 request number... one child another one parent). I released the Child Request. Now i want to delete that request. we don't have setup in our production Box i think(in order to release that we don't have setup in Production Box).
Any Idea? I know how to delete that Transport Request. If i try to release that i'm getting TP(Transport Profile error) <b>with return Code 12</b>. it suppose to handle by Basis. My basis consultant is not aware of how to work on this?
Regards,
Nagesh Ganisetti.I am not sure I understand.
You release the request in the system you created, not in another system (in your case production). It will then go to the import queue of the target system.
Transports will be configured in all the systems in your landscape (including production).
Just by releasing a request, it will not go to the target (unless it is configured so, not likely if the target is production), someone has to import it into the target. I assume you do not want this request to go to target. In this case, release it, then go to STMS, import queue, and delete it from there.
Added -
I now see that the request is in production.
Igore the above in that case.
If you are not able to release it, let it be. If you are doing an upgrade/support pack, you will need to release it.
When you try to delete, what message do you get?
Message was edited by: Ajay Das -
How to print the spool request with a given file name.
Dear Experts;
I used FM RSPO_OUTPUT_SPOOL_REQUEST to print spool request. And the device type is a local pdf printer. By default, the download file name will be the spool id. How can I change the download file name? Thanks!
Convert 'CutePrinter' to qualify the format.
CALL FUNCTION 'CONVERSION_EXIT_SPDEV_INPUT'
EXPORTING
input = 'CutePrinter'
IMPORTING
output = lv_device.
Downloading as pdf by printer
CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
EXPORTING
device = lv_device
spool_request_id = pa_spool
EXCEPTIONS
archive_dest_invalid = 1
archive_dest_not_found = 2
archive_dest_no_right = 3
cannot_archive = 4
change_archdest_no_right = 5
change_copies_no_right = 6
change_dest_no_right = 7
change_devtype_no_right = 8
change_prio_no_right = 9
change_telenum_no_right = 10
change_title_no_right = 11
dest_invalid = 12
dest_not_found = 13
dest_no_right = 14
internal_problem = 15
invalid_fax_attribute = 16
invalid_parameters = 17
non_owner_no_right = 18
no_layout = 19
no_spool_request = 20
out_again_no_right = 21
spooler_problem = 22
OTHERS = 23SELECT SINGLE * FROM tsp01 into rq WHERE rqident = p_spool .
* To get attributes of spool request
CALL FUNCTION 'RSPO_GET_ATTRIBUTES_SPOOLJOB'
EXPORTING
rqident = p_spool "Spool Request Number
IMPORTING
rq = rq "Consists the Spool Document Type Details
TABLES
attributes = dummy
EXCEPTIONS
no_such_job = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
*Convert spool request into PDF, dependent on document type
IF rq-rqdoctype = 'OTF' OR rq-rqdoctype = 'SMART'. "Doc Type is of Sap Script or Smart form
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = p_spool "Spool Request Number
no_dialog = 'X'
pdf_destination = 'X'
no_background = 'X'
IMPORTING
pdf_bytecount = bin_size
bin_file = pdf_xstring "This fm will convert the spool data into
TABLES
pdf = it_pdf . "PDF Format in this importing string
ELSEIF rq-rqdoctype = 'LIST'. "Doc Type of List
* Convert spool to PDF
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = p_spool "Spool Request Number
no_dialog = ' '
dst_device = 'LOCL'
pdf_destination = 'X'
no_background = 'X'
IMPORTING
pdf_bytecount = bin_size
bin_file = pdf_xstring "This fm will convert the spool data into
"PDF Format in this importing string
TABLES
pdf = it_pdf.
ENDIF.
* Downloading file to p_file loation in PDF foramt
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = bin_size
filename = w_filename "Custom File name
filetype = 'BIN'
TABLES
data_tab = it_pdf
Prabhudas -
How to delete the open requests in the LBWQ
Hi guys ... Can any one let me know how to delete / update the open requests in the queue . I need to delete the Open requests in the LBWQ...we are applying patches and for that we need to delete from LBWQ and RSA7...I guess there is an ABAP report which will deletes the open requests...Can any one let me know that report name please
Thanks in advance...
regards
Edited by: sam on Dec 17, 2007 6:15 PMIf your job control runs fine then best thing is to transfer the records from LBWQ to RSA7 and pull it to BW. If you do this all your delta data is intact and you do not loose any delta data. But if you delete the LBWQ you potentially loose all youre delta data. You can go to LBWE and start the job control and move data to RSA7 and then pull it to BW.
But i am not very clear why you wish to delete this data ? If you do this then better you reinitialize all your delta data by following your normal procedure of filling up the setup tables and then initalizing in BW. -
How to genrate the spool request for the smart form.
Hi Friends,
I have a page to FAX to vendor for which i have made a smartform for the page to be send. For this purpose i have to genrate the spool request without displaying the output of the smartform. The program should give the spool number genrated.
can you please suggest somthing.
Regards,
Vidya.hi
for this when u r callin the form write some code in u r program
IF RADIOBUTTON = 'X' . "GET THE SPOOL
CONTROL_PARAMETERS-NO_DIALOG = 'X'.
ELSE.
CONTROL_PARAMETERS-NO_DIALOG = ' '.
ENDIF.
and pass this to the calling form.
Please Close this thread.. when u r problem is solved. Reward if Helpful
Regards
Naresh Reddy K -
How to know the spool requests generated from my program?
hi
I want to get the spool request(s) that are generated from my report that's run either in foreground or background? how to know this? i know that we can go to sm37 and see, but is there any table or fm which stores this data? if i give my program name that's run on a particular date, i should get the spool request numbers. tsp01 only has the spool no. and not the program name..pl suggest...thanks all
Sathish. RHi ,
The system field sy-spono contains the spool numbers .
If you have such requirement, you can create one custom table with fields :
spool no, program , date , time
whenever you run ur program update this table ,
with system fields . spono , sy-repid , sy-datum and sy-uzeit .
Thaks . -
How to delete the compressed Request ID in the info cube... ?
Hi BW Gurus,
one of the info package will upload the request in to three data targets and failed due to error with duplicate records. I am able to delete the bad request in two data targets and facing problem with one data target due to the request is available in green and got compressed.
The reasons why i am unable to delete the request in that data target is it is already got compressed and rolledup.
I tried with selective deletion based on same request ID i have done that successfully but the request still presents in the data target. I have checked in listcube and found no data for the request id.
now i have one more question like the request has bring down to status not ok in the monitor and done selective deletion will it be a problem on the data missing please advise me if any data missing will occur for the particular data target.
can any one help on this. Thanks in Advance.
Venkat.Hi Venkat
You have one way to delete the compressed request
But this is possible only if u have the request in PSA
If the request is in PSA, do reverse posting
This will nullify the particular bad request by changing the press sign into - and - sign into + for all the records went in the cube for that particular request
Regards
N Ganesh -
WHSCON or SHPCON : how to transfer the picking request number ?
Hello,
I want to pick & pack an outbound delivery using the idoc WHSCON.
Using the WE19 transaction I have simulated an inbound idoc with qualif. PIC in segment E1EDL18. It works fine.
My problem is that a new picking request is created for the delivery. It has the same number as the delivery. Because of this, the picking quantity is added to the delivery quantity.
So my question is quite simple : in order WHSCON (or SHPCON), in which segment and field must i put the picking request number ?
Subsidiary question : Is it a difference between messages SHPCON and SHPCON ?
Regards.Hello there, Off the top of my head, I used WHSCON as opposed to SHPCOn for shiiping confirmations ( picking and PGI).
But for returns and refusals I used SHPCON.
Now they both can be used but obviously the Func. modules are different. Other than that there must be some subtle differences, which you might notice if you test both thoroughly for the same condition.
also in my case there was no picking request # so I cannot help you there.
I do recollect that the PIC indicator was in both the header and the line item, and there was another indicator used by another team in the 19 segment, think it was "QUA". never understood its purpose.
If you do figure it out outside of this forum, please post the resolution here.
Regards -
How to delete the Transport Request release from SE09
Please let me know How can I delete the New Transport release request from SE09 and if I HAVE OBJECTS SUCH AS Process chain and process variant, infopackage in one request. Being A NEW request it has Delevelopment correction ABDK904193 under main request ABDK903667, should I double click on ABDK904193 FIRST AND then go to request editor and change - display and select all request and delete it and save and then delete main request ABDK903667. If I do this will there be any problems on Process chain Objects such as locking or unlocking. let me know if there are any more steps that need to be taken to avoid any trouble.
hope u will help me asap
thanks
hardeepHi Hardeep,
Allways delete child node and then parent node.Coz Parent node does not allow you to delete straight away so first delete child node either by double clicking and select all>>delete or individually select each object by placing cursor on it and say Delete by pressing the Delete Icon..it will prompt u message obj is locked press delete that will delete the object, subsequently when all objects are deleted then delete the request also.
when u delete a request all the objects saved or locked onto that request are released or unlocked.
So all the objects that were previously locked or saved onto a req are now ready to save into another req.
Simply say, once the objects are deleted from the req they are independent again with latest changes and readily available to save onto a diff req.
another option is release the req but do not transport it to target system.
Regards
Ellora
Maybe you are looking for
-
How do I delete an email address that cannot be found in my contacts app
An unknown email address always pops up when I try to select a recipient That email address cannot be found anywhere in the contacts app when I try to get it deleted. It is an invalid address, as when I sent out a testing email, it was bounced as de
-
What Photoshop is recommended for new photographer with Windows 8?
Help! I need a gift for a beginner photographer with a Cannon T3i.
-
Mac SLOW performance when backing up
Whenever my mac is backing up over wifi to my Time Capsule the performance is terrible! Everything is just SO slow - switching windows, opening programs, sending email everthing!!!! So to combat this i click 'Stop Backing Up'. Then everthing is back
-
What's Using Our Bonjour Port?
I'm afraid we'll need an Apple Netowrking genous to solve our local wireless problem. First, our iPads won't connect to our local SMS, DHCP wireless net unless we go into their setting and turn the connection off then on again. This occurs even in th
-
my iphone 5s is in recovery mode and every time i try to restore it is says error 9. i did all of steps is hould, for ex. updating itunes and software ad setting date and time but it didnt really help, can anybody give me an advice?