<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAP Script Global variable for printer name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-global-variable-for-printer-name/m-p/376843#M8863</link>
    <description>&lt;P&gt;I don't understand what you mean: "need [the printer name] in a &lt;STRONG&gt;variable in the spool&lt;/STRONG&gt;"?&lt;/P&gt;&lt;P&gt;You may use the printer name from within your sapscript form by using the symbol &amp;amp;ITCPO-TDDEST&amp;amp; (short name of 4 characters of the output device ID) in your SAPscript texts.&lt;/P&gt;&lt;P&gt;You may also get it from your driver program by declaring:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES itcpo.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 13 Nov 2016 08:42:51 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2016-11-13T08:42:51Z</dc:date>
    <item>
      <title>SAP Script Global variable for printer name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-global-variable-for-printer-name/m-p/376842#M8862</link>
      <description>&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;                       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. &lt;/P&gt;&lt;P&gt;                                                          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.&lt;/P&gt;&lt;P&gt;                                                    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? &lt;/P&gt;&lt;P&gt;                                                  Please note that I am not going to touch standard program at all. I just need the printer name in my SCRIPT form.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2016 08:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-global-variable-for-printer-name/m-p/376842#M8862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-13T08:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script Global variable for printer name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-global-variable-for-printer-name/m-p/376843#M8863</link>
      <description>&lt;P&gt;I don't understand what you mean: "need [the printer name] in a &lt;STRONG&gt;variable in the spool&lt;/STRONG&gt;"?&lt;/P&gt;&lt;P&gt;You may use the printer name from within your sapscript form by using the symbol &amp;amp;ITCPO-TDDEST&amp;amp; (short name of 4 characters of the output device ID) in your SAPscript texts.&lt;/P&gt;&lt;P&gt;You may also get it from your driver program by declaring:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES itcpo.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 13 Nov 2016 08:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-global-variable-for-printer-name/m-p/376843#M8863</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-11-13T08:42:51Z</dc:date>
    </item>
  </channel>
</rss>

