Skip to Content
Jun 28, 2021 at 11:33 AM

Sap script selecting only one printer.

61 Views Last edit Jun 28, 2021 at 01:28 PM 2 rev

hi ,
I am facing 1 issue, need your suggestions.
from the Z program i am calling .. one Sapscript. using FM:OPEN_FORM
Then sp01 one spool is generating. before generating SPOOL , it is asking which printer like below.
Just for testing, selected 3 printer names for 3 times. But spool is showing one printer name

EXPORTING form = irldrc-formu
device = 'PRINTER'
language = sy-langu
options = itcpo
dialog = ' '
IMPORTING result = itcpp.

but If i see the SP01, Why it is selecting only Print Destination Nirvana Created
Like below it is showing. Any idea why it is showing like below every time.

Spool attributes.


nirvana1.png (28.1 kB)
nirvana.png (36.1 kB)
attr1.png (64.4 kB)
attr2.png (17.7 kB)
attr3.png (19.2 kB)
attr4.png (59.3 kB)
attr5.png (54.9 kB)
attr6.png (67.6 kB)