Skip to Content
avatar image
Former Member

how to print directly existing spool request number without dialog

Dear All,

Can u give me suggestions for below scenerio, as follows,

My Requirement is to get the spool request number as parameter in abap report, if its execute its corresponding spool request data is going to be print directly using printer LP01.

I am using get_print _parameters fm but it's not working, pls tell me wht are all mandatory parameters is used to give for printing output.

I want to know which function module is used to perform this report. One more thing while execute the report i dont need the printer dialog box when i am giving spool request as parameter directly it should be print bcoz user knows spool request number so they want print directly the outputno need of dialog box.

Pls can u anyone help me for my development

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    May 26, 2011 at 06:01 PM

    I just want to point out that spool request numbers are re-used so if the spool number is old it may have been reused and the print job won't be what's expected. This can lead to security issues where people can print reports they shouldn't have access to.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 26, 2011 at 10:19 AM

    try using FM RSPO_RPRINT_SPOOLREQ in your program

    Add comment
    10|10000 characters needed characters exceeded

  • May 26, 2011 at 07:33 PM

    How do you know the format of the spool is compatible with the formats defined for your LP01 device? What do you mean the get_print_parameters function doesn't work? How are you trying to print afterwards?

    If the user knows the spool number, he/she had to search for it somehow. Why build a new report, i.e., why not use transaction SP01 and the 'Print with changed parameters' menu function once the spool is found, which allows all of the search functionality plus enforces the authorization checks?

    Add comment
    10|10000 characters needed characters exceeded