Application Development 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: 

FM to release the spool request for printing

Former Member
0 Kudos

I have requirement one of my program generate the spool request.

now i need to schedule the print job in background.

can any one help in specifing the Funtion modulde that can be used to releasing the spool request for printing

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You could try using FM RSPO_OUTPUT_SPOOL_REQUEST.

Hope this helps.

Regards,

Roopali

5 REPLIES 5

former_member188685
Active Contributor
0 Kudos

Hi avinash,

Try this FM <b>GET_PRINT_PARAMETERS</b>.

Regards

vijay

Former Member
0 Kudos

Hi,

You could try using FM RSPO_OUTPUT_SPOOL_REQUEST.

Hope this helps.

Regards,

Roopali

0 Kudos

Hi Ropali,

can you please specify what are the parameters to be populated to make it run in the back ground

right kow i'm populating these fields.\

CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'

EXPORTING

COPIES = 1

DEVICE = 'LOCL'

  • DIVISION = '*'

ENDPAGE = 0

PRIO = 1

  • RECEIVER = '*'

  • REQEST_TITLE = '*'

spool_request_id = '9817'

  • STARTPAGE = 0

  • TELELAN = '*'

  • TELENUM = '*'

  • POSNAME =

  • ACTTIME =

  • TABLES

  • ATTRIBUTES =

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 = 23

.

Former Member
0 Kudos

hi

good

check out these function modules

SO_SPOOL_READ Fetch printer spool according to the spool number informed. See also RSPO_RETURN_ABAP_SPOOLJOB

check out this link.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba56d35c111d1829f0000e829fbfe/content.htm

Thanks

mrutyun

Former Member
0 Kudos

Hi ,

Please can one specify what are the parameters to be populated to make it run in the back ground

right know i'm populating these fields.

In SP01 it showing status as "Frontend Unavaliable".

if i schedule the program in back ground.

CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'

EXPORTING

COPIES = 1

DEVICE = 'LOCL'

  • DIVISION = '*'

ENDPAGE = 0

PRIO = 1

  • RECEIVER = '*'

  • REQEST_TITLE = '*'

spool_request_id = '9817'

  • STARTPAGE = 0

  • TELELAN = '*'

  • TELENUM = '*'

  • POSNAME =

  • ACTTIME =

  • TABLES

  • ATTRIBUTES =

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 = 23

.