<?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 scripts???????? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/2565577#M585298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Format option is --&amp;gt; &amp;amp;VAR(n)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example : &lt;/P&gt;&lt;P&gt;&amp;amp;VAR&amp;amp;       =     ABCDEFGHIJK&lt;/P&gt;&lt;P&gt;&amp;amp;VAR(2)&amp;amp;    =     AB&lt;/P&gt;&lt;P&gt;&amp;amp;VAR+2(3)&amp;amp;  =     CDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System symbol&lt;/P&gt;&lt;P&gt; Contains&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATE&lt;/P&gt;&lt;P&gt; current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DAY&lt;/P&gt;&lt;P&gt; day from current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DEVICE&lt;/P&gt;&lt;P&gt; output device: PRINTER, SCREEN, TELEX, FAX&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;HOURS&lt;/P&gt;&lt;P&gt; hours from time of day&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MINUTES&lt;/P&gt;&lt;P&gt; minutes from time of day&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MONTH&lt;/P&gt;&lt;P&gt; month from current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;NAME_OF_MONTH&lt;/P&gt;&lt;P&gt; name of the month from current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;NEXTPAGE&lt;/P&gt;&lt;P&gt; page number of the next page&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PAGE&lt;/P&gt;&lt;P&gt; page number of a SAPscript text&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SECONDS&lt;/P&gt;&lt;P&gt; seconds from time of day&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SPACE&lt;/P&gt;&lt;P&gt; blank&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TIME&lt;/P&gt;&lt;P&gt; time of day&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ULINE&lt;/P&gt;&lt;P&gt; underline&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;VLINE&lt;/P&gt;&lt;P&gt; vertical line&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;YEAR&lt;/P&gt;&lt;P&gt; year from current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2007 08:52:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-06T08:52:29Z</dc:date>
    <item>
      <title>sap scripts????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/2565576#M585297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what r formatting symbols in a sap script where r these symbols used///////////pls lemme know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 08:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/2565576#M585297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T08:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: sap scripts????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/2565577#M585298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Format option is --&amp;gt; &amp;amp;VAR(n)&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example : &lt;/P&gt;&lt;P&gt;&amp;amp;VAR&amp;amp;       =     ABCDEFGHIJK&lt;/P&gt;&lt;P&gt;&amp;amp;VAR(2)&amp;amp;    =     AB&lt;/P&gt;&lt;P&gt;&amp;amp;VAR+2(3)&amp;amp;  =     CDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System symbol&lt;/P&gt;&lt;P&gt; Contains&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATE&lt;/P&gt;&lt;P&gt; current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DAY&lt;/P&gt;&lt;P&gt; day from current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DEVICE&lt;/P&gt;&lt;P&gt; output device: PRINTER, SCREEN, TELEX, FAX&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;HOURS&lt;/P&gt;&lt;P&gt; hours from time of day&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MINUTES&lt;/P&gt;&lt;P&gt; minutes from time of day&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MONTH&lt;/P&gt;&lt;P&gt; month from current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;NAME_OF_MONTH&lt;/P&gt;&lt;P&gt; name of the month from current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;NEXTPAGE&lt;/P&gt;&lt;P&gt; page number of the next page&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PAGE&lt;/P&gt;&lt;P&gt; page number of a SAPscript text&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SECONDS&lt;/P&gt;&lt;P&gt; seconds from time of day&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SPACE&lt;/P&gt;&lt;P&gt; blank&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TIME&lt;/P&gt;&lt;P&gt; time of day&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ULINE&lt;/P&gt;&lt;P&gt; underline&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;VLINE&lt;/P&gt;&lt;P&gt; vertical line&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;YEAR&lt;/P&gt;&lt;P&gt; year from current date&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 08:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/2565577#M585298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T08:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: sap scripts????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/2565578#M585299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A variable in SAPscript is called a symbol. There are the following types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; System symbol (e.g. the number of the current page)&lt;/P&gt;&lt;P&gt;&amp;#149; Standard symbol (usable in any document)&lt;/P&gt;&lt;P&gt;&amp;#149; Program symbol (value from the print program)&lt;/P&gt;&lt;P&gt;&amp;#149; Text symbol (&amp;#147;local variable&amp;#148;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of a symbol is text for using within SAPscript code and is represented by the symbol-name enclosed by ampersands. On seeing the tell-tale ampersands in SAPscript code, you sometimes need to figure out the symbol type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System symbols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System symbols in a SAPscript form are comparable to system fields like SY-UZEIT in an ABAP program, and include these. The graphical editor offers three types of system symbol.&lt;/P&gt;&lt;P&gt;1. General system symbols&lt;/P&gt;&lt;P&gt;See the table TTSXY. PAGE is the most widely used. The list given in our BC460 training manuals is out of date.&lt;/P&gt;&lt;P&gt;2. SAP script system symbols&lt;/P&gt;&lt;P&gt;See the dictionary structure SAPSCRIPT. SAPSCRIPT-FORMPAGES is the most widely used.&lt;/P&gt;&lt;P&gt;3. ABAP system symbols&lt;/P&gt;&lt;P&gt;For the ABAP system field SY-UNAME, say, the symbol is SYST-UNAME. [SYST is the dictionary structure for ABAP system fields.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;User: &amp;amp;SYST-UNAME&amp;amp;&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Page &amp;amp;PAGE&amp;amp; of &amp;amp;SAPSCRIPT-FORMPAGES(C3)&amp;amp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard symbols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard symbols are maintained centrally (in the table TTDTG via transaction SE75) for use in any document. Menu path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tools&lt;/P&gt;&lt;P&gt;Form Printout&lt;/P&gt;&lt;P&gt;Administration&lt;/P&gt;&lt;P&gt;Settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some standard symbols are SAP-standard and others are custom. Curiously, table TTDTG is cross-client although SAPscript forms are not.&lt;/P&gt;&lt;P&gt;The value of a standard symbol has to be defined for each language used. This gives a way to make a single SAPscript form multi-lingual.&lt;/P&gt;&lt;P&gt;We can take advantage to an extent of the central maintenance, though there is no guarantee that the available standard symbols will used in every appropriate context.&lt;/P&gt;&lt;P&gt;Standard symbols complicate searching a SAPscript form, since text like &amp;#145;Charity registration 211581&amp;#146; may be hiding in a standard symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text symbols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A text symbol is declared and assigned to within the SAPscript code, and so obviously applies only to the current document. The command DEFINE is used, requiring /: in the tag column, as in the following examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: DEFINE &amp;amp;COMP_NAME&amp;amp; = &amp;#145;University of Warwick&amp;#146;&lt;/P&gt;&lt;P&gt;/: DEFINE &amp;amp;WS_RATE&amp;amp; = &amp;amp;TAX_SUMM_C&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 08:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts/m-p/2565578#M585299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T08:55:30Z</dc:date>
    </item>
  </channel>
</rss>

