11-13-2016 8:05 AM
Dear experts,
I have a scenario where my driver program is a standard one SAPM07DR whereas my SCRIPT is a custom one. Now I have already done some customization via subroutine inside my SCRIPT form.
Now I need to display Printer name mapped to a variable in a spool. Although spools by standard display printer name on the right top, my functional need it in a variable in the spool.
But I run out of any global structure which pass through the SCRIPT with the printer name. I have tried few structures in SCRIPT debugger but of no use. Any suggestions please?
Please note that I am not going to touch standard program at all. I just need the printer name in my SCRIPT form.
Thanks in advance.
11-13-2016 8:42 AM
I don't understand what you mean: "need [the printer name] in a variable in the spool"?
You may use the printer name from within your sapscript form by using the symbol &ITCPO-TDDEST& (short name of 4 characters of the output device ID) in your SAPscript texts.
You may also get it from your driver program by declaring:
TABLES itcpo.
11-13-2016 8:42 AM
I don't understand what you mean: "need [the printer name] in a variable in the spool"?
You may use the printer name from within your sapscript form by using the symbol &ITCPO-TDDEST& (short name of 4 characters of the output device ID) in your SAPscript texts.
You may also get it from your driver program by declaring:
TABLES itcpo.