<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BitacoraSapAbap</title>
	<atom:link href="http://bitacorasapabap.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bitacorasapabap.wordpress.com</link>
	<description>BitacoraSapAbap</description>
	<lastBuildDate>Sun, 30 Mar 2008 19:36:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='bitacorasapabap.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/8851d8075254457fd1bca3e5496378f7?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>BitacoraSapAbap</title>
		<link>http://bitacorasapabap.wordpress.com</link>
	</image>
			<item>
		<title>WRITE &#8211; Output to a variable (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-to-a-variable-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-to-a-variable-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:26 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/write-output-to-a-variable-glosario-ingles/</guid>
		<description><![CDATA[Variants
1. WRITE f TO g[+off][(len)].
2. WRITE f TO itab[+off][(len)] INDEX idx.
Variant 1
WRITE f TO g[+off][(len)].
Addition
… option
Effect
Assigns the contents of the
source field f to the target field g as a new value.
In contrast to MOVE , the format of the target field g
is the same as when outputting to a list with WRITE .
The field type [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=865&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Variants<br />
1. WRITE f TO g[+off][(len)].<br />
2. WRITE f TO itab[+off][(len)] INDEX idx.<br />
Variant 1<br />
WRITE f TO g[+off][(len)].<br />
Addition<br />
… option<br />
Effect<br />
Assigns the contents of the<br />
source field f to the target field g as a new value.<br />
In contrast to MOVE , the format of the target field g<br />
is the same as when outputting to a list with WRITE .<br />
The field type C is always used, regardless of the actual data type.<br />
As with list output, the settings in the user’s master record for decimal point<br />
(period or comma) and date format are taken into account.<br />
Other formatting options are also possible with list<br />
output.<br />
Instead of specifying a static source field f , you can make a dynamic source<br />
field specification (name) . In this case, the contents of the field name is<br />
interpreted as the source field name at runtime and the contents are formatted<br />
accordingly.<br />
You can identify the target field g more precisely by specifying the offset<br />
and/or length in the form g+off(len) . Both the offset and the length<br />
specifications off and len can also be dynamic.<br />
The return code value SY-SUBRC is undefined.<br />
Example<br />
WRITE … TO with dynamic source field specification and<br />
dynamic offset and length specification for the target field:<br />
DATA: NAME(5)  VALUE &#8216;FIELD&#8217;,<br />
      FIELD(5) VALUE &#8216;Harry&#8217;,<br />
      DEST(18) VALUE &#8216;Robert James Smith&#8217;,<br />
      OFF      TYPE I,<br />
      LEN      TYPE I.<br />
OFF = 7.<br />
LEN = 8.<br />
WRITE (NAME) TO DEST+OFF(LEN).<br />
The field DEST noew contains the value &#8221; Robert Harry<br />
ith &#8220;.<br />
Notes<br />
Only values between 0 and the length of the target field g are<br />
allowed as offset specifications. Any other offset specifications result in a<br />
runtime error.<br />
Only values &gt;= 0 are allowed as length specifications. Negative length<br />
specifications result in a runtime error. Excessive length specifications are<br />
automatically truncated.<br />
If you specify the field length as the offset or the value 0 as the length, the<br />
target field is blank. In this case, the statement has no effect.<br />
Addition<br />
… option<br />
Effect<br />
Modifies the output format with the aid of special formatting options .<br />
Variant 2<br />
WRITE f TO itab[+off][(len)] INDEX idx.<br />
Additions like variant 1.<br />
Effect<br />
Like variant 1, except that output is to the idx -th line of<br />
the internal table itab .<br />
Ayn offset and/or length specifications refer to the table line used for<br />
output.<br />
The return code value is set as follows:<br />
SY-SUBRC = 0 Valid index specification, i.e. the internal table itab contains a<br />
line with the index idx .<br />
SY_SUBRC = 4 Index specification is too large, i.e. the internal table itab<br />
contains fewer than idx entries.<br />
Note<br />
Invalid index specifications, i.e. idx &lt;= 0, result in a<br />
runtime error.<br />
Note<br />
Runtime errors<br />
WRITE_TO_LENGTH_NEGATIVE<br />
: Negative length specification in len .<br />
WRITE_TO_OFFSET_NEGATIVE :<br />
Negative offset specification in off .<br />
WRITE_TO_OFFSET_TOOLARGE :<br />
Offset specification in off is greater than field length.<br />
TABLE_INVALID_INDEX : Invalid<br />
index specification &lt;= 0<br />
in idx (variant 2 only).<br />
Related MOVE , WRITE</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/865/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/865/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/865/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=865&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-to-a-variable-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
		<item>
		<title>WRITE &#8211; Output as symbol (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-symbol-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-symbol-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:25 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-symbol-glosario-ingles/</guid>
		<description><![CDATA[Effect
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  (or the more comprehensive include
 ) contains the relevant identifiers as constants, e.g. SYM_PHONE ,
SYM_CIRCLE .
Example
INCLUDE .
WRITE: / SYM_RIGHT_HAND AS SYMBOL,    &#8221; output as symbol
         &#8216;Tip, Note&#8217;,
         SYM_LEFT_HAND  AS SYMBOL.    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=864&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Effect<br />
You can output certain characters as symbols using the<br />
addition … AS SYMBOL . You should only address these characters with their<br />
system-defined names. The include  (or the more comprehensive include<br />
 ) contains the relevant identifiers as constants, e.g. SYM_PHONE ,<br />
SYM_CIRCLE .<br />
Example<br />
INCLUDE .<br />
WRITE: / SYM_RIGHT_HAND AS SYMBOL,    &#8221; output as symbol<br />
         &#8216;Tip, Note&#8217;,<br />
         SYM_LEFT_HAND  AS SYMBOL.    &#8221; output as symbol<br />
Note<br />
An output length of one character is enough for most<br />
symbols, but some (e.g. SYM_FAX ) are twice as long.<br />
You can determine the length of a symbol with DESCRIBE<br />
FIELD SYM_… OUTPUT-LENGTH …<br />
Index<br />
© SAP AG 1996</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/864/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/864/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/864/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=864&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-symbol-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
		<item>
		<title>WRITE &#8211; Output formatting options (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-formatting-options-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-formatting-options-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:23 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/write-output-formatting-options-glosario-ingles/</guid>
		<description><![CDATA[Options
… NO-ZERO
… NO-SIGN
… DD/MM/YY
… MM/DD/YY
… DD/MM/YYYY
… MM/DD/YYYY
… DDMMYY
… MMDDYY
… YYMMDD
… CURRENCY w
… DECIMALS d
… ROUND r
… UNIT u
… EXPONENT e
… USING EDIT MASK mask
… USING NO EDIT MASK
… UNDER g (only with WRITE )
… NO-GAP (only with WRITE )
… LEFT-JUSTIFIED
… CENTERED
… RIGHT-JUSTIFIED
Note
The formatting options UNDER g and NO-GAP are intended only
output to lists and therefore [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=863&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Options<br />
… NO-ZERO<br />
… NO-SIGN<br />
… DD/MM/YY<br />
… MM/DD/YY<br />
… DD/MM/YYYY<br />
… MM/DD/YYYY<br />
… DDMMYY<br />
… MMDDYY<br />
… YYMMDD<br />
… CURRENCY w<br />
… DECIMALS d<br />
… ROUND r<br />
… UNIT u<br />
… EXPONENT e<br />
… USING EDIT MASK mask<br />
… USING NO EDIT MASK<br />
… UNDER g (only with WRITE )<br />
… NO-GAP (only with WRITE )<br />
… LEFT-JUSTIFIED<br />
… CENTERED<br />
… RIGHT-JUSTIFIED<br />
Note<br />
The formatting options UNDER g and NO-GAP are intended only<br />
output to lists and therefore cannot be used with WRITE<br />
… TO .<br />
Option<br />
… NO-ZERO<br />
Effect<br />
If the contents of f are equal to zero, only blanks are<br />
output; if f is of type C or N , leading zeros are replaced by blanks.<br />
Option<br />
… NO-SIGN<br />
Effect<br />
The leading sign is not output if f is of type I , P or F .<br />
Option<br />
… DD/MM/YY<br />
Option<br />
… MM/DD/YY<br />
Effect<br />
If f is a date field (type D ), the date is output with a<br />
2-character year as specified in the user’s master record. Both of these<br />
formatting options have the same value.<br />
Option<br />
… DD/MM/YYYY<br />
Option<br />
… MM/DD/YYYY<br />
Effect<br />
If f is a date field (type D ), the date is output with a<br />
4-character year as specified in the user’s master record. Both of these<br />
formatting options have the same value.<br />
Option<br />
… DDMMYY<br />
Option<br />
… MMDDYY<br />
Effect<br />
Date formatting like the additions … DD/MM/YY and …<br />
MM/DD/YY , but without separators.<br />
Option<br />
… YYMMDD<br />
Effect<br />
If f is a date field (type D ), the date is output in the<br />
format YYMMDD (YY = year, MM = month, DD = Day).<br />
Option<br />
… CURRENCY w<br />
Effect<br />
Correct format for currency specified in the field w .<br />
Treats the contents of f as a currency amount. The currency specified in w<br />
determines how many decimal places this amount should have.<br />
The contents of w are used as a currency key for the table TCURX ; if there is<br />
no entry for w , the system assumes that the currency amount has 2 decimal<br />
places.<br />
Option<br />
… DECIMALS d<br />
Effect<br />
d specifies the number of decimal places for a number field<br />
(type I , P or F ) in d . If this value is smaller than the number of decimal places<br />
in the number, the number is rounded. If the value is greater, the number is<br />
padded with zeros.<br />
Since accuracy with floating point arithmetic is up to about 15 decimal places<br />
(see ABAP/4 number types ), up to 17 digits are output with floating point<br />
numbers (type F ). (In some circumstances, 17 digits are needed to<br />
differentiate between two neighboring floating point numbers.) If the output<br />
length is not sufficient, as many decimal places as possible are output.<br />
Negative DECIMALS specifications are treated as DECIMALS 0 .<br />
Example<br />
Effect of different DECIMALS specifications:<br />
DATA: X TYPE P DECIMALS 3 VALUE &#8216;1.267&#8242;,<br />
      Y TYPE F            VALUE &#8216;125.456E2&#8242;.<br />
WRITE: /X DECIMALS 0,  &#8220;output: 1<br />
       /X DECIMALS 2,  &#8220;output: 1.27<br />
       /X DECIMALS 5,  &#8220;output: 1.26700<br />
       /Y DECIMALS 1,  &#8220;output: 1.3E+04<br />
       /Y DECIMALS 5,  &#8220;output: 1.25456E+04<br />
       /Y DECIMALS 20. &#8220;output: 1.25456000000000E+04<br />
Option<br />
… ROUND r<br />
Effect<br />
Scaled output of a field of type P .<br />
The decimal point is first moved r places to the left ( r &gt; 0) or to the<br />
right ( r &lt; 0); this is the same as dividing with the appropriate exponent<br />
10** r . The value determined in this way is output with the valid number of<br />
digits before and after the decimal point. If the decimal point is moved to the<br />
left, the number is rounded.<br />
For further information about the interaction between the formatting options<br />
CURRENCY and DECIMALS , see the notes below.<br />
&amp;ABAP-EXAMPLE&amp; Effect of different ROUND specifications:<br />
DATA: X TYPE P DECIMALS 2 VALUE &#8216;12493.97&#8242;.<br />
WRITE: /X ROUND -2,   &#8220;output: 1,249,397.00<br />
       /X ROUND  0,   &#8220;output:    12,493,97<br />
       /X ROUND  2,   &#8220;output:       124.94<br />
       /X ROUND  5,   &#8220;output:         0.12<br />
Option<br />
… UNIT u<br />
Effect<br />
Formats a value according to the unit specified in the field<br />
u .<br />
The contents of f are treated as a quantity. The unit specified in u determines<br />
how many decimal places should be output.<br />
If f has more places after the decimal point than determined in u , the output<br />
value will only have the number of decimal places determined by u , unless the<br />
operation truncates digits other than zero.<br />
If f has fewer places after the decimal point than determined by u , the option<br />
has no effect.<br />
The contents of u are used as a unit in the table T006 , but if there is no<br />
entry, the formatting option has no effect.<br />
The field f which is to be output must have the type P . This option is used<br />
for table fields which have the Dictionary type QUAN , or for fields defined<br />
with reference to such fields (DATA … LIKE … ).<br />
This formatting option excludes the options DECIMALS and ROUND .<br />
Example<br />
Suppose the unit ‘STD’ has 3 decimals<br />
DATA HOUR TYPE P DECIMALS 3 VALUE &#8216;1.200&#8242;.<br />
WRITE (6) HOUR UNIT &#8216;STD&#8217;. &#8220;output:   1,2<br />
HOUR = &#8216;1.230&#8242;.<br />
WRITE (6) HOUR UNIT &#8216;STD&#8217;. &#8220;output: 1,230<br />
Option<br />
… EXPONENT e<br />
Effect<br />
The field e defines a fixed exponent for a floating point<br />
number (type F ). The mantissa is adjusted to the exponent by moving the<br />
decimal point and padding with zeros. With EXPONENT 0 , the exponent<br />
specification is suppressed.<br />
However, if the output length is too short to accommodate all digits before the<br />
decimal point, the standard output format is used.<br />
Example<br />
Effect of different EXPONENT specifications:<br />
DATA: X TYPE P VALUE &#8216;123456789E2&#8242;.<br />
WRITE: /X     EXPONENT 0,    &#8220;output:     12345678900,000000<br />
       /X(10) EXPONENT 0,    &#8220;output:  1,235E+10<br />
       /X     EXPONENT 3,    &#8220;output:  12345678,90000000E+03<br />
       /Y     EXPONENT -3,   &#8220;output:  12345678900000,00E-03<br />
       /Y     EXPONENT 9,    &#8220;output:  12,34567890000000E+09<br />
       /Y     EXPONENT 2<br />
       /Y     DECIMALS 4.    &#8220;output:     123456789,0000E+02<br />
Option<br />
… USING EDIT MASK mask<br />
Effect<br />
Outputs f according to the formatting template mask .<br />
Without this addition, f is output in the standard format for that particular<br />
type or with a format defined in the ABAP/4 Dictionary . The addition allows<br />
you to define a different format.<br />
You can specify the formatting template as follows:<br />
‘_’<br />
represents one character of the field f<br />
or one digit with type P or I<br />
‘V’<br />
only with fields of type P or I :<br />
output of leading sign<br />
‘LL’<br />
at beginning of template:<br />
left<br />
justify (standard)<br />
‘RR’<br />
at beginning of template:<br />
right<br />
justify<br />
‘==conv’<br />
perform output conversion conv<br />
‘:’,<br />
… separator<br />
(all<br />
other characters)<br />
When formatting, the characters ‘_’ in the template are replaced from the left<br />
( ‘LL’ ) or from the right ( ‘RR’ ) by the characters or digits (type P or I )<br />
of the field f .<br />
Notes<br />
When using a template, you must specify the an explicit<br />
output length because otherwise the implicit output length of the field f is<br />
used. Usually, the template is longer than the implicit output length.<br />
If the leading sign is to be output with a field of type P or I , you must<br />
specify the wildcard character V at the desired place. If this character does<br />
not appear in the template, no leading sign will be output if the value of f is<br />
negative.<br />
When formatting a field of type P with decimal places, the value is not aligned<br />
with a character in the template representing the decimal point (either a<br />
period or a comma). If you want to have this character in the output, you must<br />
insert it in the correct position in the template and define the formatting<br />
from the right. If there is no character for the decimal point in the template,<br />
no such character is output.<br />
Fields of type F are first converted to the standard format and the resulting<br />
sequence is then copied to the template in the case of a field of type C .<br />
You implement the user-specific conversion conv with a function module called<br />
CONVERSION_EXIT_conv_OUTPUT , e.g. COONVERSION_EXIT_ALPHA_OUTPUT for the<br />
conversion of numeric values with leading zeros to a format without leading<br />
zeros for type C fields. If a Dictionary field is output and the domain of that<br />
field defines a conversion routine, this is executed automatically. For a<br />
description of the conversion, refer to the documentation of the appropriate<br />
function module.<br />
Example<br />
Formatted output of the time:<br />
DATA TIME TYPE T VALUE &#8216;154633&#8242;.<br />
WRITE (8) TIME USING EDIT MASK &#8216;__:__:__&#8217;.  &#8220;Output: 15:46:33<br />
If the output length &#8221; (8) &#8221; was not specified here, the output would<br />
be &#8221; 15:46: &#8221; because the implicit output length for the type T is 6.<br />
Option<br />
… USING NO EDIT MASK<br />
Effect<br />
Switches off a conversion routine specified in the ABAP/4<br />
Dictionary .<br />
Option<br />
… UNDER g<br />
Effect<br />
Output of the field f begins at the column from which the<br />
field g was output. If this happens in the same output line, the output of the<br />
field g is overwritten.<br />
Note<br />
After UNDER , the field g must be written exactly as the<br />
reference field in the previous WRITE statement, i.e. with an offset and length<br />
if necessary. The exception to this rule is if g is a text symbol. In this<br />
case, the reference field is determined by the number of the text symbol (not<br />
by the text stored there).<br />
Example<br />
Align output to the reference fields:<br />
FIELD-SYMBOLS .<br />
ASSIGN &#8216;First Name&#8217; TO .<br />
WRITE: /3 &#8216;Name&#8217;(001), 15 , 30 &#8216;RoomNo&#8217;, 40 &#8216;Age&#8217;(002).<br />
&#8230;<br />
WRITE: /   &#8216;Peterson&#8217; UNDER &#8216;Name&#8217;(001),<br />
           &#8216;Ron&#8217;      UNDER ,<br />
           &#8216;5.1&#8242;      UNDER &#8216;RoomNo&#8217;,<br />
       (5) 24         UNDER TEXT-002.<br />
This produces the following output (numbers appear right-justified in their<br />
output fields!):<br />
Name First Name RoomNo Age<br />
Peterson Ron 5.1 24<br />
Option<br />
… NO-GAP<br />
Effect<br />
Suppresses the blank after the field f . Fields output one after<br />
the other are then displayed without gaps.<br />
Example<br />
Output<br />
several literals without gaps:<br />
WRITE: &#8216;A&#8217; NO-GAP, &#8216;B&#8217; NO-GAP, &#8216;C&#8217;.  &#8220;Output: ABC<br />
If NO-GAP was not specified here, the output would have been &#8221; A B C<br />
&#8221; because one blank is always implicitly generated between consecutive<br />
output fields.<br />
Option<br />
… LEFT-JUSTIFIED<br />
… CENTERED<br />
… RIGHT-JUSTIFIED<br />
Effect<br />
Left-justified, centered or right-justified output.<br />
For number fields (types I , P and F ), RIGHT-JUSTIFIED is the standard output<br />
format, but LEFT-JUSTIFIED is used for all other types, as well as for<br />
templates.<br />
Examples<br />
Output to a list ( WRITE ):<br />
DATA: FIELD(10) VALUE &#8216;abcde&#8217;.<br />
  WRITE: / &#8216;|&#8217; NO-GAP, FIELD LEFT-JUSTIFIED  NO-GAP, &#8216;|&#8217;,<br />
         / &#8216;|&#8217; NO-GAP, FIELD CENTERED        NO-GAP, &#8216;|&#8217;,<br />
         / &#8216;|&#8217; NO-GAP, FIELD RIGHT-JUSTIFIED NO-GAP, &#8216;|&#8217;.<br />
* Output: |abcde     |<br />
*         |  abcde   |<br />
*         |     abcde|<br />
Formatting in a program field ( WRITE…TO… )<br />
DATA: TARGET_FIELD1(10),<br />
      TARGET_FIELD2 LIKE TARGET-FIELD1,<br />
      TARGET_FIELD3 LIKE TARGET-FIELD1.<br />
WRITE: &#8216;123&#8242; LEFT-JUSTIFIED  TO TARGET-FIELD1,<br />
      &#8217;456&#8242; CENTERED        TO TARGET-FIELD2,<br />
       &#8216;789&#8242; RIGHT-JUSTIFIED TO TARGET-FIELD3.<br />
  WRITE: / &#8216;|&#8217; NO-GAP, TARGET_FIELD1 NO-GAP, &#8216;|&#8217;,<br />
         / &#8216;|&#8217; NO-GAP, TARGET-FIELD2 NO-GAP, &#8216;|&#8217;,<br />
         / &#8216;|&#8217; NO-GAP, TARGET_FIELD3 NO-GAP, &#8216;|&#8217;.<br />
* Output: |123       |<br />
*         |   456    |<br />
*         |       789|<br />
Notes<br />
Specifying several formatting options<br />
You can use the additions of the first group ( NO-ZERO , NO-SIGN , DD/MM/YY<br />
etc., CURRENCY , DECIMALS , ROUND , EXPONENT ) simultaneously, provided it<br />
makes sense. You can combine the additions UNDER and NO-GAP with all other<br />
additions in any permutation; however, they are not taken into account until<br />
the field f has been formatted according to all the other options.<br />
Templates, conversion routines and alignment<br />
If you want to format a field using a special conversion routine , all the<br />
other additions (apart from UNDER and NO-GAP ) are ignored. This also applies<br />
if the conversion routine is not explicitly specified, but comes from the<br />
ABAP/4 Dictionary .<br />
If you want to format a field using a template , the system first takes into<br />
account the options of the first group, and then places the result in the<br />
template. However, if you specify one of the date-related formatting options (<br />
DD/MM/YY etc.), the template is ignored.<br />
Finally, the formatted field or the template is copied to the target field<br />
according to the requested alignment . For type C fields, it is the occupied<br />
length that is relevant, not the defined length; this means that trailing<br />
blanks are not taken into account.<br />
Combined usage of CURRENCY , DECIMALS and ROUND<br />
The rounding factor (from the right) in<br />
WRITE price CURRENCY c ROUND r DECIMALS d<br />
results from the formula<br />
rounding factor = c + r &#8211; d .<br />
If DECIMALS is not specified, d = c applies.<br />
You read this formula in the following manner:<br />
The field price is supposed to be of ABAP/4 type P (or I ); it contains a<br />
currency amount. The CURRENCY specification expresses how many decimal places<br />
price is to have and may differ from the definition of price (the decimal point<br />
is not stored internally, but comes from the type attributes of price ).<br />
Normally, price is output with as many decimal places as the field has<br />
internally according to the type attributes or the CURRENCY specification. You<br />
can override this number of output decimal places with DECIMALS . The addition<br />
ROUND addition moves the decimal point r places to the left, if r is positive,<br />
otherwise to the right. This means that a $ amount is output with ROUND 3 in the unit 1000 $.<br />
According to the above formula, there can also be a &#8220;negative&#8221;<br />
rounding factor; then, the corresponding number of zeros is appended to the amount<br />
price on the right using the &#8220;rounding factor&#8221;. However, the value of<br />
&#8220;rounding factor&#8221; must be at least equal to -14.<br />
Currency fields and DATA with DECIMALS<br />
If the field price is normally formatted with decimal places (e.g. fields for<br />
currency amounts), these are treated like a CURRENCY specification when<br />
rounding, if CURRENCY was not expressly specified.<br />
If present, the DECIMALS specification defines how many decimal places are to<br />
be output after rounding.<br />
If the DECIMALS and the (explicit or implicit) CURRENCY specifications are<br />
different, rounding takes place according to the above formula, even if no<br />
ROUND specification was made (i.e. r = 0).<br />
If a field in the DATA statement was declared with<br />
DECIMALS n , WRITE treats it like a currency field with n decimal places.<br />
Examples<br />
Sales in pfennigs or lira: 246260<br />
Unit TDM or TLira with 1 decimal place.<br />
DATA SALES TYPE P VALUE 246260.<br />
WRITE SALES CURRENCY &#8216;DEM&#8217; ROUND 3 DECIMALS 1. &#8220;    2,5  TDM<br />
WRITE SALES CURRENCY ‘ITL’ ROUND 3 DECIMALS 1. &#8220;  246,3  TLira<br />
Sales in pfennigs or lira: 99990<br />
Unit TDM or TLira with 1 decimal place.<br />
SALES = 99990.<br />
WRITE SALES CURRENCY ‘DEM’ ROUND 3 DECIMALS 1. &#8220;   1,0  TDM<br />
WRITE SALES CURRENCY ‘ITL’ ROUND 3 DECIMALS 1. &#8221; 100,0  TLira<br />
Sales in pfennigs or lira: 93860<br />
Unit 100 DM or 100 lira with 2 decimal places:<br />
SALES = 93860.<br />
WRITE SALES CURRENCY ‘DEM’ ROUND 2 DECIMALS 2. &#8220;   9,38 HDM<br />
WRITE SALES CURRENCY ‘ITL’ ROUND 2 DECIMALS 2. &#8221; 938,60 HLira<br />
Sales in pfennigs: 93840<br />
Unit 1 DM without decimal places.<br />
SALES = 93860<br />
WRITE SALES CURRENCY ‘DEM’         DECIMALS 0. &#8221; 938    DM<br />
Sales in pfennigs: 93860<br />
Unit 1 DM without decimal places.<br />
SALES = 93860.<br />
WRITE SALES CURRENCY &#8216;DEM&#8217;         DECIMALS 0. &#8221; 939    DM<br />
Note<br />
Runtime errors<br />
WRITE_CURRENCY_ILLEGAL_TYPE<br />
: CURRENCY parameter with WRITE is not type C<br />
WRITE_ROUND_TOO_SMALL<br />
: Rounding parameter is less than -14<br />
WRITE_UNIT-ILLEGAL_TYPE<br />
: UNIT parameter with WRITE is not type C<br />
Index<br />
© SAP<br />
AG 1996</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/863/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/863/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/863/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/863/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/863/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=863&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-formatting-options-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
		<item>
		<title>WRITE &#8211; Output as line (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-line-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-line-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:22 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-line-glosario-ingles/</guid>
		<description><![CDATA[Effect
On list output, automatically links certain characters together
to form continuous lines or boxes, if there is no space between them:
vertical
lines, output with the system field SY-VLINE or using a field with the
contents &#8221; &#124; &#8221; (vertical line)
horizontal
lines, output with the system field SY-ULINE or using a field with at
least 2 consecutive minus signs &#8221; — [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=862&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Effect<br />
On list output, automatically links certain characters together<br />
to form continuous lines or boxes, if there is no space between them:<br />
vertical<br />
lines, output with the system field SY-VLINE or using a field with the<br />
contents &#8221; | &#8221; (vertical line)<br />
horizontal<br />
lines, output with the system field SY-ULINE or using a field with at<br />
least 2 consecutive minus signs &#8221; — &#8220;.<br />
Exactly how each line segment is output (e.g. whether as straight line, corner,<br />
T-piece or cross) depends on the adjoining characters.<br />
A good rule of thumb sipulates that if the cell adjacent to a line character<br />
also contains a line character, the missing piece required to form a connection<br />
is added. If an adjacent cell does not also contain a line character, the line<br />
character is truncated on that side. Line characters standing on their own remain<br />
unchanged.<br />
This technique is sufficient to cope with most cases (e.g. tables, boxes,<br />
simple hierarchies). However, no matter how carefully you use some empty<br />
characters and lines, it is not possible to stop adjacent line characters being<br />
joined in an inappropriate way (e.g. very compact hierarchy diagrams, or<br />
densely boxes). The solution here is to output the required line segment<br />
explicitly using the addition … AS LINE .<br />
The include  (or the more comprehensive include  )<br />
contains the relevant identifiers for lines as constants, e.g.<br />
LINE_TOP_LEFT_CORNER , LINE_BOTTOM_MIDDLE_CORNER .<br />
Note<br />
Lines cannot have any other display attributes. If<br />
attributes such as color ( COLOR ), reverse video ( INVERSE ) or intensified (<br />
INTENSIFIED ) are set, these are ignored on output. If the ready for input<br />
attribute ( INPUT ) is set, the actual characters (minus sign, vertical line)<br />
are displayed.<br />
Example<br />
Output two nested corner segments:<br />
INCLUDE .<br />
ULINE /1(50).<br />
WRITE: / SY-VLINE NO-GAP, LINE_TOP_LEFT_CORNER AS LINE.<br />
ULINE 3(48).<br />
WRITE: / SY-VLINE NO-GAP, SY-VLINE NO-GAP.<br />
Index<br />
© SAP AG 1996</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/862/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/862/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/862/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=862&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-line-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
		<item>
		<title>WRITE &#8211; Output as icon (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-icon-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-icon-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:21 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-icon-glosario-ingles/</guid>
		<description><![CDATA[Effect
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  (or the more comprehensive
include  ) contains the relevant identifiers as constants, e.g.
ICON_OKAY (see List of icons ).
Example
INCLUDE .
WRITE: / ICON_OKAY AS ICON,         &#8220;output as icon
         &#8216;Text line&#8217;.
Note
Although an output length [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=861&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Effect<br />
You can output certain characters as icons using the<br />
addition …AS ICON . You should only address these characters with their<br />
system-defined names. The include  (or the more comprehensive<br />
include  ) contains the relevant identifiers as constants, e.g.<br />
ICON_OKAY (see List of icons ).<br />
Example<br />
INCLUDE .<br />
WRITE: / ICON_OKAY AS ICON,         &#8220;output as icon<br />
         &#8216;Text line&#8217;.<br />
Note<br />
Although an output length of 2 characters is enough for most<br />
icons, some (e.g. the traffic light icons ICON_RED_LIGHT , …) have a greater<br />
output length.<br />
You can determine the length of an icon with DESCRIBE<br />
FIELD ICON_… output length … .<br />
You cannot print out all list icons. The printable icons are flagged as such in<br />
the ‘list of icons’ mentioned above.<br />
Index<br />
© SAP AG 1996</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/861/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/861/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/861/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=861&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-icon-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
		<item>
		<title>WRITE &#8211; Output as checkbox (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-checkbox-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-checkbox-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:21 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-checkbox-glosario-ingles/</guid>
		<description><![CDATA[Effect
Outputs the field f as a checkbox. The contents of the first
character of f is interpreted as the &#8220;status&#8221;:
‘ ‘ = not selected
‘X’ = selected
The user can change this as required.
Note
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 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=860&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Effect<br />
Outputs the field f as a checkbox. The contents of the first<br />
character of f is interpreted as the &#8220;status&#8221;:<br />
‘ ‘ = not selected<br />
‘X’ = selected<br />
The user can change this as required.<br />
Note<br />
To prevent the user changing the contents of the checkbox,<br />
you can use the addition … INPUT OFF . The checkbox is then nothing more than<br />
a status display and can only be changed by programming.<br />
In technical terms, a checkbox behaves exactly like an input field with a<br />
length of 1 (FORMAT INPUT ).<br />
Examples<br />
DATA: MARKFIELD(1) TYPE C VALUE &#8216;X&#8217;.<br />
&#8230;<br />
WRITE MARKFIELD AS CHECKBOX.           &#8220;checkbox selected<br />
MARKFIELD = SPACE.<br />
WRITE MARKFIELD AS CHECKBOX.           &#8220;deselected<br />
WRITE MARKFIELD AS CHECKBOX INPUT OFF. &#8220;deselected, protected<br />
Index<br />
© SAP AG 1996</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/860/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/860/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/860/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=860&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-as-checkbox-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
		<item>
		<title>WRITE &#8211; Output to a list (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-to-a-list-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-to-a-list-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:20 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/write-output-to-a-list-glosario-ingles/</guid>
		<description><![CDATA[Basic form
WRITE f.
Additions
1. … AT pl (position and length specification,
before the field)
2. … option (formatting option)
3. … ofmt (output format by field)
4. … AS CHECKBOX (output as checkbox)
5. … AS SYMBOL (output as symbol)
6. … AS ICON (output as icon)
7. … AS LINE (output as line)
Effect
Outputs the field f in the correct format for its [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=859&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Basic form<br />
WRITE f.<br />
Additions<br />
1. … AT pl (position and length specification,<br />
before the field)<br />
2. … option (formatting option)<br />
3. … ofmt (output format by field)<br />
4. … AS CHECKBOX (output as checkbox)<br />
5. … AS SYMBOL (output as symbol)<br />
6. … AS ICON (output as icon)<br />
7. … AS LINE (output as line)<br />
Effect<br />
Outputs the field f in the correct format for its type to<br />
the current list. The field f can be:<br />
a<br />
field declared by DATA ,<br />
a<br />
component of a structure declared by TABLES ,<br />
a<br />
field symbol (FIELD-SYMBOLS ),<br />
a<br />
text literal which is not language-specific<br />
a<br />
language-specific text literal (text symbol).<br />
Examples<br />
TABLES SPFLI.<br />
DATA N TYPE I VALUE 123.<br />
&#8230;<br />
WRITE N.<br />
WRITE SPFLI-FLTIME.<br />
FIELD-SYMBOLS .<br />
ASSIGN ‘NEW YORK’ TO .<br />
WRITE .<br />
WRITE: ‘—-&gt;’, SPFLI-DISTANCE.<br />
WRITE: TEXT-001, SPFLI-ARRTIME.<br />
or<br />
WRITE: &#8216;Time:&#8217;(001), SPFLI-ARRTIME.<br />
Text symbols can be addressed in two different ways (TEXT-001 or’Time:’(001)) .<br />
Notes<br />
If no explicit position is specified for a field on a new<br />
line, it is output on the left (in column 1). Otherwise, output is one column<br />
removed from the previously output field. If a field does not fit on one line,<br />
a new line is started.<br />
You can perform explicit positioning with a position and length specification<br />
(see addition 1) or with ABAP/4 statements (e.g. POSITION<br />
). In this case, the field is always output at the defined position, even if<br />
the line is not quite long enough for it to fit completely.<br />
If a field is too long to fit completely on the line, the excess characters are<br />
truncated.<br />
Each field occupies a number of characters in the list. If this number is not<br />
explicitly defined (see addition 1), the system uses a type-specific standard<br />
length or the output length specified in the ABAP/4 Dictionary .<br />
Type-specific output: (len = field length)<br />
Type<br />
length<br />
C<br />
D<br />
F<br />
I<br />
N<br />
P<br />
T<br />
X<br />
Number fields (types P , I and F ) are always output<br />
right-justified, but all other types are left-justified; if required, blanks are<br />
used for padding. With number fields, leading zeros are replaced by blanks. If<br />
there is enough space, types P and I have thousands separators. To accommodate<br />
the decimal point, the output length of type P fields is 1 byte longer.<br />
Addition 1<br />
WRITE AT pl (position and length<br />
specification before the field)<br />
Effect<br />
You can use the position and length specification pl to<br />
define the precise output position and length of a field. The specification<br />
consists of:<br />
/ New line<br />
c Output position (1-3 character number or variable)<br />
(l) Output length (1-3 character number or variable)<br />
Combinations are possible.<br />
Examples<br />
DATA: WORD(16), VALUE &#8216;0123456789ABCDEF&#8217;,<br />
      COL TYPE I VALUE 5,<br />
      LEN TYPE I VALUE 10.<br />
WRITE AT / WORD.          &#8220;new line<br />
WRITE AT 5 WORD.          &#8220;column 5<br />
WRITE AT (10) WORD.       &#8221;output length 10<br />
WRITE AT /5(10) WORD.     &#8220;new line, column 5, length 10<br />
WRITE AT COL WORD.        &#8220;column = contents of COL<br />
WRITE AT (LEN) WORD.      &#8220;output length = contents of LEN<br />
WRITE AT /COL(LEN) WORD.  &#8220;new line, column = contents of COL<br />
                          &#8221;output length = contents of LEN<br />
Note<br />
The position and length specification must appear before the<br />
field. If the position and length specification contains only constants, you<br />
the introductory AT is unnecessary. (In the first four of the above examples,<br />
you can therefore omit AT .) Always write the position and length specification<br />
without gaps and in the specified order. Leave at least one space between the<br />
position and length specification and the field name. For dynamic positioning,<br />
see also POSITION . No output results from<br />
positioning to the right of the far right edge of the page. With explicit<br />
column specifications, the field is output from this column, even if it no<br />
longer completely fits on the line or overwrites another field. If the output<br />
length is too short, number fields (types P , I and F are prefixed with an<br />
asterisk (’*&#8217;), while all other types are truncated on the right. If you want<br />
the abbreviated output of a variable, you should always use WRITE (10)<br />
T100-TEXT rather than WRITE T100-TEXT(10) (sub-field access).<br />
On the one hand, the first form is always allowed and the second form can be<br />
forbidden for certain data types (e.g. TYPE P ). On the other hand, only the<br />
first form guarantees the identity of the variables for GET<br />
CURSOR … FIELD and F1 help.<br />
Addition 2<br />
… option (formatting option)<br />
Effect<br />
You can modify the output of the field f by using one of the<br />
special formatting options .<br />
Addition 3<br />
… ofmt (output format by field)<br />
Effect<br />
Outputs the field with the specified output formats (color,<br />
intensity, ready for input, …).<br />
You can use the same output options as for FORMAT . If<br />
no specifications are made, the field is output with the standard formats or<br />
with the format set by a preceding FORMAT statement.<br />
Example<br />
DATA F.<br />
FORMAT INTENSIFIED OFF INPUT.<br />
WRITE F INPUT OFF INVERSE COLOR 3.<br />
Note<br />
The format specifications with WRITE apply only for output<br />
of the field f . They modify the currently valid format for this field. This<br />
means that, in the above example, the non-highlighted output remains for the<br />
field F . When f has been output, the system reverts to the old format.<br />
Addition 4<br />
… AS CHECKBOX (output as<br />
checkbox)<br />
Addition 5<br />
… AS SYMBOL (output as<br />
symbol)<br />
Addition 6<br />
… AS ICON (output as icon)<br />
Addition 7<br />
… AS LINE (output as line)<br />
Note<br />
General notes on outputting boxes to lists<br />
When you output a list, this is sometimes combined with vertical and horizontal<br />
lines to form closed boxes:<br />
Vertical<br />
lines are output by the system field SY-VLINE or by a field containing<br />
&#8221; | &#8221; (vertical bar),<br />
Horizontal<br />
lines are output by the system field SY-ULINE or by a field containing<br />
only &#8221; &#8211; &#8221; (minus sign),<br />
Vertical<br />
and horizontal lines converge (without gaps).<br />
Index<br />
© SAP AG 1996</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/859/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/859/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/859/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=859&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/write-output-to-a-list-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
		<item>
		<title>WRITE (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/write-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/write-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:19 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/write-glosario-ingles/</guid>
		<description><![CDATA[Output to a list
- WRITE f.
Output to a field or internal table
- WRITE f TO g.
- WRITE f TO itab INDEX idx.
Index
© SAP AG 1996
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=858&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Output to a list<br />
- WRITE f.<br />
Output to a field or internal table<br />
- WRITE f TO g.<br />
- WRITE f TO itab INDEX idx.<br />
Index<br />
© SAP AG 1996</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/858/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/858/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/858/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/858/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/858/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=858&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/write-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
		<item>
		<title>WINDOW (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/window-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/window-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:18 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/window-glosario-ingles/</guid>
		<description><![CDATA[Basic form
WINDOW STARTING AT x1 y1.
Addition
… ENDING AT x2 y2
Effect
Displays the current secondary list as a modal dialog box (see
CALL SCREEN ). The same rules apply as for
displaying a list on the full screen, i.e. the page size corresponds to the
window size.
The left upper edge of the window appears at column x1 and line y1 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=857&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Basic form<br />
WINDOW STARTING AT x1 y1.<br />
Addition<br />
… ENDING AT x2 y2<br />
Effect<br />
Displays the current secondary list as a modal dialog box (see<br />
CALL SCREEN ). The same rules apply as for<br />
displaying a list on the full screen, i.e. the page size corresponds to the<br />
window size.<br />
The left upper edge of the window appears at column x1 and line y1 . If you do<br />
not specify the addition ENDING AT , the position of the right lower edge<br />
corresponds to the coordinates of the current screen.<br />
You can use variables to specify the coordinates.<br />
All the functions for secondary lists are supported. These include:<br />
Scrolling<br />
in the window.<br />
Hiding<br />
field contents (see HIDE ).<br />
Line<br />
selection in the window (see AT LINE-SELECTION<br />
, …)<br />
Set<br />
the window title (see SET TITLEBAR )<br />
Addition<br />
… ENDING AT x2 y2<br />
Effect<br />
Positions the right lower edge of the window in column x2<br />
and line y2 .<br />
You can use variables to specify the coordinates.<br />
Example<br />
Define a<br />
window covering columns 1 to 79 and lines 15 to 23:<br />
WINDOW STARTING AT 1  15<br />
       ENDING   AT 79 23.<br />
WRITE &#8216;Text&#8217;.<br />
Note<br />
Inserts a window on the normal screen .<br />
You can insert the windows described above only within the context of list<br />
processing, i.e. not until after an interactive event (see AT LINE-SELECTION ).<br />
You can use the technique shown in the example below to insert a window<br />
containing a list during a dialog (see CALL SCREEN<br />
).<br />
Example<br />
Display a list as a modal dialog box:<br />
CALL SCREEN 100.     &#8220;Screen of modal dialog box type<br />
*    STARTING AT 10 10  &#8220;&#8230; can be started as<br />
*    ENDING   at 60 15. &#8220;&#8230; separate window with<br />
*                       &#8220;&#8230; these additions<br />
In the flow logic of the screen 100, the processing branches to list processing<br />
in the PBO ( Process Before Output ) module (see LEAVE<br />
TO LIST-PROCESSING ).<br />
Flow logic:<br />
PROCESS BEFORE OUTPUT.<br />
MODULE LIST.<br />
Program:<br />
MODULE LIST OUTPUT.<br />
  LEAVE TO LIST-PROCESSING.<br />
*    AND RETURN TO SCREEN 0. &#8220;Alternative to LEAVE SCREEN<br />
*                            &#8220;at end<br />
PERFORM OUTPUT. &#8220;Output list<br />
  LEAVE SCREEN.<br />
ENDMODULE.<br />
Index<br />
© SAP AG 1996</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/857/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/857/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/857/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=857&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/window-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
		<item>
		<title>WHILE (glosario ingles)</title>
		<link>http://bitacorasapabap.wordpress.com/2008/03/30/while-glosario-ingles/</link>
		<comments>http://bitacorasapabap.wordpress.com/2008/03/30/while-glosario-ingles/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:36:17 +0000</pubDate>
		<dc:creator>bitacorasapabap</dc:creator>
				<category><![CDATA[abap : glosario]]></category>

		<guid isPermaLink="false">http://bitacorasapabap.wordpress.com/2008/03/30/while-glosario-ingles/</guid>
		<description><![CDATA[Basic form
WHILE logexp.
Addition
… VARY f FROM f1 NEXT f2.
Effect
Repeats the processing enclosed between the WHILE and ENDWHILE
statements as long as the logical expression logexp is true.
Checks the condition before each loop pass. If it is no longer true, processing
resumes after ENDWHILE .
You can use the CONTINUE statement to leave the current
loop pass prematurely and skip [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=856&subd=bitacorasapabap&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Basic form<br />
WHILE logexp.<br />
Addition<br />
… VARY f FROM f1 NEXT f2.<br />
Effect<br />
Repeats the processing enclosed between the WHILE and ENDWHILE<br />
statements as long as the logical expression logexp is true.<br />
Checks the condition before each loop pass. If it is no longer true, processing<br />
resumes after ENDWHILE .<br />
You can use the CONTINUE statement to leave the current<br />
loop pass prematurely and skip to the next loop pass.<br />
Example<br />
DATA: SEARCH_ME TYPE I,<br />
      MIN       TYPE I VALUE 0,<br />
      MAX       TYPE I VALUE 1000,<br />
      TRIES     TYPE I,<br />
      NUMBER    TYPE I.<br />
SEARCH_ME = 23.<br />
WHILE NUMBER  SEARCH_ME.<br />
  ADD 1 TO TRIES.<br />
  NUMBER = ( MIN + MAX ) / 2.<br />
  IF NUMBER &gt; SEARCH_ME.<br />
    MAX = NUMBER &#8211; 1.<br />
  ELSE.<br />
    MIN = NUMBER + 1.<br />
  ENDIF.<br />
ENDWHILE.<br />
The above code performs a (binary) search for the &#8220;unknown&#8221; number<br />
SEARCH_ME which lies between MIN and MAX . TRIES contains the number of<br />
attempts needed to find it.<br />
Notes<br />
WHILE loops can be nested any number of times within<br />
themselves and other loops.<br />
The termination condition and the processing you want to perform in the loop<br />
should be well thought out beforehand, so as to avoid the occurrence of endless<br />
loops.<br />
Addition<br />
… VARY f FROM f1 NEXT f2.<br />
Effect<br />
Varies the value of the field f during loop processing.<br />
At the start of each loop pass, f receives a new value. During the first loop<br />
pass, f has the value of the field f1 ; on the second loop pass, it has the<br />
value of the field f2 , and so on.<br />
The difference between the fields f1 and f2 determines the size of the step<br />
varying the value of the variable f in all subsequent loop passes, i.e. it is<br />
important that the fields you want to process within the loop have the same<br />
distance between each other in memory (see also DO VARYING<br />
).<br />
If the value of f changes when processing passes through the loop, the new<br />
value is placed in the field fn just assigned (transfer type: by value and<br />
result) at the end of the relevant loop pass. If the loop pass is terminated by<br />
a dialog message, any changed value of f is not transported back for this loop<br />
pass.<br />
VARY can declare any number of variables.<br />
Example<br />
DATA: BEGIN OF WORD,<br />
        ONE   VALUE &#8216;E&#8217;,<br />
        TWO   VALUE &#8216;x&#8217;,<br />
        THREE VALUE &#8216;a&#8217;,<br />
        FOUR  VALUE &#8216;m&#8217;,<br />
        FIVE  VALUE &#8216;p&#8217;,<br />
        SIX   VALUE &#8216;l&#8217;,<br />
        SEVEN VALUE &#8216;e&#8217;,<br />
        EIGHT VALUE &#8216;!&#8217;,<br />
      END   OF WORD,<br />
      LETTER1, LETTER2.<br />
WHILE LETTER2  &#8216;!&#8217;<br />
  VARY LETTER1 FROM WORD-ONE NEXT WORD-THREE<br />
  VARY LETTER2 FROM WORD-TWO NEXT WORD-FOUR.<br />
  WRITE: LETTER1, LETTER2.<br />
ENDWHILE.<br />
This code outputs the character string<br />
&#8221; E x a m p l e !&#8221; .<br />
Note<br />
If VARY fields (i.e. fields which are filled with a new<br />
value on every loop pass) also occur in the WHILE condition, you must ensure<br />
that the WHILE condition is evaluated first. Then, if the WHILE condition is<br />
(still) true, the VARY fields can be reset.<br />
Related DO , LOOP .<br />
Index<br />
© SAP AG 1996</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bitacorasapabap.wordpress.com/856/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bitacorasapabap.wordpress.com/856/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bitacorasapabap.wordpress.com/856/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bitacorasapabap.wordpress.com/856/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bitacorasapabap.wordpress.com/856/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bitacorasapabap.wordpress.com/856/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bitacorasapabap.wordpress.com/856/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bitacorasapabap.wordpress.com/856/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bitacorasapabap.wordpress.com/856/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bitacorasapabap.wordpress.com/856/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bitacorasapabap.wordpress.com/856/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bitacorasapabap.wordpress.com/856/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bitacorasapabap.wordpress.com&blog=2954476&post=856&subd=bitacorasapabap&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://bitacorasapabap.wordpress.com/2008/03/30/while-glosario-ingles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1fd57b80534319f281d9cf076aff9d95?s=96&#38;d=identicon" medium="image">
			<media:title type="html">bitacorasapabap</media:title>
		</media:content>
	</item>
	</channel>
</rss>