<?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 script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572701#M587587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to include symbols in script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2007 11:01:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-27T11:01:37Z</dc:date>
    <item>
      <title>script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572701#M587587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to include symbols in script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 11:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572701#M587587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T11:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572702#M587588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&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;goto any PAGEWINDOW's Text elements in Script (SE71)&lt;/P&gt;&lt;P&gt;from the Menu-&amp;gt; INSERT-&amp;gt; Symbols &lt;/P&gt;&lt;P&gt;you find all symbols here&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. SAPscript 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;&lt;/P&gt;&lt;P&gt;SCRIPT COMMANDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADDRESS : Formatting of Address&lt;/P&gt;&lt;P&gt;BOTTOM, ENDBOTTOM : Define Footer text in a window&lt;/P&gt;&lt;P&gt;BOX, POSITION, SIZE : Boxes, Lines and Shading&lt;/P&gt;&lt;P&gt;CASE, ENDCASE : Case Distinction&lt;/P&gt;&lt;P&gt;DEFINE : Value assignment to text symbols&lt;/P&gt;&lt;P&gt;HEX, ENDHEX : Hexadecimal values&lt;/P&gt;&lt;P&gt;IF, ENDIF : Conditional text output&lt;/P&gt;&lt;P&gt;INCLUDE : Include other texts&lt;/P&gt;&lt;P&gt;NEW-PAGE : Explicit forms feed&lt;/P&gt;&lt;P&gt;NEW-WINDOW : Next window main&lt;/P&gt;&lt;P&gt;PRINT-CONTROL : Insert print control character&lt;/P&gt;&lt;P&gt;PROTECT...ENDPROTECT : Protect from page break&lt;/P&gt;&lt;P&gt;RESET : Initialize outline paragraphs&lt;/P&gt;&lt;P&gt;SET COUNTRY : Country-specific formating&lt;/P&gt;&lt;P&gt;SET DATE MASK : Formating of date fields&lt;/P&gt;&lt;P&gt;SET SIGN : Position of +/- sign&lt;/P&gt;&lt;P&gt;SET TIME MASK : Formating of time fields&lt;/P&gt;&lt;P&gt;STYLE : Change style&lt;/P&gt;&lt;P&gt;SUMMING : Summing variables&lt;/P&gt;&lt;P&gt;TOP : Set header text in window MAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 11:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572702#M587588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T11:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572703#M587589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/f4/b4a0b3453611d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/f4/b4a0b3453611d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 11:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572703#M587589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T11:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572704#M587590</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;&lt;/P&gt;&lt;P&gt;First you have to import the logo into SAP through TCode SE78 (if it is a BMP file) and using program RSTXLDMC (if it is of TIFF file). &lt;/P&gt;&lt;P&gt;Go to SE78 -&amp;gt; Double click Graphics -&amp;gt; double click BMAP -&amp;gt; then go to Menu Graphic then select Import. Then give the name and description. Then choose whether it should be in colour or black and white. This completes the process of importing the logo into SAP. &lt;/P&gt;&lt;P&gt;Then you can use the name of this object in SCRIPTS or Smart Forms to print it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For standard symbols... check STXH&lt;/P&gt;&lt;P&gt;ttp://help.sap.com/saphelp_erp2005vp/helpdata/en/90/78f084030211d399b90000e83dd9fc/frameset.htm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 11:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572704#M587590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T11:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572705#M587591</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; /: DEFINE &amp;amp;mysymbol&amp;amp; = &amp;#145;XXXX&amp;#146;&lt;/P&gt;&lt;P&gt; / &amp;amp;mysymbol&amp;amp;&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;Azhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 11:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/2572705#M587591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T11:08:00Z</dc:date>
    </item>
  </channel>
</rss>

