cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate spool request in sap script

Former Member
0 Kudos

Hi Experts !!

I had customized RFFCOUS_C -- > Include RFFORI01 for printing check and payment advise.

Now if we run standard print program, spool will be generated first

and then we can see the print prieview accordingly.

But after my customization, after seeing print prieview when am clicking print button , then only spool is getting generated....

i had checked everything...but not able to solve the issue.

Please help.

Regards

Saurabh goel

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Just use below logic for script

itcpo-tddest = p_print. " Printer name

itcpo-tdnewid = 'X'.

itcpo-tdimmed = 'X'.

itcpo-tdcopies = '1'.

call function 'OPEN_FORM'

exporting

device = 'PRINTER'

dialog = ' '

form = 'ZAUTO_REPLPRINT'

language = sy-langu

options = itcpo

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

Regards,

Shiva(reward if helpful).

former_member196280
Active Contributor
0 Kudos

While maintaining variant for cheque printing, make sure you maintain printer control in selection screen, i.e print checks is ticked and printer name is maintained and print immediately check box is ticked.

close the thread once your question is answered.

Regards,

SaiRam