SAP certified printers & deleting spool files
Hello,
Could you please tell me what does a SAP certified printer mean?
Also I would like to ask you if is it possible to make settings in a job to delete the spoolfiles after the end of the job?
(I have a job which creates large spool files and I do not need these files)
Thank you in advance,
Noemi
Hi,
For deletion of spool file, you can schedule job SAP_REORG_SPOOL.
You can check below link:
http://help.sap.com/saphelp_46b/helpdata/en/c4/3a7ede505211d189550000e829fbbd/content.htm
Thanks
Sunny
Similar Messages
-
/sapmnt/SID/GLobal SPOOL Files
Hi
We are using Adboe forms and when spool request generate for the Form, there are three files generating on the OS Level @ /sapmnt/SID/global directory. The three files as follows.
SPOOL0000014229_00001.xfd
SPOOL0000014229_00001.pcl
SPOOL0000014229_00001.cfg
We have hundresds of PDFs getting generated everyday and its filling up the FILE system at OS level. These files are deleted when we delete the spool request from SP01.We would like to know if there is any process where we can delete the files from he OS level or can we change in the program tp change path of the files to store in diffrent location.
Regards,
Mahesh Shettyif there is any process where we can delete the files from he OS level !!
You can use the cron utility (unix) at OS level to delete files from the @ /sapmnt/SID/global directory
.For eg : To delete files older than 2 days schedule the below command through cron to run daily .
find /sapmnt/SID/global/ -mtime +2 -type f -exec rm {} \; (Be careful )
or from SAP level schedule the report RSPO1041 daily to delete spool files.Thanks
Other wise ,if you are using a particular output device to generate the spool you can do the following for the device in transaction SPAD
SPAD -> Change output device -> Edit -> Data storage. and choose storage as database.
Regards
Amit -
Hi all ,
I want to delete a file from alocation in batch. I want to use the 'SXPG_COMMAND_EXECUTE' fm . I want to create a command in SM69 . My operating system is WINDOWS NT .Can any one tell me what COMMAND i need to use to delete a file from pc ? And how can i create a command in sm69?
nullCheck this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f2c505211d189550000e829fbbd/frameset.htm
It gives details about how to create / run external command for Windows in SAP.
For deleting a file, command in Windows is <DEL filename>
Message was edited by:
Ashish Gundawar -
Hi experts,
Could you please advise
1) List of SAP certified Printers
2) List of SAP certified email system
3) List of SAP certified Barcode printers
4) List of " " imaging system
Thanks
AnilsaiHi
I manged to get the information, we can get the list of device types supported by SAP from Note 8928 and from below website.
http://www.printronix.com/sap-downloads.aspx
Thanks
Anilsai -
Deleting the spool files that has been generated
Hi all, currently Im facing a problem when spool files are generated after executing a report program in background. I actually need the spool files to be deleted as soon as the printing has been completed and not to remain in the sp02 transation. The real issue is with the number of spool requests that remain in the sp02 when large number of files are be printed. Need your suggestion to delete the spools that got accumulated as soon as the printing is completed.
Fill the print parameters RELEASE "Delete immediately after printing" (see [GET_PRINT_PARAMETERS|http://help.sap.com/abapdocu_70/en/ABENPRINT_PARAMETERS_FUNCTION.htm] and [Overview of All Print Parameters |http://help.sap.com/abapdocu_70/en/ABENPRINT_PARAMETERS_OVERVIEW.htm])
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
no_dialog = 'X'
release = 'X'.
Regards,
Raymond -
How to delete .pdf file after viewing in SAP
Hi,
I've a program to show a pdf file within a SAP window using the open document method form the class cl_gui_pdfviewer. Now I want to delete the pdf file once I choose the back button or exit the program. How can I do that.
In the PAI for the screen showing the pdf file, I have a case statement to perform the following
When 'EXIT'
call method my_pdf_viewer->close_document.
..... <--- some coding to try deleting the pdf file
leave program.
endcase.
It seems that the pdf file is still in use by the program and cannot be deleted before leaving the program. Please help.
Thanks in advance,
FrancisHi All,
I have had this issue and have finally resolved it. Here's how:
you need to destroy your custom container and html viewer control AND flush the front end cache. This releases the lock on the file and lets you then delete it.
Here's an example code:
When 'EXIT'
call method my_pdf_viewer->close_document.
CALL METHOD my_pdf_viewer->FREE
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
others = 3
IF SY-SUBRC is initial.
free my_pdf_viewer.
ENDIF.
this is the custom control parent container that contains the html control
CALL METHOD MY_CONTAINER->FREE
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
others = 3
IF SY-SUBRC is initial.
free my_container.
ENDIF.
CALL METHOD cl_gui_cfw=>dispatch.
CALL METHOD cl_gui_cfw=>flush
EXCEPTIONS CNTL_SYSTEM_ERROR = 1
CNTL_ERROR = 2.
... <---- Delete PDF file (Delete Dataset xxxxxx.pdf)
leave program.
endcase.
The other issue brought up is probably a permission issue -- trying to read the file from the presentation server versus a mapped drive that the SAP backend can access. I read pdf files from a shared drive that the SAP backend can read/write to and it picks it up and displays just fine.
Cheers,
Matt -
Need to send Spool file to user's SAP inbox
Hello all,
I have scheduled a background job to send the spool file to the receipient's SAP inbox.
The user is getting the file but when compared to the spool file it is much smaller. The spool file is around 1700 pages and the user is getting only 27 pages of data.
Can anyone tell me where am I making a mistake.
Actually what is the maximum spool file size that can be transfered.
Thanks in advance,
ArooGo to Tcode:SP01->Select ur spool no-> and F6-->
We have to click SETTINGS option:
From page:1
To page:1700(In this case)
and press it will all the pages.
If it is useful please give me reward points
Thanks
Murali Poli -
Spool files and Adobe Files in SAP
Hi,
Is there away to be able to see spool files and adobe pdf files , using the same screen, Ie go through and view some normal sap spools and then view adobe files from a url?
Many thanksYou can see this sample driver program which use ADOBE form.
You need to specify your function module name instead of (CALL FUNCTION '/1BCDWB/SM00000043') mentioned in this program. The function module is generated when you activate your Adobe form.
sample code :
DATA : is_customer TYPE scustom.
DATA : it_bookings TYPE ty_bookings.
DATA : iv_image_url TYPE string.
DATA : iv_sending_country TYPE adrc-country.
DATA : it_sums TYPE TABLE OF flprice_t.
DATA : docparams TYPE sfpdocparams.
DATA : formoutput TYPE fpformoutput.
DATA : outputparams TYPE sfpoutputparams.
PARAMETERS : pa_cusid TYPE scustom-id.
SELECT SINGLE * FROM scustom INTO is_customer
WHERE id = pa_cusid.
SELECT * FROM sbook
INTO CORRESPONDING FIELDS OF TABLE it_bookings
WHERE customid = pa_cusid.
outputparams-nodialog = 'X'.
outputparams-getpdf = 'X'.
*outputparams-adstrlevel = '02'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
docparams-langu = 'E'.
docparams-country = 'US'.
docparams-fillable = 'X'.
CALL FUNCTION '/1BCDWB/SM00000043'
EXPORTING
/1bcdwb/docparams = docparams
is_customer = is_customer
it_bookings = it_bookings
IV_IMAGE_URL =
iv_sending_country = 'US'
IT_SUMS =
IMPORTING
/1bcdwb/formoutput = formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 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.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 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.
Best Regards,
Devesh -
SAP MTE Auto-Reaction to delete spool from satellite
Hi,
Please could anyone HELP me in setting up the SAP MTE Auto-Reaction to delete spool from satellite system with the threshold in CCMS reaches 80% using a event triggered background Job.
Regards,
PramodHi,
Hav you ppl try to create your own Auto reaction method with te report RSPO0041, i guess we can proceed like this.
and check this too [http://help.sap.com/saphelp_nw04/helpdata/en/27/cbdf3b8dc95136e10000000a114084/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/27/cbdf3b8dc95136e10000000a114084/frameset.htm]
Thanks,
Jansi -
Data in spool file does not match output.
This is a strange issue, and I'm not even sure it's a problem in SAP, but I don't know where else to ask and haven't found anything like it online:
We create pick lists on dot matrix printers. Occasionally, the output is missing a digit or character - for example in the middle of the delivery number. If delivery number is 81234567, the dot matrix output might be 8123467. The SAP spool file is not missing any data. And the paper dot matrix output is never skewed nor looks like it has jammed or "hiccuped". There is no space where the missing piece of data should be - it's all run together nice and neat. It occurs on different bits of data (sometimes, delivery#, name, batch, etc.), and it occurs on different printers at different sites. So far, it has always been only one digit or character missing every time it occurs. Reprint from the spool and it comes out fine.
So, SAP data is correct, and it occurs on different printers. Maybe it's a network issue? A printer buffer issue - but it happens on two different units, and that would be a weird coincidence. I really have no ides. Has anyone ever experienced anything like this?
Thanks,
AnkeHello -
Difficult to answer accurately here as no access to spool data on the affected system and exact methods used. But, perhaps if you can print the RAW (OTF) data to a fileprinter and send that as a .txt file to the printer hardware vendor they could investigate why certain characters do not print.
Regards. -
Where is my Printer Spool file ?
I have a Mac Pro with 10.5.2 - and I print with 3 large Epson pritners.
I had a print that started to print (Photoshop CS3)- and I saw that it was not what I wanted. I canceled the print in the Epson icon (on the dock) - and I shut down the printer and reset it.
But, when I turned the printer back on, the print started again.
Where is the file that holds prints - the printer que or printer spool file - on the Mac?
I have looked everywhere, and I cannot find such a folder anywhere. Anyone know where it is??
I used the CUPS tool
http://127.0.0.1:631/printers
to finally get rid of the print, but I still would like to know where that file is kept.
DickWhenever you print to a printer through Leopard, the printer you are printing to will show up in the dock. Click this icon and it will open you Printer Queue. You can also go to Print & Fax Preference Pane. Select your printer and then click Open Queue. Select the print job that is in the queue and click the delete button.
D. -
How to Store spool file in server
Hi All,
I my production server, every day background run to delete the spool files.
Is it possible to store the specific spool file at different location, so it will not delete though the background job run everyday.
I want the spool file in server only, not at any other location.
Please provide your inputs for the same.
Regards,
NisitHi,
you may have a look at ArchiveLink. ArchiveLink provides storing capabilities and as far as I know you can archive spools which gets generated from SAP Script or Smartforms directly. The docs get stored in 'content repositories' which can be a local table or a external content server (e.g. SAP Content Server).
I recommend you to take a look at SPRO and look for ArchiveLink in the documentation.
kind regards -
Help needed - OS Command foe deleting a file from Appplication server.
Hi,
I have requirement, where in i need to delete a file from the application server. It has to be done automatically. I thought of using OS Command for achieving the same. Can anyone help me in achieving it. The OS of my application server system is UNIX.
Thanks in advance!!
P.S: Points will be rewarded.Hello Sudeep,
If you define the command for each operating system using transactions SM69 (You can test it with SM49) and then call it using SXPG_COMMAND_EXECUTE which contains a parameter defining the operating system (SY-OPSYS)
then it does not matter which operating system is running, the function module always calls the correct version of the command.
So, for example you could define a command 'OS_COMMAND'
which deleted a file. This would have one version for Dos
which said 'del', and a second version for unix which said 'rm'.
The correct command would be specified by the call to SXPG_COMMAND_EXECUTE because the operating system parameter differentiates between the two commands.
[USING PROCESS CHAINS IN SAP BW|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0a7cd90-0201-0010-49a1-d730a56895f4]
SXPG_COMMAND_LIST_GET Reads a list of external OS commands
Thanks
Chandran -
hi all,
how to delete file from application server(al11)?
apart from using EPS_DELETE_FILE
and writing a code any other go to acheive it
regards
venkatHi,
AL11 is a tool to view files that exist on the operating system of the SAP instance (which I think is Rainer's point).
The only way to delete this files is either programatically (with the function module you mention or other ways) or to log onto the operating system directly and delete the file. In either case you are not deleting them from AL11, you are deleting them from the operating system.
Regards,
Nick -
Issue with FTP command while deleting a file.
Hello All,
I am trying to delete a file from the FTP server after the file is processed. I am able to connect to the server, I am able to pick the .csv file and place the data in an internal table, and am able to process it as required in SAP. After the processing, I need to delete that file from the FTP server. I did not change the working directory and gv_filename is the variable which is holding the filename. I am using the following code
concatenate 'delete' gv_filename into lv_cmd separated by space.
REFRESH mdata.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = gv_handle
command = lv_cmd
TABLES
data = mdata[]
EXCEPTIONS
tcpip_error = 1
command_error = 2
data_error = 3
OTHERS = 4.
When I check the mdata which returns the result of the command, I get the message 550: unable to delete <pat>\filename,
where as the file does exist. Is there any condition where in we may not be authorized to delete the file? If so is there any way to check that?
Thanks and Regards,
SachinHi Sachin Dargan,
Yes.. You need to get read and write access for the directory of FTP file server where it is located..
Ask to BASIS or Network admin to give your authorization for it..
Also using upper case in single quotes is better.. as sometimes it may cause problem..
concatenate 'DELETE' gv_filename into lv_cmd separated by space.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya
Maybe you are looking for
-
I'm used to clicking on File and having New Window as my first choice. New Tab is now at the top of the list. My brain is slow to make the transition to the new format and I keep choosing New Tab in error. Can I swap them?
-
How to use a javaBean in a servlet without FORMS...
Hi, I would like to use a javaBean in a Servlet. I know how you can do this with the code HttpSession session = request.getSession(); in your servlet. However, by using this code you have to call the servlet by a FORM. Is it possible to call the serv
-
Newbie Needs Help Modifying colors in Flash Template
I downloaded this template: http://www.templatemonster.com/website-templates/21794.html and i need to change the animated logo's color in the left from green to blue. I have never done anything in flash before, this is the first time i've used the p
-
Hi all, Not sure if anyone else has had this problem. I'm sitting at home in my living room, iPad 3 and iPhone 5 next to me. The iPad 3 is connected to wifi and never drops its connection, whereas the iPhone 5 takes a few minutes to connect and somet
-
Unable to submit a podcast - it's already been submitted!
First off, this is not a windows only issue. I couldn't find any discussion forum where this obviously belonged so I'll just drop it in here. Here's the problem. Many months ago, I submitted my podcast feed to the Store. It was approved and eventuall