cancel
Showing results for 
Search instead for 
Did you mean: 

/sapmnt/SID/GLobal SPOOL Files

Former Member
0 Kudos

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 Shetty

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

You can refer SAP note- 16083 which has all the standard jobs including spool related jobs which need to be scheduled on a regular basis. Also tcode SP12 can be used to delete all the unwanted objects.

Regards,

Madhura

Former Member
0 Kudos

if 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

Former Member
0 Kudos

SAP Suggested the following note to move the files to another directory . Refer to this note 0001327372

Former Member
0 Kudos

the Value of rspo/store_location is set to db in my system. But still i see the files created in the /sapmnt/<SID>/global.

Please advice if this is the correct parameter

Former Member
0 Kudos

Hi,

The parameter rspo/store_location specifies where the spool output files should be stored.

db: Spool requests are stored in the database in table TST03

G: Spool requests are stored in the standard R/3 "global" directory: /usr/sap/C11/SYS/global/ (UNIX Systems).

Specifying a path name other than the predefined path is not recommended. Should this be absolutely necessary, you can alter the path name in the file rsts/files/root/G. You should not change the file naming convention specified in the file and please make sure the path/file is accessible by all the application systems.