<?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: SAPScript variables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318724#M164638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im sorry but that is not what I meant...basically, I have the following PAGE in my SAPSCRIPT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DTLPG1&lt;/P&gt;&lt;P&gt;DTLPG2&lt;/P&gt;&lt;P&gt;TOTPG1&lt;/P&gt;&lt;P&gt;TOTPG2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some windows that are common to each.  Therefore, how do I know that SAPScript is currently on a particular page (from the list above).  Is there a variable that can be checked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2006 23:07:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-25T23:07:15Z</dc:date>
    <item>
      <title>SAPScript variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318722#M164636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if I have 3 pages in my SAPScript, how do I know which page is current?  Is there a field/variable that I can check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any document that shows the other variables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 22:55:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318722#M164636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T22:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318723#M164637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, just write ..... &amp;amp;PAGE&amp;amp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;SK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 22:58:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318723#M164637</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-05-25T22:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318724#M164638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im sorry but that is not what I meant...basically, I have the following PAGE in my SAPSCRIPT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DTLPG1&lt;/P&gt;&lt;P&gt;DTLPG2&lt;/P&gt;&lt;P&gt;TOTPG1&lt;/P&gt;&lt;P&gt;TOTPG2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some windows that are common to each.  Therefore, how do I know that SAPScript is currently on a particular page (from the list above).  Is there a variable that can be checked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 23:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318724#M164638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T23:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318725#M164639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi blumtain,&lt;/P&gt;&lt;P&gt;check all these commands&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;syst-page&amp;amp; for current page&lt;/P&gt;&lt;P&gt;&amp;amp;syst-jobpages&amp;amp; for total pages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use &amp;amp;page&amp;amp;/&amp;amp;syst-page&amp;amp;/&amp;amp;sy-pagno&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do this way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;PAGE&amp;amp; of &amp;amp;SAPSCRIPT-JOBPAGES&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use following command in sapscript&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Page &amp;amp;PAGE&amp;amp; of &amp;amp;SAPSCRIPT-FORMPAGES&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 00:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318725#M164639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T00:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318726#M164640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the input but I am not looking for the page number or the total pages.  The "Page" that I am referring to is the element "Page" in sapscript.  As stated above, I have 4 Page elements and I am wondering if there is a system variable that can be used to identify this when SAPScript is being executed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 00:26:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318726#M164640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T00:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318727#M164641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;TRY THIS OUT&lt;/P&gt;&lt;P&gt;Call function 'OPEN_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form = 'Z_FORM'&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function 'START_FORM'.   "Default startpage = FIRST&lt;/P&gt;&lt;P&gt;              ...&lt;/P&gt;&lt;P&gt;        [Print all standard form pages]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Call function 'END_FORM'.         "Printed everything but T&amp;amp;C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Call function 'START_FORM'      "Start a new page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Startpage = 'LAST'.   "Direct access to page LAST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Window = 'TERMS'.   "Final page T&amp;amp;C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Call function 'END_FORM'.              "End of printing page LAST&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   Call function 'CLOSE_FORM'.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;You can just fill the data in the main&lt;/P&gt;&lt;P&gt;window and SAP will handle the paging based on the NEXT PAGE in the&lt;/P&gt;&lt;P&gt;SAPscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 03:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318727#M164641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T03:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318728#M164642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;System Symbols&lt;/P&gt; &lt;BR /&gt;You can use system symbols in all kinds of text. SAPscript supplies the values for system symbols. The names of the system symbols are fixed. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Current Date&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;DATE&amp;amp; The current date is displayed. It is formatted according to the specifications found in the user master data. You can adapt this format to your own requirements by specifying a date mask (SET DATE MASK) or by using a country-specific formatting option (SET COUNTRY). The current value for this symbol is taken from the SY-DATUM field. This value is not copied every time that the date is called, but only at the following times:· When printing starts (OPEN_FORM, PRINT_TEXT) · When symbols are replaced in the text editor · When a text is exported in the ASCII or RTF format · When the TEXT_SYMBOL_REPLACE function module is called (optional)&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Current Day Number&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;DAY&amp;amp; The current day number is printed. The display includes leading zeros. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Current Month Number&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;MONTH&amp;amp; The current month number is printed. The display includes leading zeros. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Current Year Number&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;YEAR&amp;amp; This symbol is used to print the current year as a four digit number. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Current Day Name (Long Form)&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;NAME_OF_DAY&amp;amp; The name of the current day is written out in full. The language used for the output is determined by the appropriate text language or form language. The names of the days are stored in the TTDTG table under the key %%SAPSCRIPT_DDDD_dd, where dd is the day number (01= Monday,.., 07 = Sunday).&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Current Month Name (Long Form)&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;NAME_OF_MONTH&amp;amp; The name of the current month is written out in full. The language used for the output is determined by the appropriate text language or form language. The names of the months are stored in the TTDTG table under the key %%SAPSCRIPT_MMMM_mm, where mm is the month number (01,.., 12). &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Current Time&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;TIME&amp;amp; The current time is printed in the form hours:minutes:seconds. Each of the components for hours, minutes, and seconds consists of two digits, using a leading zero if necessary. You can adapt this format to your own requirements by specifying a time mask (SET TIME MASK).The value for the time field is taken from the SY-UZEIT field. This value can be copied over only at particular times (c.f. DATE ). &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Hours Component of Current Time&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;HOURS&amp;amp; The component of the current time referring to hours is printed. The display includes leading zeros. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Minutes Component of Current Time&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;MINUTES&amp;amp; The component of the current time referring to minutes is printed. The display includes leading zeros. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Seconds Component of Current Time&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;SECONDS&amp;amp; The component of the current time referring to seconds is printed. The display includes leading zeros. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Current Page Number&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;PAGE&amp;amp; You can use this symbol to insert into the text the page number that the current page will have when printed. You can specify the formatting option for the page number in the form for each page type.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Page Number of the Next Page&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;NEXTPAGE&amp;amp; This symbol is used to print the number of the following page. The output format is the same as with &amp;amp;PAGE&amp;amp; . Note that on the last page of the output, in each window that is not of type MAIN, &amp;amp;NEXTPAGE&amp;amp; has the value 0.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Selected Device Type&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;DEVICE&amp;amp; The &amp;amp;DEVICE&amp;amp; symbol is used to print the type of the output device. This type is passed in the DEVICE parameter when the SAPscript output (OPEN_FORM, PRINT_TEXT) is started, and it specifies the device for which the output should be formatted.Possible values are: PRINTERSCREENTELEXTELEFAXABAP (ABAP list display) &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Spaces&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;SPACE&amp;amp; You can use this symbol to generate a string of space characters. You must pass the number of space characters required with the symbol. If you leave out the number, then no spaces are printed. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Underline&lt;/P&gt;&lt;/B&gt; &lt;BR /&gt;&amp;amp;ULINE&amp;amp; You can use this symbol to insert a string of underline characters into the output text. You must pass the number of underline characters required with the symbol. If you leave out the number, then just one underline character is printed. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Vertical Line&lt;/P&gt;&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;VLINE&amp;amp;	You can use this symbol to insert a string of vertical line characters into the output text. You must pass the number of vertical line characters required with the symbol. If you leave out the number, then just one vertical line character is printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 04:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-variables/m-p/1318728#M164642</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-05-26T04:12:40Z</dc:date>
    </item>
  </channel>
</rss>

