<?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: about statements in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-statements/m-p/2583427#M590909</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;Check the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / 'Hello',&lt;/P&gt;&lt;P&gt;          'Good morning'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Output:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Hello Good morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE /: 'Hello',&lt;/P&gt;&lt;P&gt;          'Good morning'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Output:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference is in the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2007 08:08:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-25T08:08:21Z</dc:date>
    <item>
      <title>about statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-statements/m-p/2583426#M590908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the diff b/w stmts   WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;    and   WRITE /:  ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 06:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-statements/m-p/2583426#M590908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T06:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: about statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-statements/m-p/2583427#M590909</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;Check the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / 'Hello',&lt;/P&gt;&lt;P&gt;          'Good morning'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Output:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Hello Good morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE /: 'Hello',&lt;/P&gt;&lt;P&gt;          'Good morning'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Output:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference is in the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 08:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-statements/m-p/2583427#M590909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T08:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: about statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-statements/m-p/2583428#M590910</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;here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ 'sflight-carrid','sflight-connid'.&lt;/P&gt;&lt;P&gt;it will print output in new line.&lt;/P&gt;&lt;P&gt;sflight-carrid sflight-connid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write /: 'sflight-carrid','sflight-connid'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will take : as delimeter and print output in new line depending on how many numbr of word you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i will print as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sflight-carrid&lt;/P&gt;&lt;P&gt;sflight-connid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE - Output to a list &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form &lt;/P&gt;&lt;P&gt;WRITE f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras: &lt;/P&gt;&lt;P&gt;1. ... AT f (position and length specification, before the field) &lt;/P&gt;&lt;P&gt;2. ... option (formatting option) &lt;/P&gt;&lt;P&gt;3. ... fmt (output format by field) &lt;/P&gt;&lt;P&gt;4. ... AS CHECKBOX (output as checkbox) &lt;/P&gt;&lt;P&gt;5. ... AS SYMBOL (output as symbol) &lt;/P&gt;&lt;P&gt;6. ... AS ICON (output as icon) &lt;/P&gt;&lt;P&gt;7. ... AS LINE (output as line) &lt;/P&gt;&lt;P&gt;8. ...QUICKINFO g(output with quick info) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Outputs the field f in the correct format for its type to the current list. The field f can be: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a field declared by DATA, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a component of a structure declared by TABLES, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a field symbol ( FIELD-SYMBOLS), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a text literal which is not language-specific &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a language-specific text literal (text symbol). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples &lt;/P&gt;&lt;P&gt;TABLES SPFLI. &lt;/P&gt;&lt;P&gt;DATA N TYPE I VALUE 123. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;WRITE N. &lt;/P&gt;&lt;P&gt;WRITE SPFLI-FLTIME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;CF&amp;gt; TYPE ANY. &lt;/P&gt;&lt;P&gt;ASSIGN 'NEW YORK' TO &amp;lt;CF&amp;gt;. &lt;/P&gt;&lt;P&gt;WRITE &amp;lt;CF&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: '----&amp;gt;', SPFLI-DISTANCE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: TEXT-001, SPFLI-ARRTIME. &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;WRITE: 'Time:'(001), SPFLI-ARRTIME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text symbols can be addressed in two different ways (TEXT-001 or 'Time:'(001)). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;If no explicit position is specified for a field on a new line, it is output on the left (in column 1). Otherwise, output is one column removed from the previously output field. If a field does not fit on one line, a new line is started. &lt;/P&gt;&lt;P&gt;You can perform explicit positioning with a position and length specification (see addition 1) or with ABAP/4 statements (e.g. POSITION). In this case, the field is always output at the defined position, even if the line is not quite long enough for it to fit completely. &lt;/P&gt;&lt;P&gt;If a field is too long to fit completely on the line, the excess characters are truncated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you explicitly position fields on a list, you should almost always usie the ... LINE-SIZE addition in the REPORT or NEW-PAGE statement, otherwise the width of the list will depend on the current width of the display window, the font used, and other such factors that can lead to the list display being truncated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each field occupies a number of characters in the list. If this number is not explicitly defined (see addition 1), the system uses a type-specific standard length or the output length specified in the ABAP Dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type-specific output: (len = field length) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type Standard output length Output &lt;/P&gt;&lt;P&gt;C , en left-justified &lt;/P&gt;&lt;P&gt;D , , eft-justified &lt;/P&gt;&lt;P&gt;F , 2 right-justified &lt;/P&gt;&lt;P&gt;I , 1 right-justified &lt;/P&gt;&lt;P&gt;N , en left-justified &lt;/P&gt;&lt;P&gt;P , &lt;STRONG&gt;len or 2&lt;/STRONG&gt;len+1 right-justified &lt;/P&gt;&lt;P&gt;T , , eft-justified &lt;/P&gt;&lt;P&gt;X , *len left-justified &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Numeric fields (types P, I and F) are always output right-justified, but all other types are left-justified; if required, blanks are used for padding. With numeric fields, leading zeros are replaced by blanks. If there is enough space, types P and I have thousands separators. To accommodate the decimal point, the output length of type P fields is 1 byte longer. &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 fields that are useful when generating lists are documented in System Fields for Lists. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please consult Data Area and Modularization Unit Organization documentation as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;WRITE AT f (position and length specification before the field) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;You can use the position and length specification f to define the precise output position and length of a field. The specification consists of: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wrong dynamic position specification. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ New line &lt;/P&gt;&lt;P&gt;p Output position (1-3 character number or variable) &lt;/P&gt;&lt;P&gt;(l) Output length (1-3 character number or variable) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combinations are possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples &lt;/P&gt;&lt;P&gt;DATA: WORD(16), VALUE '0123456789ABCDEF', &lt;/P&gt;&lt;P&gt;      COL TYPE I VALUE 5, &lt;/P&gt;&lt;P&gt;      LEN TYPE I VALUE 10. &lt;/P&gt;&lt;P&gt;WRITE AT / WORD.          "new line &lt;/P&gt;&lt;P&gt;WRITE AT 5 WORD.          "column 5 &lt;/P&gt;&lt;P&gt;WRITE AT (10) WORD.       "output length 10 &lt;/P&gt;&lt;P&gt;WRITE AT /5(10) WORD.     "new line, column 5, length 10 &lt;/P&gt;&lt;P&gt;WRITE AT COL WORD.        "column = contents of COL &lt;/P&gt;&lt;P&gt;WRITE AT (LEN) WORD.      "output length = contents of LEN &lt;/P&gt;&lt;P&gt;WRITE AT /COL(LEN) WORD.  "new line, column = contents of COL &lt;/P&gt;&lt;P&gt;                          "output length = contents of LEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;The position and length specification must appear before the field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the position and length specification contains only constants, you the introductory AT is unnecessary. (In the first four of the above examples, you can therefore omit AT.) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always write the position and length specification without gaps and in the specified order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leave at least one space between the position and length specification and the field name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For dynamic positioning, see also POSITION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No output results from positioning to the right of the far right edge of the page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With explicit column specifications, the field is output from this column, even if it no longer completely fits on the line or overwrites another field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the output length is too short, numeric fields (types P, I and F are prefixed with an asterisk ('*'), while all other types are truncated on the right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the abbreviated output of a variable, you should always use WRITE (10) T100-TEXT rather than WRITE T100-TEXT(10) (sub-field access). &lt;/P&gt;&lt;P&gt;On the one hand, the first form is always allowed and the second form can be forbidden for certain data types (e.g. TYPE P). On the other hand, only the first form guarantees the identity of the variables for GET CURSOR ... FIELD and F1 help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... option (formatting option) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;You can modify the output of the field f by using one of the special formatting options. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3 &lt;/P&gt;&lt;P&gt;... fmt (output format by field) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Outputs the field with the specified output formats (color, intensity, ready for input, ...). &lt;/P&gt;&lt;P&gt;You can use the same output options as for FORMAT. If no specifications are made, the field is output with the standard formats or with the format set by a preceding FORMAT statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;DATA F. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORMAT INTENSIFIED OFF INPUT. &lt;/P&gt;&lt;P&gt;WRITE F INPUT OFF INVERSE COLOR 3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;The format specifications with WRITE apply only for output of the field f. They modify the currently valid format for this field. This means that, in the above example, the non-highlighted output remains for the field F. When f has been output, the system reverts to the old format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4 &lt;/P&gt;&lt;P&gt;... AS CHECKBOX (output as checkbox) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE - Output as checkbox &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Outputs the field f as a checkbox. The contents of the first character of f is interpreted as the "status": &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' ' = not selected &lt;/P&gt;&lt;P&gt;'X' = selected &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user can change this as required. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;To prevent the user changing the contents of the checkbox, you can use the addition ... INPUT OFF. The checkbox is then nothing more than a status display and can only be changed by programming. &lt;/P&gt;&lt;P&gt;In technical terms, a checkbox behaves exactly like an input field with a length of 1 ( FORMAT INPUT). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples &lt;/P&gt;&lt;P&gt;DATA: MARKFIELD(1) TYPE C VALUE 'X'. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;WRITE MARKFIELD AS CHECKBOX.           "checkbox selected &lt;/P&gt;&lt;P&gt;MARKFIELD = SPACE. &lt;/P&gt;&lt;P&gt;WRITE MARKFIELD AS CHECKBOX.           "deselected &lt;/P&gt;&lt;P&gt;WRITE MARKFIELD AS CHECKBOX INPUT OFF. "deselected, protected &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional help &lt;/P&gt;&lt;P&gt;List Creation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 5 &lt;/P&gt;&lt;P&gt;... AS SYMBOL (output as symbol) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE - Output as symbol &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;You can output certain characters as symbols using the addition ... AS SYMBOL. You should only address these characters with their system-defined names. The include &amp;lt;SYMBOL&amp;gt; (or the more comprehensive include &amp;lt;LIST&amp;gt;) contains the relevant identifiers as constants, e.g. SYM_PHONE, SYM_CIRCLE. (List of symbols, Proposals for use). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;INCLUDE . &lt;/P&gt;&lt;P&gt;WRITE: / SYM_RIGHT_HAND AS SYMBOL,    " output as symbol &lt;/P&gt;&lt;P&gt;         'Tip, Note', &lt;/P&gt;&lt;P&gt;         SYM_LEFT_HAND  AS SYMBOL.    " output as symbol &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;An output length of one character is enough for most symbols, but some (e.g. SYM_FAX) are twice as long. &lt;/P&gt;&lt;P&gt;You can determine the length of a symbol with DESCRIBE FIELD SYM_... OUTPUT-LENGTH ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional help &lt;/P&gt;&lt;P&gt;List Creation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 6 &lt;/P&gt;&lt;P&gt;... AS ICON (output as icon) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE - Output as icon &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;You can output certain characters as icons using the addition ...AS ICON. You should only address these characters with their system-defined names. The include &amp;lt;ICON&amp;gt; (or the more comprehensive include &amp;lt;LIST&amp;gt;) contains the relevant identifiers as constants, e.g. ICON_OKAY (see List of icons). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;INCLUDE . &lt;/P&gt;&lt;P&gt;WRITE: / ICON_OKAY AS ICON,         "output as icon &lt;/P&gt;&lt;P&gt;         'Text line'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Although an output length of 2 characters is enough for most icons, some (e.g. the traffic light icons ICON_RED_LIGHT, ...) have a greater output length. &lt;/P&gt;&lt;P&gt;You can determine the length of an icon with DESCRIBE FIELD ICON_... output length .... &lt;/P&gt;&lt;P&gt;You cannot print out all list icons. The printable icons are flagged as such in the 'list of icons' mentioned above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional help &lt;/P&gt;&lt;P&gt;List Creation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 7 &lt;/P&gt;&lt;P&gt;... AS LINE (output as line) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE - Output as line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;On list output, automatically links certain characters together to form continuous lines or boxes, if there is no space between them: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vertical lines, output with the system field SY-VLINE or using a field with the contents "|" (vertical line) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;horizontal lines, output with the system field SY-ULINE or using a field with at least 2 consecutive minus signs "--". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exactly how each line segment is output (e.g. whether as straight line, corner, T-piece or cross) depends on the adjoining characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good rule of thumb sipulates that if the cell adjacent to a line character also contains a line character, the missing piece required to form a connection is added. If an adjacent cell does not also contain a line character, the line character is truncated on that side. Line characters standing on their own remain unchanged. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This technique is sufficient to cope with most cases (e.g. tables, boxes, simple hierarchies). However, no matter how carefully you use some empty characters and lines, it is not possible to stop adjacent line characters being joined in an inappropriate way (e.g. very compact hierarchy diagrams, or densely boxes). The solution here is to output the required line segment explicitly using the addition ... AS LINE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The include &amp;lt;LINE&amp;gt; (or the more comprehensive include &amp;lt;LIST&amp;gt;) contains the relevant identifiers for lines as constants, e.g. LINE_TOP_LEFT_CORNER, LINE_BOTTOM_MIDDLE_CORNER. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Lines cannot have any other display attributes. If attributes such as color ( COLOR), reverse video (INVERSE) or intensified ( INTENSIFIED) are set, these are ignored on output. If the ready for input attribute ( INPUT) is set, the actual characters (minus sign, vertical line) are displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Output two nested corner segments: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ULINE /1(50). &lt;/P&gt;&lt;P&gt;WRITE: / SY-VLINE NO-GAP, LINE_TOP_LEFT_CORNER AS LINE. &lt;/P&gt;&lt;P&gt;ULINE 3(48). &lt;/P&gt;&lt;P&gt;WRITE: / SY-VLINE NO-GAP, SY-VLINE NO-GAP. &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;Additional help &lt;/P&gt;&lt;P&gt;List Creation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;General notes on outputting boxes to lists &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you output a list, this is sometimes combined with vertical and horizontal lines to form closed boxes: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vertical lines are output by the system field SY-VLINE or by a field containing "|" (vertical bar), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Horizontal lines are output by the system field SY-ULINE or by a field containing only "-" (minus sign), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vertical and horizontal lines converge (without gaps). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 8 &lt;/P&gt;&lt;P&gt;... QUICKINFO g &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The field f is displayed with the quick info g: Whenever the mouse pointer is positioned on the output area of f, the contents of g are displayed as an explanatory text on the list (in a small, differently-colored box). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;The quick info can be up to 40 characters long. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g must be a non-numeric field (data type C, N, D, or T). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick info is unsuitable for lines, input fields, or checkboxes. Its suitability is also limited for icons that are normally displayed in longer fields (the icon assignment may be inexact). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If two output fields overlap (for example, when one field is placed over another with the POSITION ... statement, the 'bottom' field may not have quick info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output length of f must be greater than zero ( f must actually be placed on the list) if you want to use the ... QUICKINFO addition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;INCLUDE . &lt;/P&gt;&lt;P&gt;DATA: INFO(20) VALUE 'Information'. &lt;/P&gt;&lt;P&gt;WRITE: / SY-UNAME QUICKINFO 'User name'. &lt;/P&gt;&lt;P&gt;WRITE: / ICON_INFORMATION AS ICON QUICKINFO info &lt;/P&gt;&lt;P&gt;                          HOTSPOT COLOR COL_POSITIVE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********&lt;STRONG&gt;please reward points if theinformation is helpful to you&lt;/STRONG&gt;***********&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 08:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-statements/m-p/2583428#M590910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T08:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: about statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-statements/m-p/2583429#M590911</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;If you place the / after : then it will be chained and each field is displayed in a new line.&lt;/P&gt;&lt;P&gt;Otherwise it will generate only one line break by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 08:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-statements/m-p/2583429#M590911</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-07-25T08:13:54Z</dc:date>
    </item>
  </channel>
</rss>

