Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SPOOL

Former Member
0 Likes
783

Hi Folks,

What is the use of spool? Can anybody give brief idea about spool?

Thanks

Ravi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
721

Hi Ravi,

Spool is u can say a memory area where all ur outputs are placed.

e.g. if u want to take a print of any form from SAP, then it will create a spool request in which a unique number will be assigned to ur print and it will be sent to Printer. The Spool requests can be viewed using transaction SP01.

Regards,

Himanshu.

4 REPLIES 4
Read only

Former Member
0 Likes
722

Hi Ravi,

Spool is u can say a memory area where all ur outputs are placed.

e.g. if u want to take a print of any form from SAP, then it will create a spool request in which a unique number will be assigned to ur print and it will be sent to Printer. The Spool requests can be viewed using transaction SP01.

Regards,

Himanshu.

Read only

Former Member
0 Likes
721

Hi,

Spool Administaration in SAP is a separate topic for printing the outputs.

When ever you generate a report a spool request number is created and from SP01 you can execute that spool and see the output or print the output.

Spool is a separate work process in SAP which will take care of all print related tasks.

reward if useful

regards,

ANji

Read only

Former Member
0 Likes
721

hi ravi

hopen the following info helps u !!!!

Spool is basically to hold the output data while run in batch mode. This cna be later used for printing as well.

Spool is created when you run a program in background

here all characteristics of a print are stored: layout, device, status, etc. etc.

<b><u><i>a sample code</i></u></b>

FORM SEND_TO_SPOOL.

CALL FUNCTION 'GET_PRINT_PARAMETERS'

EXPORTING DESTINATION = 'LOCL'

COPIES = COUNT

LIST_NAME = 'FBL1N'

LIST_TEXT = 'SUBMIT ... TO SAP-SPOOL'

IMMEDIATELY = ' '

RELEASE = ' '

NEW_LIST_ID = 'X'

EXPIRATION = DAYS

LINE_SIZE = 170

LINE_COUNT = 58

LAYOUT = 'X_58_170'

SAP_COVER_PAGE = ' '

COVER_PAGE = ' '

RECEIVER = 'SAP*'

DEPARTMENT = 'System'

SAP_OBJECT = 'RS'

AR_OBJECT = 'TEST'

ARCHIVE_ID = 'XX'

ARCHIVE_INFO = 'III'

ARCHIVE_TEXT = 'Description'

NO_DIALOG = 'X'

IMPORTING OUT_PARAMETERS = PARAMS

OUT_ARCHIVE_PARAMETERS = ARPARAMS

VALID = VALID.

IF VALID <> SPACE.

SUBMIT RFITEMAP USING SELECTION-SET VARIANT

TO SAP-SPOOL

SPOOL PARAMETERS PARAMS

ARCHIVE PARAMETERS ARPARAMS

WITHOUT SPOOL DYNPRO

AND RETURN.

ENDIF.

ENDFORM.

regards

navjot

reward if helpfull

Read only

Former Member
0 Likes
721

Hi,

The spool work process processes the print data into a printable data stream. The printable data is transferred to an operating system spooler. This then forwards the data to the printer

Chk this link for more details:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7a5f4061-0a01-0010-c9bc-a4e4cb10...

regards,

keerthi