{\rtf1{\fonttbl

{\f2 Times New Roman Bold;}
{\f3 Times New Roman;}
{\f4 Times New Roman;}
{\f5 Times New Roman Bold;}
{\f6 Symbol;}
{\f7 Times New Roman Bold;}
{\f8 Times New Roman;}
{\f9 Times New Roman;}
{\f1000000 Times New Roman;}
}{\colortbl;
\red0\green0\blue255;
\red0\green0\blue0;
\red0\green0\blue255;
\red0\green0\blue0;
\red0\green0\blue0;
\red0\green0\blue255;
\red0\green0\blue255;
\red0\green0\blue0;
}\viewkind1\viewscale100\margl0\margr0\margt0\margb0\deftab80\dntblnsbdb\expshrt
n\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart Pg1}{\bkmkend Pg1}\par\pard
\ql \li5510\sb0\sl-276\slmult0 \par\pard\ql\li5510\sb0\sl-276\slmult0 \par\pard\
ql\li5510\sb0\sl-276\slmult0 \par\pard\ql\li5510\sb3\sl-276\slmult0 \up0 \expndt
w-3\charscalex100 \ul0\nosupersub\cf1\f2\fs24 Internal table \par\pard\ql \li126
2\ri1014\sb316\sl-553\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\
f3\fs24 Internal table is a very important concept in ABAP/4 programming. For a
novice programmer, it is \up0 \expndtw-2\charscalex100 essential that He / She u
nderstands the underlying concept of internal table. This documentation \line \u
p0 \expndtw-2\charscalex100 explains internal table in a very precise and in sim
ple words. It explains from the basics of an internal \up0 \expndtw-3\charscalex
100 table and gradually navigating to its features and operations. \par\pard\ql
\li1262\ri869\sb290\sl-550\slmult0 \up0 \expndtw-2\charscalex100 I have explaine
d Standard, Sorted and Hashed tables and its operations separately and in the re
spective \up0 \expndtw-2\charscalex100 order. My suggestion towards a clear unde
rstanding of internal table from this document is to have a \up0 \expndtw-2\char
scalex100 clear idea of Standard Table first and practice and then move to Sorte
d and Hashed Tables. \par\pard\ql \li1262\ri1069\sb294\sl-546\slmult0 \up0 \expn
dtw-2\charscalex100 For your convenience I have isolated the system fields used
for internal tables and defined few terms \line \up0 \expndtw-2\charscalex100 in
Glossary that are necessary for understanding Internal Tables. I would like to
thank \line \up0 \expndtw-2\charscalex100 {\field{\*\fldinst {HYPERLINK "http://
www.erpgenie.com/" }}{\fldrslt {\ul0\nosupersub\cf6\f7\fs24\ul www.erpgenie.com}
}}\ul0\nosupersub\cf2\f3\fs24 for providing online documentation on ABAP/4 for
young ABAP\u8217?ers like me. \line \up0 \expndtw-2\charscalex100 Believe this d
ocument will provide a clear understanding of Internal Table. Happy ABAPing. \pa
r\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb242\sl-276\slmult0 \u
p0 \expndtw-3\charscalex100 \ul0\nosupersub\cf1\f2\fs24 Introduction: -\par\pard
\qj \li1262\sb0\sl-270\slmult0 \par\pard\qj\li1262\sb0\sl-270\slmult0 \par\pard\
qj\li1262\ri1250\sb29\sl-270\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupers
ub\cf2\f3\fs24 Internal Tables are local tables within a program containing a se
ries of lines having same data type. \line \up0 \expndtw-2\charscalex100 ABAP Op
en SQL allows single field, range of fields, entire database table or view into
an Internal \line \up0 \expndtw-3\charscalex100 table. \par\pard\qj \li1262\sb0\
sl-280\slmult0 \par\pard\qj\li1262\ri1248\sb2\sl-280\slmult0\fi59 \up0 \expndtw2\charscalex100 In technical terms Internal table is a dynamic sequential datase
t in which all records have the same \up0 \expndtw-3\charscalex100 data structur
e and a key. \par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri923\s
b37\sl-260\slmult0\fi59 \up0 \expndtw-2\charscalex100 Internal tables are used f
or fetching large volume of data from the database, storing in ABAP working \up0
\expndtw-3\charscalex100 memory line-by-line and processing within a program. \

par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1114\sb4\sl-280\slm
ult0\fi59 \up0 \expndtw-2\charscalex100 Although Internal tables are declared wi
th the other {\field{\*\fldinst {HYPERLINK "http://www.amazon.com/gp/product/013
1407317?ie=UTF8&tag=abaptips-20&link_code=em1&camp=212341&creative=380429&creati
veASIN=0131407317&adid=145a72fb-cf43-433d-91a4-c2388c03242e" }}{\fldrslt {\ul0\n
osupersub\cf7\f8\fs24\ul data objects}}}\ul0\nosupersub\cf2\f3\fs24 , at runtime
they behave as dynamic \line \up0 \expndtw-2\charscalex100 objects (i.e.) no ne
ed to specify the size of the object but only the length of a row in internal ta
ble is \up0 \expndtw-2\charscalex100 fixed. The number of rows is determined dyn
amically at runtime with the fixed structure. \par\pard\ql \li1321\sb0\sl-276\sl
mult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Inter
nal table is characterized by the following: -\par\pard\sect\sectd\fs24\paperw12
240\paperh15840\pard\sb0\sl-240{\bkmkstart Pg2}{\bkmkend Pg2}\par\pard\qj \li126
2\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\
sb0\sl-260\slmult0 \par\pard\qj\li1262\ri950\sb65\sl-260\slmult0 \up0 \expndtw-2
\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Line Type:\ul0\nosupersub\cf2\f3\fs24
- The line type may be any data type or another internal table. Generally the
data type will \up0 \expndtw-2\charscalex100 be a structure and each component o
f a structure is a column in this local table. \par\pard\ql \li1262\sb0\sl-280\s
lmult0 \par\pard\ql\li1262\sb0\sl-280\slmult0 \par\pard\ql\li1262\sb0\sl-280\slm
ult0 \par\pard\ql\li1262\ri1395\sb4\sl-280\slmult0 \up0 \expndtw-2\charscalex100
\ul0\nosupersub\cf4\f5\fs24 Key:\ul0\nosupersub\cf2\f3\fs24 - Key is used to i
dentify table rows. You may specify whether the key is UNIQUE or NON\up0 \expndt
w-2\charscalex100 UNIQUE. As the name indicates UNIQUE key cannot contain duplic
ate entries whereas NON-\line \up0 \expndtw-3\charscalex100 UNIQUE can. \par\par
d\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard
\qj\li1262\ri856\sb260\sl-280\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosuper
sub\cf4\f5\fs24 Table Type:\ul0\nosupersub\cf2\f3\fs24 - Table type specifies t
he behavior of Internal table while accessing the individual entries. \up0 \expn
dtw-4\charscalex100 There are three types of table. \par\pard\ql \li1262\sb0\sl273\slmult0 \par\pard\ql\li1262\sb0\sl-273\slmult0 \par\pard\ql\li1262\sb0\sl-27
3\slmult0 \par\pard\ql\li1262\ri1322\sb27\sl-273\slmult0 \up0 \expndtw-2\charsca
lex100 \ul0\nosupersub\cf4\f5\fs24 Standard Table\ul0\nosupersub\cf2\f3\fs24 de
fines the table as one that has the same order of its line type. It can be acces
sed \line \up0 \expndtw-2\charscalex100 either by using internal index or key. T
he response time for index access increases logarithmically \line \up0 \expndtw2\charscalex100 whereas by key access, it is proportional to the number of entri
es. The key of a {\field{\*\fldinst {HYPERLINK "http://www.amazon.com/gp/product
/1584882913?ie=UTF8&tag=abaptips-20&link_code=em1&camp=212341&creative=380429&cr
eativeASIN=1584882913&adid=eb6ca479-a245-4bb6-bf76-3300d958a8da" }}{\fldrslt {\u
l0\nosupersub\cf7\f8\fs24\ul standard table}}}\ul0\nosupersub\cf2\f3\fs24 is \l
ine \up0 \expndtw-3\charscalex100 always NON-UNIQUE. \par\pard\qj \li1262\sb0\sl
-270\slmult0 \par\pard\qj\li1262\sb0\sl-270\slmult0 \par\pard\qj\li1262\sb0\sl-2
70\slmult0 \par\pard\qj\li1262\ri1022\sb40\sl-270\slmult0 \up0 \expndtw-2\charsc
alex100 Standard tables are filled using the APPEND statement and the entries ar
e read, modified and deleted \up0 \expndtw-2\charscalex100 using the index acces
s. The apt situation for using standard table is when you need to fill and proc
ess \up0 \expndtw-3\charscalex100 the table in separate steps. \par\pard\qj \li1
262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li126
2\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1028\sb2\sl-280\slmult0 \up0 \expndtw
-2\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Sorted Table\ul0\nosupersub\cf2\f3\
fs24 defines as the table that is sorted in a specified order. It can be access
ed either by using \up0 \expndtw-2\charscalex100 internal index or key. The resp
onse time for key increases logarithmically with the number of entries. \up0 \ex
pndtw-3\charscalex100 The key of a Sorted table can be either UNIQUE or NON-UNIQ
UE. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmul
t0 \par\pard\qj\li1262\ri1033\sb260\sl-280\slmult0 \up0 \expndtw-2\charscalex100
Sorted tables are filled using the INSERT statement depending upon the UNIQUE o
r NON-UNIQUE \up0 \expndtw-2\charscalex100 key. The apt situation is when you ne
ed a table for partial sequential processing. \par\pard\ql \li1262\sb0\sl-270\sl

mult0 \par\pard\ql\li1262\ri903\sb19\sl-270\slmult0\fi59 \up0 \expndtw-2\charsca
lex100 \ul0\nosupersub\cf4\f5\fs24 Hashed Table\ul0\nosupersub\cf2\f3\fs24 defi
nes as the table that is managed with an internal has procedure. It must be acce
ssed \up0 \expndtw-2\charscalex100 using its hash key. The response time is inde
pendent of the number of entries as it used Hash \line \up0 \expndtw-3\charscale
x100 Algorithm. The key of a Hashed table must be UNIQUE. \par\pard\qj \li1262\s
b0\sl-280\slmult0 \par\pard\qj\li1262\ri997\sb2\sl-280\slmult0\fi59 \up0 \expndt
w-2\charscalex100 Like Database table, Hashed table have a UNIQUE key. If the ma
in operation in the table is based on \up0 \expndtw-2\charscalex100 the key and
for processing large volume of data, hashed table is the apt one. \par\pard\ql \
li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li
1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-4\
charscalex100 \ul0\nosupersub\cf1\f2\fs24 Creating Internal Tables: -\par\pard\s
ect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart Pg3}{\bkmkend
Pg3}\par\pard\ql \li1262\sb0\sl-270\slmult0 \par\pard\ql\li1262\sb0\sl-270\slmul
t0 \par\pard\ql\li1262\sb0\sl-270\slmult0 \par\pard\ql\li1262\sb0\sl-270\slmult0
\par\pard\ql\li1262\sb0\sl-270\slmult0 \par\pard\ql\li1262\ri1090\sb46\sl-270\s
lmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 Internal Tables
can be declared as an abstract data type within a program or in ABAP data dicti
onary \up0 \expndtw-2\charscalex100 and then defined a data object. On the other
hand it can be directly defined as a data object in the \up0 \expndtw-3\charsca
lex100 program but it is considered as outdated. \par\pard\ql \li1321\sb0\sl-276
\slmult0 \par\pard\ql\li1321\sb10\sl-276\slmult0 \up0 \expndtw-3\charscalex100 \
ul0\nosupersub\cf1\f2\fs24 Internal tables as data types: -\par\pard\qj \li1262\
sb0\sl-280\slmult0 \par\pard\qj\li1262\ri864\sb1\sl-280\slmult0\fi59 \up0 \expnd
tw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 Internal tables can be declared e
ither locally or globally, if it is declared as an abstract data type within \li
ne \up0 \expndtw-2\charscalex100 the program it is said to be local whereas if i
n ABAP Data dictionary it is said to be global definition. \par\pard\qj \li1321\
ri890\sb29\sl-560\slmult0 \up0 \expndtw-2\charscalex100 With all other local typ
es internal table is declared using TYPES statement. The syntax is as follows: \line \up0 \expndtw-3\charscalex100 TYPES <itab> TYPE|LIKE <table type> OF <line
type> \par\pard\ql \li1262\sb225\sl-288\slmult0 \up0 \expndtw-3\charscalex100 [
WITH UNIQUE|NON_UNIQUE <key>] [INITIAL SIZE <n>] \par\pard\qj \li1262\ri884\sb27
9\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 When declared as an data obj
ect the TYPE|LIKE is followed by existing data type, but here as you are \up0 \e
xpndtw-2\charscalex100 declaring the Internal Table as a abstract data type, you
must specify the table type. \par\pard\ql \li1321\sb264\sl-276\slmult0 \up0 \ex
pndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Table Type:\ul0\nosupersub\cf2
\f3\fs24 - There are two forms of table types, Generic and fully specified. \pa
r\pard\qj \li1321\ri1805\sb50\sl-560\slmult0 \up0 \expndtw-3\charscalex100 \ul0\
nosupersub\cf4\f5\fs24 Generic Table Types:\ul0\nosupersub\cf2\f3\fs24 There ar
e two table types namely INDEX TABLE and ANY TABLE. \up0 \expndtw-4\charscalex10
0 INDEX TABLE - For creating a generic table type for index access. \par\pard\qj
\li1262\ri1383\sb232\sl-280\slmult0 \up0 \expndtw-2\charscalex100 ANY TABLE For creating a fully generic table where the common operation key access is only
\line \up0 \expndtw-3\charscalex100 allowed \par\pard\ql \li1262\ri1071\sb264\s
l-276\slmult0\fi59 \up0 \expndtw-2\charscalex100 Data types declared using Gener
ic type must be used for field symbols or interface parameters for \line \up0 \e
xpndtw-2\charscalex100 routines. For an data type if {\field{\*\fldinst {HYPERLI
NK "http://www.amazon.com/gp/product/1592574041?ie=UTF8&tag=abaptips-20&link_cod
e=em1&camp=212341&creative=380429&creativeASIN=1592574041&adid=2c67b4e0-f840-452
4-ba3a-fac48dc41fef" }}{\fldrslt {\ul0\nosupersub\cf7\f8\fs24\ul INDEX TABLE}}}\
ul0\nosupersub\cf2\f3\fs24 is specified only standard and sorted tables must be
\line \up0 \expndtw-2\charscalex100 passed to the field symbols or interface pa
rameters, you cannot hashed table. For a data type if ANY \line \up0 \expndtw-2\
charscalex100 TABLE is specified you can pass standard, sorted and hashed table
to the field symbols and interface \line \up0 \expndtw-2\charscalex100 parameter
s but the behavior of all the table will be same (i.e.) field symbols and interf
ace parameters \line \up0 \expndtw-2\charscalex100 will allow operations that is

common to all tables. In other words only key access is allowed, index \line \u
p0 \expndtw-3\charscalex100 access is not allowed. \par\pard\qj \li1262\ri4019\s
b50\sl-560\slmult0\fi59 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf4\f5\fs2
4 Fully Specified Table Types:\ul0\nosupersub\cf2\f3\fs24 There are three table
types as follows: \line \up0 \expndtw-4\charscalex100 STANDARD TABLE - Creates
Standard Table and uses linear search \par\pard\li1262\sb235\sl-276\slmult0\fi0\
tx3292 \up0 \expndtw-4\charscalex100 SORTED TABLE\tab \up0 \expndtw-4\charscalex
100 - Creates Sorted Table according to the key specified and uses\par\pard\li12
62\sb1\sl-274\slmult0\fi0 \up0 \expndtw-4\charscalex100 binary search\par\pard\l
i1262\sb0\sl-276\slmult0\par\pard\li1262\sb5\sl-276\slmult0\fi0\tx3286 \up0 \exp
ndtw-4\charscalex100 HASHED TABLE\tab \up0 \expndtw-4\charscalex100 - Created Ha
shed Table and uses hash algorithm\par\pard\ql \li1262\sb0\sl-276\slmult0 \par\p
ard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\par
d\ql\li1262\sb5\sl-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf4
\f5\fs24 Line Type:\ul0\nosupersub\cf2\f3\fs24 - The line type depends on TYPE|
LIKE defined. \par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{
\bkmkstart Pg4}{\bkmkend Pg4}\par\pard\qj \li1262\sb0\sl-270\slmult0 \par\pard\q
j\li1262\sb0\sl-270\slmult0 \par\pard\qj\li1262\sb0\sl-270\slmult0 \par\pard\qj\
li1262\sb0\sl-270\slmult0 \par\pard\qj\li1262\sb0\sl-270\slmult0 \par\pard\qj\li
1262\ri949\sb46\sl-270\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2
\f3\fs24 If TYPE is used, the line type must take from data type either declared
locally or in ABAP Dictionary. \up0 \expndtw-2\charscalex100 When internal tabl
e is declared for elementary data types (C, N, P, X), default attributes are ass
igned \up0 \expndtw-3\charscalex100 when the technical attributes are not define
d explicitly. \par\pard\qj \li1262\sb0\sl-560\slmult0 \par\pard\qj\li1262\ri1833
\sb51\sl-560\slmult0 \up0 \expndtw-2\charscalex100 If LIKE is used, the data obj
ect mentioned for <line type> must be recognizable at that point. \up0 \expndtw3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Key:\ul0\nosupersub\cf2\f3\fs24 - T
he Key is specified as follows. \par\pard\ql \li1321\sb215\sl-276\slmult0 \up0 \
expndtw-3\charscalex100 WITH UNIQUE|NON-UNIQUE KEY <key> \par\pard\qj \li1262\sb
0\sl-280\slmult0 \par\pard\qj\li1262\ri1312\sb1\sl-280\slmult0\fi59 \up0 \expndt
w-2\charscalex100 UNIQUE specifies the mentioned column cannot contain any dupli
cate entries whereas the NON\up0 \expndtw-3\charscalex100 UNIQUE specifies the o
ther way. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276
\slmult0 \up0 \expndtw-2\charscalex100 In Structured Line type the <coli> belong
to key if its not anyway related to internal table or \par\pard\qj \li1262\ri15
12\sb18\sl-260\slmult0 \up0 \expndtw-2\charscalex100 references. Key fields can
be Nested Structures and are expanded as the corresponding fields are \up0 \expn
dtw-3\charscalex100 accessed. The syntax is as shown \par\pard\ql \li1321\sb0\sl
-276\slmult0 \par\pard\ql\li1321\sb11\sl-276\slmult0 \up0 \expndtw-3\charscalex1
00 WITH UNIQUE|NON-UNIQUE KEY <col-1>\u8230?<col-n> \par\pard\qj \li1321\ri2133\
sb50\sl-560\slmult0 \up0 \expndtw-2\charscalex100 In an elementary line type the
entire line can be defined as a key. The syntax is as shown. \up0 \expndtw-3\ch
arscalex100 WITH UNIQUE|NON-UNIQUE KEY TABLE LINE \par\pard\qj \li1262\ri1136\sb
240\sl-270\slmult0\fi59 \up0 \expndtw-2\charscalex100 In addition to the above s
yntax you can specify the default key. The default key for a structured line \li
ne \up0 \expndtw-2\charscalex100 type is a all non-numerical column of an intern
al table, for an elementary line type the default key is \line \up0 \expndtw-2\c
harscalex100 the entire line and for an internal table whose line type is an int
ernal table the default key is empty. \par\pard\ql \li1262\sb0\sl-276\slmult0 \p
ar\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par
\pard\ql\li1262\sb18\sl-276\slmult0 \up0 \expndtw-4\charscalex100 WITH UNIQUE|NO
N-UNIQUE DEFAULT KEY \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262
\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri981\sb261\sl-280\slmult0 \up0 \expndtw
-2\charscalex100 For an internal table specifying the key is not mandatory, if t
he key is not specified the system defines \up0 \expndtw-3\charscalex100 an arbi
trary key. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-27
6\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Initial Memo
ry Requirement: -\par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8
\sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf2\f3\fs24 INITIA

Often. The STATICS is used to create internal tables in procedures and CLASS-DATA is us ed to \up0 \expndtw-3\charscalex100 create internal tables in classes. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li12 . The DATA is used to declare internal table data objects with all the \up0 \expndtw-4\char scalex100 other local objects in the program. the default key is the entire \up0 \expndtw-2\charscalex100 line). is a \up0 \expndtw-2\charscalex100 standard table with default key (as <line-type> is elementary data type. When using deep structures this addition will be really useful . \par\ pard\ql \li1262\sb0\sl-275\slmult0 \par\pard\ql\li1262\sb0\sl-275\slmult0 \par\p ard\ql\li1262\ri1083\sb246\sl-275\slmult0\fi59 \up0 \expndtw-2\charscalex100 \ul 0\nosupersub\cf2\f3\fs24 The above table defines an internal table as a fully sp ecified data type. STATICS and CLASS-DATA \par\par d\qj \li1262\ri1092\sb1\sl-280\slmult0 \up0 \expndtw-3\charscalex100 statement.L SIZE <n> \par\pard\ql \li1262\sb0\sl-273\slmult0 \par\pard\ql\li1262\ri1178\sb 14\sl-273\slmult0\fi59 \up0 \expndtw-2\charscalex100 With the above addition you can specify the initial memory by specifying the number of lines of an \line \u p0 \expndtw-2\charscalex100 internal table. hash_itab is an internal \up0 \expndtw-3\charscalex100 table using hash algorithm and its key is defined as \u8216?num. \par\pard\ql \li910\sb0\sl-276\slmult0 \par\pard\ql\li910\sb0\sl-276\ slmult0 \par\pard\ql\li910\sb0\sl-276\slmult0 \par\pard\ql\li910\sb36\sl-276\slm ult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Types: begin of t ab. \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard \ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\q l\li1262\sb16\sl-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf1\f 2\fs24 Internal Tables as Data Objects: -\par\pard\ql \li1321\sb264\sl-276\slmul t0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf2\f3\fs24 Internal table can be declared directly as data objects using DATA. The sy ntax for both is as follows: \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\q l\li1321\sb11\sl-276\slmult0 \up0 \expndtw-4\charscalex100 DATA: <itab> LIKE <ob j> [with header line]. \par\pard\qj \li1330\ri 3536\sb50\sl-560\slmult0 \up0 \expndtw-2\charscalex100 sort_itab type sorted tab le of tab with unique key num initial size 10. All three internal tables have \up0 \expndtw-2\charscalex100 been initially allocated 10 lines. But you can reserve a \line \up0 \expndtw-2\charscalex100 initial size of an i nternal table. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1077\sb4\sl-280\slmult0 \up0 \ expndtw-2\charscalex100 In order to reserve initial size and at the same time av oiding excessive usage of memory. \line \up0 \expndtw-3\charscalex100 end of tab. and once its full. the value of \up0 \expndtw-2\charscalex100 <n> can be assigned to the quotient of 8KB divided by the length of a line in inter nal table. you cannot be sure of the num ber of lines of an internal as they are assigned \line \up0 \expndtw-2\charscale x100 dynamically. but the way they access the individual entrie s is different. \line \up0 \expndtw-2\charscalex1 00 hash_itab type hashed table of tab with unique key num initial size 10. \par\pard\qj \li1330\ri9238\sb50\sl-560\slmult0\fi180 \up0 \expndtw-3\ch arscalex100 num1 type I. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard \qj\li1262\ri1169\sb1\sl-280\slmult0\fi59 \up0 \expndtw-3\charscalex100 If you u se ANY TABLE or INDEX TABLE in the place of <table-type> you define Generic Tabl es \up0 \expndtw-3\charscalex100 that are used for passing to Field Symbols and interface parameters routines. \par\pard\qj \li1262\sb0\sl-260\sl mult0 \par\pard\qj\li1262\ri1093\sb37\sl-260\slmult0\fi59 \up0 \expndtw-3\charsc alex100 With all the other data objects internal table is declared using the DAT A statement with the LIKE or \up0 \expndtw-4\charscalex100 TYPE addition. the system allocates twice as much of memory \ par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart Pg5} {\bkmkend Pg5}\par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl -260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri922\sb 65\sl-260\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 allo cated initially up to 8KB and upon crossing the 8KB limit it allocates 12KB each to the memory of \up0 \expndtw-3\charscalex100 the internal table. \u8216?itab\u8221?. \par\pard\ql \li1510\sb264\sl-276\slmult0 \up0 \expndtw-3\charscalex100 num type I. \par\pa rd\ql \li910\sb235\sl-276\slmult0 \up0 \expndtw-2\charscalex100 Types: itab type standard table of tab with default key initial size 10. \u8216?sort_itab\u8217? is an internal table that is sorted according to the key \u8216?num\u8217?.

16384.45824.45824.1)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.45824.1.45824.(0.4209).(0.45824.(18.1).45824.1.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s .62\ri1523\sb1\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 The above syntax is used to create an internal table object where the LIKE addition refers to th e \up0 \expndtw-3\charscalex100 existing table object within the program.45824.1.(0.11.45824.(0.45824.(0.1.(0.5.11.20).1.1.1.5.0).4209).(9669.5.45824.1.(9668.5.(0.20).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft792\shptop3299\shpright810\shpbottom7508\shpfhdr0\shpbx page\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz188\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 4209}} {\sp{\sn pVerticies}{\sv 8.(0.(9668.21).1.(9669.16384.45824.11.(9669.45824.45824.1).45824.(0.20).16384.45824.0).1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft792\shptop7487\shpright10460\shpbottom7508\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz182\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 9668}}{\sp{\sn geoBottom}{\sv 21}} {\sp{\sn pVerticies}{\sv 8.11.20).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft791\shptop3299\shpright10460\shpbottom3319\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz176\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 9669}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1).45824.(0.1).1)}} {\sp{\sn pSegmentInfo}{\sv 2.(9668.1.45824.(0.16384.1.1).(0.1.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft791\shptop7487\shpright10460\shpbottom7507\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz182\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 9669}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1).45824.16384.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(9669.5.1)}} {\sp{\sn pSegmentInfo}{\sv 2.1.21).(0.(18.(9668.45824.45824.0).1.45824.45824.21).1.45824.11.(0. {\shp {\*\shpinst\shpleft792\shptop3299\shpright10460\shpbottom3320\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz176\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 9668}}{\sp{\sn geoBottom}{\sv 21}} {\sp{\sn pVerticies}{\sv 8.(0.21).45824.

\par\pard\qj \li1262\sb0\sl-280\slmult0 \pa r\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1019\sb261\sl-280\slmu lt0 \up0 \expndtw-2\charscalex100 The above syntax is used to create an internal table object where the TYPE additoin refers to the type \up0 \expndtw-2\charsca lex100 defined within the program using the TYPES statement or type defined in t he ABAP Dictionary.1.11.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10442\shptop3299\shpright10460\shpbottom7508\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz194\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 4209}} {\sp{\sn pVerticies}{\sv 8.4209).(0.45824.16384.(0.45824.16384.4208). As you see with the \line \up0 \e .1.(0.45824.1.4208).1. \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\ sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb 16\sl-276\slmult0 \up0 \expndtw-3\charscalex100 In contrast to the internal tabl e declaration using the TYPES statement.1.45824.1.1)}} {\sp{\sn pSegmentInfo}{\sv 2.1).45824.45824.1.16384.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g6}{\bkmkend Pg6}\par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb0 \sl-276\slmult0 \par\pard\ql\li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb3\s l-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf2\f3\fs24 DATA: <i tab> TYPE <type> [with header line].5.1.45824.11.4209).1.(19.(0.1.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2. \par\pard\ql \li1262\sb0\ sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl -276\slmult0 \par\pard\ql\li1262\sb19\sl-276\slmult0 \up0 \expndtw-4\charscalex1 00 \ul0\nosupersub\cf1\f2\fs24 Header Line or Work Areas: -\par\pard\ql \li1262\ sb0\sl-275\slmult0 \par\pard\ql\li1262\ri847\sb10\sl-275\slmult0\fi59 \up0 \expn dtw-3\charscalex100 \ul0\nosupersub\cf2\f3\fs24 Header line or Work Areas is one of the important concepts in Internal tables.45824. Internal tables declarations using the DATA statement must \up0 \expndtw-4\charscalex100 be fully specified.0)}} {\sp{\sn pSegmentInfo}{\sv 2.4208).4208).(0.45824.0).45824.1).5.1.45824. DATA statement does not \par\pard\qj \l i1262\ri1103\sb18\sl-260\slmult0 \up0 \expndtw-3\charscalex100 allow to define t o generic internal types.(19.p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft791\shptop3299\shpright810\shpbottom7507\shpfhdr0\shpbx page\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz188\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 19}}{\sp{\sn geoBottom}{\sv 4208}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(18.(19.0).0).(19.1.11.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10441\shptop3299\shpright10460\shpbottom7507\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz194\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 19}}{\sp{\sn geoBottom}{\sv 4208}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.(0.5.(18.45824.45824.45824.(0.

\par\pard\ql \li1262\sb0\sl-280\slmult0 \par\pard\ql\li1262\sb0\sl-280\slmult0 \par\pard\ql\li1262\ri1170\sb261\sl-280\slmult0 \up0 \expndtw-2\charscalex100 Th e above syntax declares internal table with the header line. \par\pard\ql \li1321\sb0\s l-276\slmult0 \par\pard\ql\li1321\sb11\sl-276\slmult0 \up0 \expndtw-2\charscalex 100 Header is nothing but a single row of the internal table components. \par\pard\sect\sectd\fs24\pap erw12240\paperh15840\pard\sb0\sl-240{\bkmkstart Pg7}{\bkmkend Pg7}\par\pard\ql \ li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb0\sl-276\slmult0 \par\pard\ql\li 1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb3\sl-276\slmult0 \up0 \expndtw-5\c harscalex100 \ul0\nosupersub\cf2\f3\fs24 DATA: <itab> LIKE <obj>. \line \up0 \expndtw-2\charscalex100 <itab[]> addresses the body of the header line an d <itab> address the header of the internal table. \par\pard\ql \li1321\sb0\ sl-276\slmult0 \par\pard\ql\li1321\sb9\sl-276\slmult0 \up0 \expndtw-2\charscalex 100 Before explaining the importance of Header line. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\ slmult0 \par\pard\qj\li1262\ri1031\sb259\sl-280\slmult0 \up0 \expndtw-2\charscal ex100 The above syntax declared internal table and header line separately hence has different names. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\s lmult0 \up0 \expndtw-4\charscalex100 DATA: <itab> LIKE <obj> [with header line]. as we have to manually clear the contents of the work area or the \up0 \ex pndtw-3\charscalex100 header line at certain points in the program. \par\pard\ql \li1551\sb272\sl-288\slmult0 \up0 \ expndtw-3\charscalex100 itab_obj1 like itab2 with header line. Both header line and work \line \up0 \expndtw-2\charscalex100 area is associated data object with the internal table.xpndtw-2\charscalex100 above syntax internal table is declared with the data obj ect. Work area or the \up0 \expndtw-2\charscalex100 header line act as interfaces to the body of the internal table. They share the same mean ing except that when it \line \up0 \expndtw-2\charscalex100 is declared with the internal table. One with the internal table declaration \up0 \ex pndtw-3\charscalex100 and other declaring separately using the DATA statement as shown. header line. When a system processes the \par\pard\qj \li1262\ri876\sb7\sl-273\slmult0 \up0 \expndtw -2\charscalex100 body of the internal table it must have accessed the header of the internal table (i. is termed as header line otherwise if declared separately is te rmed as \line \up0 \expndtw-3\charscalex100 work area. \line \up0 \expndtw- . \par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\ li1262\ri1576\sb38\sl-260\slmult0\fi59 \up0 \expndtw-2\charscalex100 The systems perspective to the internal table is header of the internal table and then body of the \up0 \expndtw-3\charscalex100 internal table. when a sys tem performs a write \up0 \expndtw-2\charscalex100 operation on the body of the internal table. it first writes to the header and then copy to the body of the \ up0 \expndtw-3\charscalex100 internal table and it applies to the read and other manipulations. \par\pard\qj \li1251\ri7698\sb0\sl-560\slmult0\fi 540 \up0 \expndtw-3\charscalex100 wa like line of itab_obj. \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\sl mult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb16\sl-276\slm ult0 \up0 \expndtw-2\charscalex100 In either case. Precisely. Now a \line \up0 \expndtw-2\charscalex100 day its better to define the header line separately in order to improve the performance of the pr ogram.). let me make clear how the i nternal table is accessed. This is the most \par\pard\qj \li1262\ri984 \sb0\sl-280\slmult0 \up0 \expndtw-2\charscalex100 important feature to be rememb ered. As you can see the header line and the \line \up0 \expndtw-2\charscalex100 body is declared in the statement and so it has the same name. \par\pard\ql \li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb0\sl-288\slmult0 \par\pard\ql\ li1251\sb259\sl-288\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5 \fs24 data:itab_obj type itab1. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\ sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1144 \sb2\sl-280\slmult0 \up0 \expndtw-2\charscalex100 The header of the internal tab le can be declared in two ways.e. \par\pard\ql \ li1321\sb275\sl-288\slmult0 \up0 \expndtw-3\charscalex100 <itab_wa> LIKE LINE OF <itab>. each time the work area is ac cessed the contents are overwritten. \par\pard\ql \li1 551\ri3765\sb28\sl-560\slmult0\tx4432 \up0 \expndtw-3\charscalex100 itab_obj2 li ke table of mara with header line \u8216?defined from ABAP \line\tab \up0 \expnd tw-3\charscalex100 Dictionary. They are differentiated as follows.

3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop9988\shpright10028\shpbottom10008\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz292\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.45824.(0.20).1.0).(0.(0.1.45824.45824.1.3\charscalex100 write: itab_obj1 \u8216? Header line.20).(8894.16384.45824.1.0).11. itab _obj is an internal \up0 \expndtw-2\charscalex100 table data object of <table-ty pe> itab1 without header line.1.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1. When internal table is \par\pard\qj \l i1262\ri896\sb18\sl-260\slmult0 \up0 \expndtw-2\charscalex100 processed on whole you address the body of the internal table whereas when internal table is proce ssed \up0 \expndtw-2\charscalex100 line by line you address the header or work a rea of the internal table.20).1.20).45824.(8894.45824.45824.1.45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop5800\shpright10027\shpbottom5820\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz286\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.5.5.45824. \par\pard\qj \li1612\ri455 0\sb17\sl-540\slmult0\tx2692 \up0 \expndtw-3\charscalex100 itab_obj1[] \u8216?Bo dy [just writes the last row as its not in the \line\tab \up0 \expndtw-3\charsca lex100 loop] \par\pard\qj \li1262\sb0\sl-273\slmult0 \par\pard\qj\li1262\sb0\sl273\slmult0 \par\pard\qj\li1262\sb0\sl-273\slmult0 \par\pard\qj\li1262\ri971\sb2 \sl-273\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 The ab ove table creates a internal table object from the type defined in Table 1.20).0). in latter case both internal table and header \up0 \expndtw-3\charscalex100 line shares the same name.(8893.45824. It is differentiated as shown above.(0. itab_obj1 is an internal table data object of \up 0 \expndtw-2\charscalex100 <table-type> itab2 with header line.0). \par\pard\ql \l i1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1 262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb17\sl-276\slmult0 \up0 \expndtw-4\c harscalex100 \ul0\nosupersub\cf1\f2\fs24 Processing Internal Tables: -\par\pard\ ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expnd tw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 Internal tables can be processed either as a whole or in individual lines.0).45824.16384.(8894.1.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).(0.(8893.16384.11.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop9987\shpright10027\shpbottom10007\shpfhdr0\s . {\shp {\*\shpinst\shpleft1134\shptop5800\shpright10028\shpbottom5820\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz286\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.5.20).1.(8894.1.45824.45824.11.45824. As mentioned bef ore.

4208).0).1.(0.20).45824.(0.1.4207).0).45824.20).16384.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).45824.1.45824.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop5800\shpright10028\shpbottom10008\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz304\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 4208}} {\sp{\sn pVerticies}{\sv 8.1.45824.0).1.1.11.4207).0).45824.(0.45824.45824.1.(0.(17.(0.hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz292\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.1.0).(0.(18.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.16384.0).45824.0).1.5.45824.1.11.(8893.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop5800\shpright1151\shpbottom10007\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz298\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 4207}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(18.0).(0.45824.(0.1.1.45824.(0.4208).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop5800\shpright10027\shpbottom10007\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz304\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 4207}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.11.1.1.(0.(18.(17.45824.11.45824.45824.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(18.45824.16384.5.4207).16384.45824.4208).(17.11.45824.1.(0.45824.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.4207).5.5.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g8}{\bkmkend Pg8}\par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0 \sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb3\s .4208).16384.45824.(17.5.45824.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop5800\shpright1152\shpbottom10008\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz298\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 4208}} {\sp{\sn pVerticies}{\sv 8.45824.1.(0.45824.1.(8893.

0). If the work area or header line is declared separately. \u8216? clearing the header l ine of the internal table \line\tab \up0 \expndtw-3\charscalex100 Itab_obj1[] \u 8216? clearing the body of the internal table \par\pard\ql \li5310\sb0\sl-276\sl mult0 \par\pard\ql\li5310\sb0\sl-276\slmult0 \par\pard\ql\li5310\sb0\sl-276\slmu lt0 \par\pard\ql\li5310\sb0\sl-276\slmult0 \par\pard\ql\li5310\sb275\sl-276\slmu lt0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf2\f3\fs24 REFRESH <itab>.(8894.\tab \up0 \expndtw-2\charscalex100 \ul0\nosupersub \cf4\f5\fs24 Initializing Internal Tables:\ul0\nosupersub\cf2\f3\fs24 . As with CLEAR statement.16384.5.(0.45824.\par\pa rd\ql \li5443\sb0\sl-276\slmult0 \par\pard\ql\li5443\sb0\sl-276\slmult0 \par\par d\ql\li5443\sb0\sl-276\slmult0 \par\pard\ql\li5443\sb4\sl-276\slmult0 \up0 \expn dtw-3\charscalex100 CLEAR <itab>.20). To clear the body of the internal table use <itab>[] and to clear the header of the \up0 \expndtw-3\charscalex100 internal table use <itab> as shown in Table 3. {\shp {\*\shpinst\shpleft1134\shptop8016\shpright10028\shpbottom8036\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz544\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8. \par\pard\ql \li1262\sb0\sl276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-27 6\slmult0 \par\pard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-2\charscalex100 First let us discuss the operations that favor the entire internal table process ing.(0. The body of the internal tab le is denoted by <itab>[] and header line of the \par\pard\qj \li1262\ri947\sb5\ sl-280\slmult0 \up0 \expndtw-2\charscalex100 internal table is denoted by <itab> .There a re three statements to initialize the internal table with its\par\pard\li1262\sb 1\sl-276\slmult0\fi359 \up0 \expndtw-3\charscalex100 own unique features.45824. \par\pard\ql \li1262\sb0\sl-273\slmult0 \par\p ard\ql\li1262\ri1033\sb14\sl-273\slmult0 \up0 \expndtw-2\charscalex100 This stat ement clears the internal table and its contents only but the memory occupied is not cleared.20). then they can \up0 \ex pndtw-3\charscalex100 process with their own names. \p ar\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri1257\sb38\sl-260\slm ult0 \up0 \expndtw-2\charscalex100 This statement always the clear the body of t he internal table.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop8015\shpright10027\shpbottom8035\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz544\shplid1 . \par\pard\qj \li1251\sb0\sl-540\slmult0 \p ar\pard\qj\li1251\ri4312\sb107\sl-540\slmult0\tx1731 \up0 \expndtw-3\charscalex1 00 \ul0\nosupersub\cf4\f5\fs24 clear : itab_obj1.45824.1.1. \par\pa rd\ql \li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb0\sl-288\slmult0 \par\par d\ql\li1251\sb281\sl-288\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\c f4\f5\fs24 refresh itab_obj1 \u8216? clearing the body of the internal table \p ar\pard\ql \li5544\sb0\sl-276\slmult0 \par\pard\ql\li5544\sb0\sl-276\slmult0 \pa r\pard\ql\li5544\sb0\sl-276\slmult0 \par\pard\ql\li5544\sb0\sl-276\slmult0 \par\ pard\ql\li5544\sb0\sl-276\slmult0 \par\pard\ql\li5544\sb22\sl-276\slmult0 \up0 \ expndtw-3\charscalex100 \ul0\nosupersub\cf2\f3\fs24 FREE <itab>. \up0 \expndtw-2\charscalex100 The unique feature of this statement is it can be used to clear both the body and header of the internal \up0 \expnd tw-2\charscalex100 table separately.(0.11.45824. \par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb0\sl-276\slmult0\par\ pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb11\sl-276\slmult0\fi0\tx1801 \u p0 \expndtw-3\charscalex100 1.1.If you are using internal table with header lines th ey are processed separately because both \par\pard\ql \li1262\sb1\sl-256\slmult0 \up0 \expndtw-2\charscalex100 share the same name. the memory remains allocated.1.(8894. header of the internal table cannot be \up0 \expndtw-3\charsc alex100 accessed.l-276\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Note:\ul 0\nosupersub\cf2\f3\fs24 .0).

5.1.1.45824.5.0).(0.11.1.45824.45824.11.45824.1.0).(8894.0).45824.(8893.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop8016\shpright1152\shpbottom8888\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz556\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 872}} {\sp{\sn pVerticies}{\sv 8.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop8016\shpright10028\shpbottom8888\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz562\shplid6 .0).(18.1.16384.0).872).45824.872).45824.(17.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop8867\shpright10027\shpbottom8887\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz550\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.1.1.1.20).45824.5.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.(0.(0.45824.1.0).1.16384.0).20).45824.872).(0.45824.0).(0.20).45824.1.1.(8893.1.45824.16384.1.20).0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.1.45824.45824.(0.0).45824.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.(0.20).(18.(8893.16384.5.20).(0.(8894.(0.{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.16384.45824.1.11.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop8868\shpright10028\shpbottom8888\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz550\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.872).45824.(0.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop8015\shpright1151\shpbottom8887\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz556\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 872}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.(17.45824.(0.5.1.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(8893.(0.

1.45824.(0.(18.45824.1.45824.0).872).45824.45824.1.1.(8893.11.11.45824.1.45824.45824.45824.45824.(0.(0.(17.1.0).(0.1.(0.16384.16384.1.5.(8894.872).(8894.(0.(0.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12224\shpright10027\shpbottom12244\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz816\shplid9 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.5.20).45824.0).(0.0).45824.45824.45824.0).20).(18.0)}} {\sp{\sn pSegmentInfo}{\sv 2.20).1.45824.1.872).45824.1.(8894.45824.1.0).{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 872}} {\sp{\sn pVerticies}{\sv 8.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12520\shpright10028\shpbottom12540\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz822\shplid10 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.5.1.11.16384.5.(0.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12520\shpright10027\shpbottom12540\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz822\shplid11 .(0.(8894.(17.20).45824.(8893.(0.45824.20).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop8015\shpright10027\shpbottom8887\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz562\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 872}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.1.872).1.16384.1.45824.11.11.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12224\shpright10028\shpbottom12244\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz816\shplid8 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.5.(0.20).(0.(0.45824.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.16384.0).0).1.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).45824.

(18.45824.11.45824.20).45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.16384.(0.45824.1.316).45824.(8893.5.1.(0.0).5.16384.1.45824.45824.45824.5.(8893.(17.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop12224\shpright10028\shpbottom12540\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz834\shplid14 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 316}} {\sp{\sn pVerticies}{\sv 8.(0.16384.(17.45824.45824.1.0).16384.45824.5.(18.45824.{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.0).1.316).(0.(17.1.5.1.(0.1.1.45824.11.(0.1.45824.316).0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.0).(0.1.0).45824.316).45824.(0.45824.0).(0.11.1.11.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g9}{\bkmkend Pg9}\par\pard\ql \li1262\sb0\sl-270\slmult0 \par\pard\ql\li1262\sb0 \sl-270\slmult0 \par\pard\ql\li1262\sb0\sl-270\slmult0 \par\pard\ql\li1262\ri110 3\sb26\sl-270\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 .0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12224\shpright1152\shpbottom12540\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz828\shplid12 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 316}} {\sp{\sn pVerticies}{\sv 8.45824.0).45824.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.0).(18.45824.1.45824.45824.45824.45824.1.316).0)}} {\sp{\sn pSegmentInfo}{\sv 2.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12224\shpright1151\shpbottom12540\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz828\shplid13 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 316}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.316).0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.(18.(0.(0.316).16384.(0.1.1.20).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop12224\shpright10027\shpbottom12540\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz834\shplid15 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 316}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.316).1.0).(17.

\par\pard\ql \li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb0\sl-288\slmult0 \ par\pard\ql\li1251\sb280\sl-288\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosup ersub\cf4\f5\fs24 free itab_obj1 \u8216? clearing the body of the internal table \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb34\sl-276\slmult0 \ up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf2\f3\fs24 2.1.16384.0). But the \up0 \expndtw-3\charscalex100 memory assigned to the header line remains allocated. But if \up0 \expndtw-2\charscalex100 you want to really release the memory allocated to the internal table this statement is used.20).11.(0. \par\pard\ql \li1 262\sb0\sl-280\slmult0 \par\pard\ql\li1262\sb0\sl-280\slmult0 \par\pard\ql\li126 2\ri916\sb261\sl-280\slmult0 \up0 \expndtw-2\charscalex100 An Internal table can be assigned to another internal table if they are compatible and convertible.(0. Alte rnatively \up0 \expndtw-3\charscalex100 you can use the \u8216?=\u8217? statemen t as follows.\par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb0\sl-276\slmult0\par\pard \li1262\sb0\sl-276\slmult0\par\pard\li1262\sb9\sl-276\slmult0\fi2205\tx5644 \up0 \expndtw-3\charscalex100 <itab1> = <itab2>\tab \up0 \expndtw-3\charscalex100 \u 8220? When the work areas is accessed\par\pard\li1262\sb0\sl-276\slmult0\par\par d\li1262\sb3\sl-276\slmult0\fi1079 \up0 \expndtw-3\charscalex100 <itab1[]> = <it ab2[]> \u8220? When the body is accessed\par\pard\li1262\sb0\sl-276\slmult0\par \pard\li1262\sb5\sl-276\slmult0\fi1020\tx4498 \up0 \expndtw-3\charscalex100 <ita b1[]> = <itab2>\tab \up0 \expndtw-3\charscalex100 \u8220? Returns ERROR {\shp {\*\shpinst\shpleft1134\shptop2744\shpright10028\shpbottom2764\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz162\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1. \ul0\nosupersub\cf4\ f5\fs24 Assigning Internal tables\ul0\nosupersub\cf2\f3\fs24 .(8894.This statement always applies to the body of the internal table.45824. \par\pa rd\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\par d\qj\li1262\ri1205\sb260\sl-280\slmult0 \up0 \expndtw-2\charscalex100 Internal t ables can be assigned using the MOVE statement as with the other variables. T he \up0 \expndtw-2\charscalex100 entire contents of one internal table are assig ned to the other. \up0 \expndtw-2\charscalex100 if it\u8217?s the b ody then itab[] is used if it\u8217?s the header line then itab is used.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2743\shpright10027\shpbottom2763\shpfhdr0\sh . When you are using Internal table with \up0 \expndtw-2\charsca lex100 header line Only concern is whether you are processing the body or the wo rk area of the internal table.1.45824.45824.20).0).(0. header line can not be accessed.1.(8894.45824. \par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb0\sl-276\slm ult0\par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb15\sl-276\slmult0\fi19 62\tx6282 \up0 \expndtw-3\charscalex100 MOVE <itab1> TO <itab2>\tab \up0 \expndt w-3\charscalex100 \u8220? If the work area is processed\par\pard\li1262\sb0\sl-2 76\slmult0\par\pard\li1262\sb4\sl-276\slmult0\fi599 \up0 \expndtw-3\charscalex10 0 MOVE <itab1>[] TO <itab2>[] \u8220? if the body is processed\par\pard\li1262\s b0\sl-276\slmult0\par\pard\li1262\sb5\sl-276\slmult0\fi599\tx4902 \up0 \expndtw3\charscalex100 MOVE <itab1[]> TO <itab2>\tab \up0 \expndtw-3\charscalex100 \u82 20? This returns an ERROR\par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb4 \sl-276\slmult0\fi599\tx4934 \up0 \expndtw-3\charscalex100 MOVE <itab1> TO <WA>\ tab \up0 \expndtw-3\charscalex100 \u8220? Internal table header line is assigned to\par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb4\sl-276\slmult0\fi5087 \up0 \expndtw-3\charscalex100 Work Area\par\pard\li1262\sb0\sl-276\slmult0\par\ pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb0\sl-276\slmult0\par\pard\li126 2\sb7\sl-276\slmult0\fi0 \up0 \expndtw-3\charscalex100 Alternatively you can use .0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.

(17.(8894.(0.45824.11.45824.11.0).20).(0.45824.1.1.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2743\shpright1151\shpbottom3059\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz174\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 316}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0).0).45824.0).(0.1.316).0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop3039\shpright10027\shpbottom3059\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz168\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.16384.45824.1.16384.45824.0).1.5.1.45824.316).1.1.(8893.1.0).(0.(0.(8893.(17.45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2744\shpright1152\shpbottom3060\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz174\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 316}} {\sp{\sn pVerticies}{\sv 8.45824.45824.45824.45824.1.1.45824.316).(0.45824.20).1.pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz162\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop3039\shpright10028\shpbottom3060\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz168\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 21}} {\sp{\sn pVerticies}{\sv 8.1).(0.1.(8893.16384.11.1.1.5.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop2744\shpright10028\shpbottom3060\shpfhdr0\s .(0.16384.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(18.45824.45824.45824.45824.21).(0.45824.1.11.(0.1.316).45824.45824.1.(8893.16384.(0.20).0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.1)}} {\sp{\sn pSegmentInfo}{\sv 2.20).(8894.11.(18.5.1.45824.21).(0.45824.(0.1).45824.

45824.(8894.0). \line \up0 \expndtw-3\charscalex100 do. \line \up0 \expndtw-3\charscalex100 append it ab_obj. \par\pard\ql \li1251\r i8571\sb5\sl-555\slmult0 \up0 \expndtw-4\charscalex100 move \u8216?2\u8217? to w a-num.5.1.45824.1.20)}} {\sp{\sn pSegmentInfo}{\sv 2.0).hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz180\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 316}} {\sp{\sn pVerticies}{\sv 8. \par\pard\ql \li1251\ri8648 \sb54\sl-555\slmult0 \up0 \expndtw-4\charscalex100 move \u8216?1\u8217? to wa-nu m.45824.45824.(17.0).1.316).16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.5.(18. \line \up0 \expndtw-3\charscalex100 loop at itab_obj.45824.45824.11.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop2743\shpright10027\shpbottom3059\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz180\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 316}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.1.0).20).45824.11. itab_obj-num1.45824.(0.11.316).(18.1.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g10}{\bkmkend Pg10}\par\pard\qj \li1251\sb0\sl-540\slmult0 \par\pard\qj\li1251\r i10287\sb93\sl-540\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\ fs24 n =0.45824.(0.1.316).5.(17.0).1.20).(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(8894.(0.45824. \lin e \up0 \expndtw-3\charscalex100 move wa to itab_obj. \line \up0 \expndtw-4\charscalex100 move \u8216?10\u8217? to wa-num. \up0 \expndtw-3\charscalex100 endloop.316).16384.1.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} . \par\pa rd\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\par d\ql\li1251\sb243\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Output \par\pard\ qj \li1251\ri10158\sb30\sl-560\slmult0 \up0 \expndtw-3\charscalex100 --------\li ne \up0 \expndtw-3\charscalex100 1 1 \par\pard\qj \li1251\ri10497\sb5\sl-555\slm ult0 \up0 \expndtw-3\charscalex100 1 2 \line \up0 \expndtw-3\charscalex100 1 3 \ line \up0 \expndtw-3\charscalex100 1 4 \line \up0 \expndtw-3\charscalex100 1 5 \ line \up0 \expndtw-3\charscalex100 1 6 {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.1.(0.0).(0.45824.45824. \par\pard\qj \li1251\ri6955\sb1\sl-560\slmult0 \up0 \expndtw-3\charscalex100 wri te:/ itab_obj-num. \line \up0 \expndtw-3\ charscalex100 move wa to itab_obj.1.16384. \par\pard\ql \li1251\sb239\sl -276\slmult0 \up0 \expndtw-3\charscalex100 n = n +1.(0. \line \up0 \expndtw-3\charscalex100 move n to wa-num1.(0. \line \up0 \expndtw-3\chars calex100 append itab_obj.45824.45824. \line \up0 \expndtw-3\charscalex100 while n <=10.

16384.(8894.5.3276 .32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14444\shpright10028\shpbottom14464\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1).7).16384.45824.11.(8893.16384.1).0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).1.45824.(0.45824.1.(0.(0.45824.(0.(0.1.{\sp{\sn pVerticies}{\sv 8.1.45824.45824.45824.(8894.(0.13372).(8893.9.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom14464\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13372}} {\sp{\sn pVerticies}{\sv 8.45824.45824.0).1.0).45824.45824.20).45824.5.13372)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.45824.16384.1.(0.(0.(0.1.45824.1.45824.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom14464\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13372}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.4.(0.13372).7).1.4.45824.0).1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom14464\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13372}} {\sp{\sn pVerticies}{\sv 8.(18.1).(17.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.1.45824.1.45824.13372).20).45824.(18.13372)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.9.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.13372).0).1.11.(0.11.5.1.1.20).45824.5.13372).20).(0.1.(0.1.1).1.16384.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(8893.(18.45824.1.(17.(0.(8893.11.(0.16384.45824.13372).45824.1.45824.0).1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14444\shpright10027\shpbottom14464\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.

NE. \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1 262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb273\sl-276\slmult0 \up0 \expndtw-2\ charscalex100 Except for EQ. \ul0\nosupersub\c f4\f5\fs24 Comparing Internal Tables: -\par\pard\ql \li1262\sb0\sl-275\slmult0 \ par\pard\ql\li1262\sb0\sl-275\slmult0 \par\pard\ql\li1262\sb0\sl-275\slmult0 \pa r\pard\ql\li1262\ri1063\sb20\sl-275\slmult0 \up0 \expndtw-2\charscalex100 \ul0\n osupersub\cf2\f3\fs24 Internal tables can be compared with the operands that are used to compare other data objects. GT.45824. \up0 \expndtw-3\charscalex10 0 the following syntax applies: \par\pard\ql \li2823\sb0\sl-276\slmult0 \par\par d\ql\li2823\sb0\sl-276\slmult0 \par\pard\ql\li2823\sb0\sl-276\slmult0 \par\pard\ ql\li2823\sb19\sl-276\slmult0 \up0 \expndtw-4\charscalex100 SORT <itab> [ASCENDI NG|DESCENDING] [AS TEXT] [STABLE] \par\pard\qj \li1262\sb0\sl-260\slmult0 \par\p ard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\par d\qj\li1262\ri923\sb78\sl-260\slmult0 \up0 \expndtw-2\charscalex100 In the absen ce of the table key field during declaration the default key is the non-numerica l field of the \line \up0 \expndtw-3\charscalex100 table.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g11}{\bkmkend Pg11}\par\pard\qj \li1251\sb0\sl-550\slmult0 \par\pard\qj\li1251\r i10497\sb355\sl-550\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5 \fs24 1 7 \line \up0 \expndtw-3\charscalex100 1 8 \line \up0 \expndtw-3\charscal ex100 1 9 \par\pard\qj \li1251\ri10377\sb2\sl-560\slmult0 \up0 \expndtw-3\charsc alex100 1 10 \line \up0 \expndtw-3\charscalex100 2 10 \par\pard\qj \li1262\sb0\s l-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl260\slmult0 \par\pard\qj\li1262\ri1849\sb48\sl-260\slmult0 \up0 \expndtw-2\chars calex100 \ul0\nosupersub\cf2\f3\fs24 Now the internal table \u8216?itab_obj\u821 7? has values as shown above. The \line \up0 \expndtw-2\charscalex100 larger the number of lines. \ul0\nosup ersub\cf4\f5\fs24 Sorting Internal Tables: -\par\pard\qj \li1262\sb0\sl-260\slmu lt0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult 0 \par\pard\qj\li1262\ri1203\sb78\sl-260\slmult0 \up0 \expndtw-2\charscalex100 \ ul0\nosupersub\cf2\f3\fs24 If you want to sort a standard or hashed table using its table key (defined at the time of declaration).(0.45824.9. \line \up0 \expndtw-3\charsc alex100 GE. If the both the internal tables have same \lin e \up0 \expndtw-2\charscalex100 number of lines.8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom14464\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13372}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 .45824. The \line \up0 \expndtw-2\charscalex100 mos t important criteria for comparing the internal table are the number of lines th ey contain. the comparison stops at the first pair of component s that identifies the condition false.0).13372).16384.13372).45824.(17. then they are compared line by line. LT.1.(17.4. The operands used for comparisons are LE. the larger it is for comparisons.0)}} {\sp{\sn pSegmentInfo}{\sv 2. EQ.1.(0.1. Alternatively you can use equal \up0 \expndtw-3\ch arscalex100 statements as well. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\par d\ql\li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb0\sl-276\slmult0 \par\pard\ ql\li1321\sb19\sl-276\slmult0 \up0 \expndtw-4\charscalex100 3. \par\pard\ql \li1262\sb0\sl-276\slmult0 \ par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \pa r\pard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-4\charscalex100 4.

(8894.45824.1.45824.16384.45824.1.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom3899\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ .1).45824.1.11.1.45824.16384.45824.1).0).2808).45824.16384.(8894.(0.9.1.1.1)}} {\sp{\sn pSegmentInfo}{\sv 2.2808).4.5.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop3879\shpright10028\shpbottom3900\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 21}} {\sp{\sn pVerticies}{\sv 8.1.21).1.(0.20).(8893.5.(18.11.1.45824.20).0).(8893.(8893.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.1.45824.45824.16384.45824.11.(0.(0.1).45824.45824.(0.7).2808)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.45824.{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.0).(0.45824.(8894.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop3879\shpright10027\shpbottom3899\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.20).(8893.1.1.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.1.(0.45824.20).45824.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom3900\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 2808}} {\sp{\sn pVerticies}{\sv 8.1.(8894.(18.1.5.0).16384.45824.(0.(0.21).45824.45824.1).45824.11.(0.7).(0.45824.1.45824.1.(0.20)}} {\sp{\sn pSegmentInfo}{\sv 2.

1.45824.4.45824.16384.45824.2807).32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom3900\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 2808}} {\sp{\sn pVerticies}{\sv 8.1.\sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 2807}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom3899\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 2807}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. \par\pard\ql \li1262\s b0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0 \sl-276\slmult0 \par\pard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 \ul0\nosupersub\cf4\f5\fs24 AS TEXT addition: -\par\pard\qj \li1262\sb0\sl -280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri968\sb 261\sl-280\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 Thi s addition is used to sort the strings in alphabetical order.(17.(0.(0.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.1.(17.2808)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.2807). this addition is used to sort the fields either in ascending or in descending order \up0 \expndtw-3\charscalex100 specified.1.45824.2807).(0.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g12}{\bkmkend Pg12}\par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\s b0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0 \sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri127 6\sb105\sl-260\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 You cannot sort a sorted table. It can be used to .2808).16384.1.2808).9. \par\pa rd\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \ex pndtw-2\charscalex100 The above syntax sorts the internal table according to the <field1> instead of the table key.1. as they are sorted dynamically using the key sp ecified at the time of \up0 \expndtw-3\charscalex100 declaration.(17.(18.1.(0.45824.45824.(0.5.(17.45824.45824.16384.1).2807). \par\pard\ql \li1262\sb0\sl-276\slmult0 \par \pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\p ard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\ cf8\f9\fs24\ul ASCENDING|DESCENDING addition:\ul0\nosupersub\cf2\f3\fs24 -\par\ pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\p ard\qj\li1262\ri1089\sb261\sl-280\slmult0 \up0 \expndtw-2\charscalex100 As the n ame implies.0).1.11.1. \par\pard\ql \ li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li 1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb19\sl-276\slmult0 \up0 \expndtw-2\ charscalex100 If you want to sort a standard or hashed table using different key the following syntax applies: \par\pard\ql \li2942\sb0\sl-276\slmult0 \par\pard \ql\li2942\sb0\sl-276\slmult0 \par\pard\ql\li2942\sb0\sl-276\slmult0 \par\pard\q l\li2942\sb16\sl-276\slmult0 \up0 \expndtw-4\charscalex100 SORT <itab> ASCENDING |DESCENDING] AS TEXT [STABLE\} \par\pard\ql \li3396\sb264\sl-276\slmult0 \up0 \e xpndtw-4\charscalex100 BY <field1> ASCENDING|DESCENDING] AS TEXT\u8230?.0).4.(18.45824.45824.1.9.(0.1).(0.

1.1.1. \par\pard\ql \li1251\sb0\sl-28 8\slmult0 \par\pard\ql\li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb278\sl-28 8\slmult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf4\f5\fs24 sort itab_ob j \u8216? sorts the itab (from Table 1) using table key in {\shp {\*\shpinst\shpleft1134\shptop14136\shpright10028\shpbottom14156\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz594\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.45824. the sort order changes often .(0.45824.5. Without this addition.1.45824.5.5.11.45824.0).45824.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ .45824.(8894.0).1.45824.20).16384.16384.0).0).(8894.1.45824.(8893.1.1.(0.(0.45824.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.20).(0.sort the entire table or a \up0 \expndtw-2\charscalex100 single field with the p rovision that it must be type C.20).45824.1.20).1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14711\shpright10027\shpbottom14731\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz600\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(8894.1.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14135\shpright10027\shpbottom14155\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz594\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14712\shpright10028\shpbottom14732\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz600\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.45824.45824.45824.20).(0.45824.1.(0.0).0).0).11.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(8893.20).16384.(8893.20).45824.45824.(0.(8893.20).11. \par\pard\ql \li1262\ sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb 0\sl-276\slmult0 \par\pard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-4\charsca lex100 \ul0\nosupersub\cf4\f5\fs24 STABLE addition: -\par\pard\qj \li1262\sb0\sl -280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1283\s b261\sl-280\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 If you sort a table several times using the same key. In order to have a \up0 \expndtw-2\charscalex100 stabilized order this additio n is used so that the sort order does not change.(0.(0. the system sorts accordi ng \up0 \expndtw-3\charscalex100 to the hardware platform.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.(8894.45824.11.16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.

5.(0.(17.1.1.11.45824.(0.596).1.16384.45824.1.45824.596).596).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop14136\shpright10028\shpbottom14732\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz612\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 596}} {\sp{\sn pVerticies}{\sv 8.5.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(17.1.45824. \up0 \expndtw-3\charscalex100 Loop at itab_obj.11.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop14135\shpright10027\shpbottom14731\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz612\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 596}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0).45824.45824.45824.5.45824.11.0).(0.11.0).16384.(0.5.1.45824.45824.(0.45824.0).1.45824.(0.(0. \par\pard\qj \li1251\ri6891\sb17\sl-540\slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab_ob .(17.0).(17.45824.(18.45824.45824.596).(18.45824.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14135\shpright1151\shpbottom14731\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz606\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 596}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.596).1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g13}{\bkmkend Pg13}\par\pard\ql \li2211\sb0\sl-276\slmult0 \par\pard\ql\li2211\s b0\sl-276\slmult0 \par\pard\ql\li2211\sb0\sl-276\slmult0 \par\pard\ql\li2211\sb0 \sl-276\slmult0 \par\pard\ql\li2211\sb27\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 \ul0\nosupersub\cf4\f5\fs24 ascending (default) \par\pard\ql \li1251\ri418 9\sb30\sl-560\slmult0\tx3292 \up0 \expndtw-3\charscalex100 sort itab_obj by num descending \u8216? sorts itab using key defined in \line\tab \up0 \expndtw-3\cha rscalex100 descending order \par\pard\qj \li1251\sb0\sl-560\slmult0 \par\pard\qj \li1251\ri7230\sb40\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Sort itab_obj b y num1 descending.1.(0.1.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.(18.0).(18.596).0).1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.16384.(0.1.1.45824.45824.0).16384.(0.596).(0.\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14136\shpright1152\shpbottom14732\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz606\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 596}} {\sp{\sn pVerticies}{\sv 8.1.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.596).

16384.(0.(0. \up0 \expndtw-3\charscalex100 Endloop.45824.45824.20).(8893.1.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s . itab_obj-num.0).11.16384.(8894.20).5. \par\pard\qj \li1251 \ri6891\sb0\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab_obj-num1.1.(0.1.(8893.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2768\shpright10027\shpbottom2788\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.20).45824.1. \up0 \expndtw-3\charscalex100 Endloop.1.(0.1.45824. \up0 \expndtw-3\charscalex100 Loop at itab_obj.1.45824.7). \par\pard\qj \li1251\ ri6891\sb0\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab_obj-num1.45824. itab_obj-num.20)}} {\sp{\sn pSegmentInfo}{\sv 2.1.5.45824.45824.11.45824. \par\pard\qj \li1251\ri6569 \sb0\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Sort itab_obj by num1 descendi ng stable.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(0.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2. \up0 \expndtw-3\charscalex100 Endloop.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.16384.9.4.(0.45824.16384.1.0).(0.0).45824.1.45824.(0.(0.45824.1.(8893.(8893.20).32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2768\shpright10028\shpbottom2788\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.5.1. \par\pard\ql \li1251\sb0\sl276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb203\sl276\slmult0 \up0 \expndtw-3\charscalex100 Output \par\pard\ql \li1251\sb0\sl-276 \slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 -------\par\pard\qj \li1251\ri4518\sb50\sl-560\slmult0 \up0 \expndtw-3\charscalex 100 The first write Statement outputs (I have taken only 3 values) \line \up0 \e xpndtw-3\charscalex100 10 1 \par\pard\qj \li1251\ri10377\sb17\sl-540\slmult0 \up 0 \expndtw-3\charscalex100 10 2 \line \up0 \expndtw-3\charscalex100 9 1 {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.0).(8894.20).1.20).7).45824.j-num1.(8894.1. i tab_obj-num.(0.11. \up0 \expndtw-3\charscalex100 Loop at itab_obj.0).(8894.0)}} {\sp{\sn pSegmentInfo}{\sv 2. \par\pard\qj \li125 1\ri7230\sb4\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Sort itab_obj by num1 descending.0).45824.

1.1.1696)}} {\sp{\sn pSegmentInfo}{\sv 2.9.5.16384.45824.1696).1.1696).45824.(18.1).1.1.1).1696).(0.45824.20).1.(0.1.(0.(17.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom2788\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1696}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.0).1.45824.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.1696).16384.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom2788\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1696}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.(18.1.1).45824.4.0).(0.45824.45824.11.(8894.1696).45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.11.20).(0.1.1).(0.45824.1.16384.45824.1.(0.(0.(17.45824.45824.(18.45824.45824.1696)}} {\sp{\sn pSegmentInfo}{\sv 2.0).(0.(0.4.5.(17.(8894.1696).1.1696).45824.1.16384.1696).45824.45824.45824.(17.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop3624\shpright10028\shpbottom3644\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz486\shplid8 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.(0.45824.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} .32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom2788\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1696}} {\sp{\sn pVerticies}{\sv 8.1.(0.1.9.11.16384.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom2788\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1696}} {\sp{\sn pVerticies}{\sv 8.5.1.

(0.1.0).45824.45824.45824.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14208\shpright10027\shpbottom14228\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz492\shplid11 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.(8893.45824.(0.0).(8893.(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop3624\shpright1152\shpbottom14228\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz498\shplid12 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 10604}} {\sp{\sn pVerticies}{\sv 8.45824.(8893.45824.10605).(0.45824.45824.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.16384.0).1.45824.(0.(0.45824.(18.(8893.16384.1.20).(8894.0).1.10604).45824.45824.11.16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.20).(0.(0.16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.20).}} {\shp {\*\shpinst\shpleft1134\shptop3623\shpright10027\shpbottom3643\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz486\shplid9 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(18.(0.45824.1.45824.1.(0.(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14208\shpright10028\shpbottom14228\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz492\shplid10 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.(0.(17.1.0).1.1.(0.0).1.(0.45824.1.20).(0.5.5.45824.0).11.5.45824.11.16384.45824.0).1.10605).1.5.45824.1.11.1.0).1.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} .10604).20).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop3623\shpright1151\shpbottom14228\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz498\shplid13 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 10605}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(8894.20).1.5.1.11.(17.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.

Of all the three tables listed in this document.45824.5.0). it is advisable to create a st andard table and then copy to the table of need.\par\pard\li1262\sb0\sl-276\slmult0\fi359 \up0 \expndtw-3 \charscalex100 The simple form of Append is as follows:\par\pard\ql \li5370\sb0\ sl-276\slmult0 \par\pard\ql\li5370\sb0\sl-276\slmult0 \par\pard\ql\li5370\sb268\ sl-276\slmult0 \up0 \expndtw-3\charscalex100 APPEND <itab>.11.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g14}{\bkmkend Pg14}\par\pard\qj \li1251\sb0\sl-540\slmult0 \par\pard\qj\li1251\r i6751\sb373\sl-540\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\ fs24 The second write statement may output \line \up0 \expndtw-3\charscalex100 1 0 2 \par\pard\qj \li1251\ri10377\sb4\sl-560\slmult0 \up0 \expndtw-3\charscalex10 0 10 1 \line \up0 \expndtw-3\charscalex100 9 1 \par\pard\ql \li1251\sb0\sl-270\s lmult0 \par\pard\ql\li1251\sb0\sl-270\slmult0 \par\pard\ql\li1251\ri2216\sb260\s l-270\slmult0 \up0 \expndtw-2\charscalex100 As you see although you sorts in des cending order the itab_obj-num changes in first \up0 \expndtw-2\charscalex100 an d second output.45824.45824.Appending the table is one of the quickest ways to fill the index tables. As it does not allow UNIQUE key.0).(18.0)}} {\sp{\sn pSegmentInfo}{\sv 2. Hence.1.1.10605).(17. \par\pard\li1262\sb0\sl-276\slm ult0\par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb0\sl-276\slmult0\par\p ard\li1262\sb27\sl-276\slmult0\fi0\tx1801 \up0 \expndtw-3\charscalex100 1.45824.10604).16384.0). Standard table is more \par\pard\qj \li12 62\ri916\sb18\sl-260\slmult0 \up0 \expndtw-2\charscalex100 flexible. the above state . there are not many constraints to be checked before fillin g \up0 \expndtw-2\charscalex100 the table.16384.(0.1.45824.(0.(18.10605).1.11.45824.1. \par\pard\q j \li1251\sb0\sl-560\slmult0 \par\pard\qj\li1251\ri6644\sb51\sl-560\slmult0 \up0 \expndtw-3\charscalex100 The third write statement with STABLE \line \up0 \expn dtw-3\charscalex100 10 1 \par\pard\qj \li1251\ri10377\sb17\sl-540\slmult0 \up0 \ expndtw-3\charscalex100 10 2 \line \up0 \expndtw-3\charscalex100 9 1 \par\pard\q l \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql \li1262\sb267\sl-276\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf1\f 2\fs24 Operations for Index Tables\ul0\nosupersub\cf2\f3\fs24 : .45824.0).) \par\pard\ql \li1262\sb4\sl276\slmult0 \up0 \expndtw-2\charscalex100 Standard and Sorted Tables.}} {\shp {\*\shpinst\shpleft10010\shptop3624\shpright10028\shpbottom14228\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz504\shplid14 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 10604}} {\sp{\sn pVerticies}{\sv 8.1.1. \par\pard\qj \li1262 \sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\s b0\sl-280\slmult0 \par\pard\qj\li1262\ri1277\sb1\sl-280\slmult0 \up0 \expndtw-2\ charscalex100 When an internal is declared with the header line.e. But with addition STABLE you always have the same order \up0 \e xpndtw-3\charscalex100 doesn\u8217?t matter how many times you sort.1.(0.45824.(0.(0.5.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop3623\shpright10027\shpbottom14228\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz504\shplid15 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 10605}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.\tab \ up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Appending Table lines: \ul0\nosupersub\cf2\f3\fs24 .0)}} {\sp{\sn pSegmentInfo}{\sv 2.10604).45824.(17.The following operations are allowed only for Index tables (i.

1.20).20)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom7788\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 6696}} {\sp{\sn pVerticies}{\sv 8.16384.1.16384.11.1.45824.1.5.(8893.(0.(0.6696).45824.9.0).(0.(8894.16384.45824.1.(8893.(8894.ment moves the contents from the \line \up0 \expndtw-2\charscalex100 table (defi ned in <line type>) to the header line and then copied to the body of the intern al table.1.45824.1).1.(0.(0.1).1.16384.0).1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.45824.1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop7767\shpright10028\shpbottom7788\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 21}} {\sp{\sn pVerticies}{\sv 8.7).21).7).1.20).11.1.1.1.(0.45824.45824.45824.45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.(0.5.45824.(8893.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop7767\shpright10027\shpbottom7787\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.1.1).(0.5.45824.45824.16384.5.1.(18.(8893.1.0).(0.45824.(8894.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s .45824.45824.45824.45824.6696).45824.45824.6696)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.45824. {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.11.20).1.(8894.4.20).(0.21).0).0).(0.1).11.

0)}} {\sp{\sn pSegmentInfo}{\sv 2.6695).6696).1.16384.9.1.45824.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom7788\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 6696}} {\sp{\sn pVerticies}{\sv 8.(17.(0.45824.45824.16384. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult 0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1136\sb1\sl-280\s lmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Note:\ul0\nosup ersub\cf2\f3\fs24 Often during programming.45824.1).45824.1.1.4.45824.(0.(17.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom7787\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 6695}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1. \par\pard\ql \l i1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1 262\sb272\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Appending Several Lines o f Internal Table: -\par\pard\ql \li2990\sb0\sl-276\slmult0 \par\pard\ql\li2990\s b0\sl-276\slmult0 \par\pard\ql\li2990\sb0\sl-276\slmult0 \par\pard\ql\li2990\sb1 6\sl-276\slmult0 \up0 \expndtw-3\charscalex100 APPEND LINES OF <itab1> [FROM <n1 > TO <n2>] TO <itab2> \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li126 2\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb272\sl-276\slmult0 \up0 \expndtw-3\ch arscalex100 The above statement is used to append the whole of <itab1> to <itab2 >.11.1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g15}{\bkmkend Pg15}\par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\s b0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri1 826\sb65\sl-260\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs2 4 If the Internal table and work area and declared separately with the same <lin e type> then the \up0 \expndtw-3\charscalex100 following syntax applies.(18. it is always better to declare work area and internal table s eparately in terms of \up0 \expndtw-3\charscalex100 performance.(17.1.(18.45824.45824.4. \par\pa rd\ql \li4880\sb0\sl-276\slmult0 \par\pard\ql\li4880\sb0\sl-276\slmult0 \par\par d\ql\li4880\sb0\sl-276\slmult0 \par\pard\ql\li4880\sb19\sl-276\slmult0 \up0 \exp ndtw-3\charscalex100 APPEND <wa> TO <itab>.16384.45824.5. you might not realize what APPEND e .6695).6696).0)}} {\sp{\sn pSegmentInfo}{\sv 2.(17.0).(0.1).45824.6695).6696)}} {\sp{\sn pSegmentInfo}{\sv 2.1.(0.(0.9.(0.(0.p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom7787\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 6695}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. \par\pard\qj \li1262\sb0\sl-280\slmu lt0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult 0 \par\pard\qj\li1262\ri1097\sb1\sl-280\slmult0 \up0 \expndtw-2\charscalex100 As mentioned before.45824.0).45824.1.1.6695).45824.

0).1.20).45824. the same applies e xcept we have to keep up with the key defined during the \up0 \expndtw-3\charsca lex100 declaration of internal table. \par\pard\qj \li1262\sb0\sl-260\slmult0 \p ar\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par \pard\qj\li1262\ri983\sb77\sl-260\slmult0 \up0 \expndtw-2\charscalex100 The prog ram below shows two forms of append statement depending on the header line decla ration of \up0 \expndtw-3\charscalex100 the internal table \par\pard\ql \li1251\ sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb 0\sl-276\slmult0 \par\pard\ql\li1251\sb39\sl-276\slmult0 \up0 \expndtw-3\charsca lex100 \ul0\nosupersub\cf4\f5\fs24 data : begin of struct.20).5.45824.(8893.45824.(0.5.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.1.(0.1.20).(0. it \up0 \expndtw-2\charscalex100 always adds the table thereby keeping the existing entries if the table is not empty.(0.(0.45824.0).45824.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14712\shpright10028\shpbottom14732\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz540\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.0).45824.0)}} .1. \line \up0 \expndtw-4\charscalex100 ersda like mara-ersda.(0.16384.11.1.11.(8894.(0.(0.(0.16384.1.xactly does.20).16384.(8893.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop13024\shpright10027\shpbottom13044\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz534\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0). \par\pard\ql \l i1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-2\ charscalex100 The <n1> and <n2> determines the index of the first and last lines of <itab1> to be copied to <itab2>. \par\pard\qj \li1262\sb0\sl-280\slmult0 \pa r\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri917\sb261\sl-280\slmul t0 \up0 \expndtw-2\charscalex100 In the case of Sorted table.5.1.45824.1.45824. \par\pard\qj \li1851\ ri7738\sb50\sl-560\slmult0 \up0 \expndtw-4\charscalex100 matnr like mara-matnr.45824.1.(8894.45824.20).0).(0.45824.(8894. At any case.45824.(8893.11.1.45824.20).0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.5.45824.20).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14711\shpright10027\shpbottom14731\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz540\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. {\shp {\*\shpinst\shpleft1134\shptop13024\shpright10028\shpbottom13044\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz534\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.(8894.1.(8893.0).20).

1.1707).1.45824.1707). \par\pa rd\ql \li1251\sb239\sl-276\slmult0 \up0 \expndtw-3\charscalex100 types tab type standard table of struct.0).11.45824.45824.(0.1.1.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.1708).(18.45824.45824.(0.(0.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.(0.45824.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.16384.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop13024\shpright1152\shpbottom14732\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz546\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1708}} {\sp{\sn pVerticies}{\sv 8.45824.45824.(0.(0.1.{\sp{\sn pSegmentInfo}{\sv 2.1708).11.11.45824.(17.45824.11.45824.45824. \up0 \expndtw-3\charscalex100 end of struct.45824.11.45824.5.1.45824.(17.5.0).1.16384.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g16}{\bkmkend Pg16}\par\pard\qj \li1851\sb0\sl-540\slmult0 \par\pard\qj\li1851\r i7685\sb373\sl-540\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\ fs24 ernam like mara-ernam.1708).(0.(0.45824.(17.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop13024\shpright10028\shpbottom14732\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz552\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1708}} {\sp{\sn pVerticies}{\sv 8.1.1.1.16384.(0. \par\pard\qj \li1251\sb0\sl-560\slmult0 \par\pard\qj\l i1251\ri6218\sb50\sl-560\slmult0\tx1911 \up0 \expndtw-3\charscalex100 Data: it .0).(18.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.(0.45824.16384.(0.0).16384.1.1.0).5.(0.1.1708).45824.1.1.45824.1707).1707).0).45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop13024\shpright10027\shpbottom14731\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz552\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1707}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.(17.(18.45824.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop13024\shpright1151\shpbottom14731\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz546\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1707}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.45824.5.

{\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.(0.5.45824.(8894.4.45824.(8894.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop9440\shpright10028\shpbottom9460\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1. This \up0 \expndtw-3\charscalex100 statement works the same way as the above but better in performance.45824.(8893.0).1.(8893. \line\tab \up0 \expndtw-3\charscalex100 i tab1 like table of tab. \par\pard\ql \li1251\sb235\sl-276\slmult0 \up0 \expndtw -3\charscalex100 endselect.45824. \up0 \expndtw-3\charscalex100 endselect.0)}} {\sp{\sn pSegmentInfo}{\sv 2.7). \par\pard\qj \li1251\sb0\sl-560\slmu lt0 \par\pard\qj\li1251\ri4492\sb73\sl-560\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 select matnr ersda ernam from mara appending fields of itab.45824.0).45824.45824. \par\pard\ql \li1911\sb235\sl-276\slmult0 \up0 \expndtw3\charscalex100 wa like line of itab.11.7).(0.(0.(0. \up0 \expndtw-3 \charscalex100 append itab.(0.1.1. \up0 \expndtw-3\charscal ex100 append wa to itab. \par\pard\qj \li1251\sb0\sl-560\slmult0 \par\pard \qj\li1251\ri3699\sb30\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Select matnr ersda ernam from mara into corresponding fields of wa.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop9440\shpright10027\shpbottom9460\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 . \par\pard\qj \li1251\sb0\sl-560\slmult0 \p ar\pard\qj\li1251\ri3632\sb30\sl-560\slmult0 \up0 \expndtw-3\charscalex100 selec t matnr ersda ernam from mara into corresponding fields of itab.45824.(8894.1.45824.45824.45824.0).1.20).9.(0.45824.16384.20).16384.1.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.11.20).0).45824.ab like table of tab with header line.16384.1.(0.20). \par\pard\ql \li1251\sb0\sl-2 76\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb223\sl-2 76\slmult0 \up0 \expndtw-3\charscalex100 select matnr ersda ernam from mara appe nding fields of table itab. \par\pard\ql \li1251\sb235\sl-276\slmult0 \up0 \expn dtw-3\charscalex100 endselect.1.20)}} {\sp{\sn pSegmentInfo}{\sv 2.(8894. \par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\l i1262\ri1616\sb98\sl-260\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\c f2\f3\fs24 Alternatively you can modify the select without append and endselect statement as shown.45824.

45824.0).{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.1).(0.1.(0.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(0.1.16384.(0.5.45824.1.8368).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom9460\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 8368}} {\sp{\sn pVerticies}{\sv 8.8368).45824.0).(17.16384.45824.45824.4.45824.11.(0.45824.45824.1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11684\shpright10028\shpbottom11704\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz732\shplid8 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} .45824.4.5.20).(0.(0.(0.0).5.1).45824.(8893.1.1.8368).0)}} {\sp{\sn pSegmentInfo}{\sv 2.(18.45824.1.11.0).32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom9460\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 8368}} {\sp{\sn pVerticies}{\sv 8.1.45824.(18.1.45824.16384.11.1.(0.(8893.(18.(0.8368).9.1).1.(18.8368)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.45824.9.45824.1.(17.8368).45824.8368)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(0.8368).8368).1).0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.45824.(17.16384.16384.20).45824.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom9460\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 8368}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.8368).(0.1.45824.(17.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom9460\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 8368}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.

1.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11684\shpright1151\shpbottom13668\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz744\shplid13 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1984}}{\sp{\sn shapePath}{\sv 4}} .(0.45824.(0.0).45824.1.(18.1.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop13648\shpright10027\shpbottom13668\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz738\shplid11 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.{\sp{\sn pVerticies}{\sv 8.(8893.1.45824.11.(0.0).0).0).1.1.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.20).(8893.1.(18.(0.(0.(8893.20).5.45824.(8894.0).11.20).1.1984).45824.45824.45824.20).16384.1.(0.(8894.11.(8894.(0.45824.45824.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11684\shpright1152\shpbottom13668\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz744\shplid12 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1984}} {\sp{\sn pVerticies}{\sv 8.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11684\shpright10027\shpbottom11704\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz732\shplid9 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.20).11.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.(8893.1.1.20).0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop13648\shpright10028\shpbottom13668\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz738\shplid10 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.16384.45824.1.45824.1.1.16384.45824.5.45824.0).(8894.5.(0.0).1.11.1.(0.0).(0.45824.(0.0).45824.45824.16384.(0.45824.(0.45824.(0.0).1984).0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.45824.45824.16384.1.45824.20).20).

45824.1.45824.(17.11.0).45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824. To insert a single line to \up0 \expndtw-3\charscalex100 the following syntax applies: \par\pard\ql \li1321\sb264\sl-276\slmult0 \up0 \expnd tw-4\charscalex100 INSERT <line> INTO <itab> [INDEX <index>] \par\pard\qj \li126 2\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ sb0\sl-280\slmult0 \par\pard\qj\li1262\ri969\sb1\sl-280\slmult0 \up0 \expndtw-2\ charscalex100 The <line> can be a work area that is either compatible or convert ible to the <line type> declared with \up0 \expndtw-3\charscalex100 the internal table. When the total number of lines of .45824.1984).The INSERT statement allows you to insert lines to the Index t ables.(18.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop11684\shpright10027\shpbottom13668\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz750\shplid15 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1984}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1984).45824.5.1.1.1984).1.45824.45824.0).(0.1. the internal table is filled before the line specified in <index> and the \par\pard\ql \li1262\sb4\sl-276\slmult0 \up0 \expndtw-2\charscalex100 follow ing line\u8217?s index is incremented by one.(17.(17.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1984). \up0 \expndtw-3\charscalex100 APPEND is considered to be the best in terms of performance.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g17}{\bkmkend Pg17}\par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb0\sl-27 6\slmult0\par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb0\sl-276\slmult0\ par\pard\li1262\sb0\sl-276\slmult0\par\pard\li1262\sb11\sl-276\slmult0\fi0\tx180 1 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf2\f3\fs24 2.\par\pard\qj \li1621\ri1663\sb0\sl-280\slmult0 \up0 \expndtw-2\charscalex1 00 This command is opt for Sorted table. this statement is allowed only within a loop so that it inserts the lines to \up0 \expndtw-3\charscalex100 internal table there by incrementing index automatically.0). \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\s lmult0 \par\pard\qj\li1262\ri1002\sb260\sl-280\slmult0 \up0 \expndtw-2\charscale x100 Without the INDEX addition.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop11684\shpright10028\shpbottom13668\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz750\shplid14 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1984}} {\sp{\sn pVerticies}{\sv 8.1.45824.1.1984).(0.(0.45824.(0. Though we can use this command for stan dard table.{\sp{\sn pVerticies}{\sv 8.16384.16384.0).(0. \par\pard\ql \li1262\sb0\sl-276\slmult0 \pa r\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\ pard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-2\charscalex100 With the INDEX addition.0).(17. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li12 62\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri855\sb261\sl-280\slmult0 \up0 \expnd tw-2\charscalex100 Like APPEND. you can insert either a single line or multiple lines to the table.1984).(0.(0.45824.1.16384.45824.1.45824.\tab \up0 \expndtw -3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Inserting Table lines:\ul0\nosupers ub\cf2\f3\fs24 .45824.(0.11.0).11.1.45824.(18.5.(0.5.

1. \par\pard\qj \li1251\ri5771\sb0\sl-560\slmult0 \up0 \expndtw-3 \charscalex100 struct-empno = \u8216?0002\u8217?.20).1.45824.(8894.(0. \line\tab \up0 \ex pndtw-3\charscalex100 Empno type I \par\pard\qj \li1851\ri7658\sb4\sl-560\slmult 0 \up0 \expndtw-4\charscalex100 Empname(50) type char.20)}} {\sp{\sn pSegmentInfo}{\sv 2.The following syntax applies when you want to insert several lin es from one \up0 \expndtw-3\charscalex100 internal table to the other specifying the <index>.an internal table is \par\pard\ql \li1262\sb1\sl-256\slmult0 \up0 \expndtw-2\cha rscalex100 equal to <index> . itab-empname.45824. struct-empname = \u8216?Stephen\u8217?. \p ar\pard\ql \li2001\sb0\sl-276\slmult0 \par\pard\ql\li2001\sb0\sl-276\slmult0 \pa r\pard\ql\li2001\sb0\sl-276\slmult0 \par\pard\ql\li2001\sb16\sl-276\slmult0 \up0 \expndtw-2\charscalex100 INSERT LINES OF <itab1> [FROM <n1> TO <n2>] INTO <itab 2> [INDEX <index>] \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\s b0\sl-276\slmult0 \par\pard\ql\li1262\sb272\sl-276\slmult0 \up0 \expndtw-2\chars calex100 The above statement specifies <n1> and <n2> thereby the first and last lines of <itab1> to <itab2>.1.1.45824. \up0 \expndtw-3\charscalex100 Insert struct into itab. \par\pard\qj \li1251\ri7158\sb66\sl-540\slmult0 \u p0 \expndtw-3\charscalex100 Write:/ itab-empno.(0.(0. \par\pard\qj \li1251\ri4651\sb0\sl-560\slmult0 \up0 \expndtw -3\charscalex100 Types tab type sorted table of struct with unique key empno \up 0 \expndtw-3\charscalex100 Data : itab like tab with header line.(8894. the <line> is inserted at the end of the local table.1.1 lines. \par\pard\sect\sectd\fs24\paperw12240\paperh15840\p ard\sb0\sl-240{\bkmkstart Pg18}{\bkmkend Pg18}\par\pard\qj \li1251\sb0\sl-540\sl mult0 \par\pard\qj\li1251\ri8563\sb93\sl-540\slmult0\tx1851 \up0 \expndtw-3\char scalex100 \ul0\nosupersub\cf4\f5\fs24 Data : begin of struct.0). If a table has less than <index> \par\pard\ql \li1262\sb8\sl-276\slmult0 \up0 \expndtw-4\charscalex100 . \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251 \sb0\sl-276\slmult0 \par\pard\ql\li1251\sb247\sl-276\slmult0 \up0 \expndtw-3\cha rscalex100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb 8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 ---------\par\pard\qj \li1251\ri9 431\sb66\sl-540\slmult0 \up0 \expndtw-3\charscalex100 0001 Stephen \line \up0 \e xpndtw-3\charscalex100 0002 Jack \par\pard\ql \li1251\sb239\sl-276\slmult0 \up0 \expndtw-3\charscalex100 0003 Jill {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.0).5. struct-empname = \u8216?Jill\u8217?. \up0 \expndtw-3\ch arscalex100 Endloop.20).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} .11.45824. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\l i1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb223\sl-276\slmult0 \up0 \expndtw3\charscalex100 Loop at itab. \par\pard\qj \li1262 \sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\s b0\sl-280\slmult0 \par\pard\qj\li1262\ri922\sb1\sl-280\slmult0 \up0 \expndtw-2\c harscalex100 \ul0\nosupersub\cf4\f5\fs24 Inserting several lines:\ul0\nosupersub \cf2\f3\fs24 . \par\pard\qj \li12 51\ri5930\sb0\sl-560\slmult0 \up0 \expndtw-3\charscalex100 struct-empno = \u8216 ?0003\u8217?. \up0 \expndtw-3\charscalex100 Insert struct into itab.45824. \par\pard\ql \li1321\sb264\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 INSERT LINES OF <itab1> INTO <itab2> [INDEX <index>] \par\pard\qj \li1262\ sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1347\sb1\sl-280\slmult0\fi59 \up0 \expn dtw-2\charscalex100 The above statement inserts the lines from <itab1> to <itab2 > line by line like the above INSERT \up0 \expndtw-3\charscalex100 statement.16384. struct-empname = \u8216?Jack\u 8217?. \up0 \expndtw-3\charscalex100 Insert struct into itab. SY-SUBRC is set 4. \par\pard\qj \li1251\sb0\sl-560\slmult0 \par\pard\qj\li1251\ri5424\sb 30\sl-560\slmult0 \up0 \expndtw-3\charscalex100 struct-empno = \u8216?0001\u8217 ?. \par\pard\ql \li1911\sb235\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Jtab like tab with he ader line. \up0 \expndtw-4\charscale x100 End of struct.

}}
{\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh
pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}}
{\sp{\sn pVerticies}{\sv 8;4;(8893,0);(8893,7);(0,7);(0,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;9;16384;45824;1;45824;1;45824;1;45824;32768}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s
p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{
\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop14444\shpright10028\shpbottom14464\shpfhdr0\
shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}}
{\sp{\sn pVerticies}{\sv 8;5;(0,0);(8894,0);(8894,20);(0,20);(0,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s
p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s
p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop14444\shpright10027\shpbottom14464\shpfhdr0\
shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}}
{\sp{\sn pVerticies}{\sv 8;5;(0,0);(8893,0);(8893,20);(0,20);(0,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s
p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{
\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom14464\shpfhdr0\sh
pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13372}}
{\sp{\sn pVerticies}{\sv 8;5;(0,13372);(18,13372);(18,1);(0,1);(0,13372)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s
p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s
p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom14464\shpfhdr0\sh
pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13372}}{\sp{\sn shapePath}{\sv 4}}
{\sp{\sn pVerticies}{\sv 8;4;(0,0);(0,13372);(17,13372);(17,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;9;16384;45824;1;45824;1;45824;1;45824;32768}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s
p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{
\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}

{\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom14464\shpfhdr0\
shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13372}}
{\sp{\sn pVerticies}{\sv 8;5;(0,13372);(18,13372);(18,1);(0,1);(0,13372)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s
p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s
p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom14464\shpfhdr0\
shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13372}}{\sp{\sn shapePath}{\sv 4}}
{\sp{\sn pVerticies}{\sv 8;4;(0,0);(0,13372);(17,13372);(17,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;9;16384;45824;1;45824;1;45824;1;45824;32768}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s
p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{
\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P
g19}{\bkmkend Pg19}\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\s
b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0
\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\s
l-276\slmult0 \par\pard\ql\li1251\sb15\sl-276\slmult0 \up0 \expndtw-3\charscalex
100 \ul0\nosupersub\cf4\f5\fs24 Insert lines of itab into jtab. \par\pard\ql \l
i1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1
251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb16\sl-276\slmult0 \up0 \expndtw-3\c
harscalex100 Loop at jtab. \par\pard\qj \li1251\ri7132\sb50\sl-560\slmult0 \up0
\expndtw-3\charscalex100 Write:/ jtab-empno, jtab-empname. \up0 \expndtw-3\chars
calex100 Endloop. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb
0\sl-276\slmult0 \par\pard\ql\li1251\sb223\sl-276\slmult0 \up0 \expndtw-3\charsc
alex100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\s
l-276\slmult0 \up0 \expndtw-3\charscalex100 ---------\par\pard\qj \li1251\ri9431
\sb50\sl-560\slmult0 \up0 \expndtw-3\charscalex100 0001 Stephen \line \up0 \expn
dtw-3\charscalex100 0002 Jack \par\pard\ql \li1251\sb235\sl-276\slmult0 \up0 \ex
pndtw-3\charscalex100 0003 Jill \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\par
d\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\
qj\li1262\ri1511\sb1\sl-280\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersu
b\cf2\f3\fs24 The above program shows the demonstration of both the insert state
ments for a sorted table with \up0 \expndtw-5\charscalex100 unique key. \par\par
d\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0\tx1861 \u
p0 \expndtw-3\charscalex100 3. \tab \up0 \expndtw-3\charscalex100 \ul0\nosupersu
b\cf4\f5\fs24 Reading Lines using the Index\ul0\nosupersub\cf2\f3\fs24 . \par\pa
rd\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri1109\sb38\sl-260\slmult0\
fi59 \up0 \expndtw-2\charscalex100 In addition to inserting, lines from the loca
l tables can be read using READ statement. The syntax is \up0 \expndtw-3\charsca
lex100 as follows. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\s
b11\sl-276\slmult0 \up0 \expndtw-4\charscalex100 READ TABLE <itab> INDEX <index>
<result>. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-27
6\slmult0 \up0 \expndtw-3\charscalex100 The system reads the line with the <inde
x> from the table <itab>. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\l
i1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1
251\sb36\sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs2
4 Read table itab index 2 into struct. \par\pard\ql \li1251\sb264\sl-276\slmult0
\up0 \expndtw-3\charscalex100 Write:/ struct-empno, struct-empname.
{\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh
pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0

{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}}
{\sp{\sn pVerticies}{\sv 8;5;(0,20);(8894,20);(8894,0);(0,0);(0,20)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s
p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s
p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh
pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}}
{\sp{\sn pVerticies}{\sv 8;4;(8893,0);(8893,7);(0,7);(0,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;9;16384;45824;1;45824;1;45824;1;45824;32768}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s
p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{
\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop7772\shpright10028\shpbottom7792\shpfhdr0\sh
pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}}
{\sp{\sn pVerticies}{\sv 8;5;(0,0);(8894,0);(8894,20);(0,20);(0,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s
p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s
p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop7772\shpright10027\shpbottom7792\shpfhdr0\sh
pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}}
{\sp{\sn pVerticies}{\sv 8;5;(0,0);(8893,0);(8893,20);(0,20);(0,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s
p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{
\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom7792\shpfhdr0\shp
bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 6700}}
{\sp{\sn pVerticies}{\sv 8;5;(0,6700);(18,6700);(18,1);(0,1);(0,6700)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s
p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s
p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom7792\shpfhdr0\shp
bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{

\sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 6700}}{\sp{\sn shapePath}{\sv 4}}
{\sp{\sn pVerticies}{\sv 8;4;(0,0);(0,6700);(17,6700);(17,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;9;16384;45824;1;45824;1;45824;1;45824;32768}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s
p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{
\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom7792\shpfhdr0\s
hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 6700}}
{\sp{\sn pVerticies}{\sv 8;5;(0,6700);(18,6700);(18,1);(0,1);(0,6700)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s
p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s
p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom7792\shpfhdr0\s
hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 6700}}{\sp{\sn shapePath}{\sv 4}}
{\sp{\sn pVerticies}{\sv 8;4;(0,0);(0,6700);(17,6700);(17,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;9;16384;45824;1;45824;1;45824;1;45824;32768}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s
p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{
\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop12516\shpright10028\shpbottom12536\shpfhdr0\
shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz500\shplid8
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}}
{\sp{\sn pVerticies}{\sv 8;5;(0,0);(8894,0);(8894,20);(0,20);(0,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s
p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s
p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop12515\shpright10027\shpbottom12535\shpfhdr0\
shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz500\shplid9
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}}
{\sp{\sn pVerticies}{\sv 8;5;(0,0);(8893,0);(8893,20);(0,20);(0,0)}}
{\sp{\sn pSegmentInfo}{\sv 2;11;16384;45824;1;45824;1;45824;1;45824;1;45824;3276
8}}
{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s
p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{
\sv 1}}{\sp{\sn lineColor}{\sv 0}}
}}
{\shp {\*\shpinst\shpleft1134\shptop14204\shpright10028\shpbottom14224\shpfhdr0\
shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz506\shplid10
{\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{
\sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}}
{\sp{\sn pVerticies}{\sv 8;5;(0,0);(8894,0);(8894,20);(0,20);(0,0)}}

45824.0).(0.1.45824.45824.1709).16384.(0.1708).1.1.0).45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12516\shpright1152\shpbottom14224\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz512\shplid12 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1708}} {\sp{\sn pVerticies}{\sv 8.11.(18.11.0).(0.(0.11.1709).5.5.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14204\shpright10027\shpbottom14224\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz506\shplid11 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.1.5.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(0.0).45824.0).(17.45824.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.0).(17.1.1708).45824.16384.45824.45824.1.1.1.1.1.45824.(18.(17.(0.(0.45824.20).0).45824.16384.(8893.5.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop12516\shpright10028\shpbottom14224\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz518\shplid14 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1708}} {\sp{\sn pVerticies}{\sv 8.0)}} .1.{\sp{\sn pSegmentInfo}{\sv 2.45824.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.0).1.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop12515\shpright10027\shpbottom14224\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz518\shplid15 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1709}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12515\shpright1151\shpbottom14224\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz512\shplid13 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1709}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.16384.(0.1.1708).(0.45824.1709).45824.1709).16384.1.1.1.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.(17.45824.(0.1708).0).(0.20).45824.45824.11.(8893.1.(18.45824.45824.5.45824.45824.(0.11.

\ul0\nosupersub\cf4\f5\fs24 Changing Lines: -\par\pard\qj \li1262\sb0\ sl-270\slmult0 \par\pard\qj\li1262\ri959\sb19\sl-270\slmult0\fi59 \up0 \expndtw2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 You can change a single line or a gr oup of lines using the MODIFY statement.45824.1. \up0 \expndtw -3\charscalex100 MODIFY <itab> from <wa> TRANSPORTING <f1>\u8230?<fn> WHERE <con d> \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult 0 \par\pard\qj\li1262\ri1449\sb212\sl-280\slmult0 \up0 \expndtw-2\charscalex100 The <wa> must be compatible with the <line type> defined (declared with the inte rnal table). It \up0 \expndtw-2\charscalex100 searches for the contents to be ch anged and contains the new contents as well.{\sp{\sn pSegmentInfo}{\sv 2. the first entry is changed.11. \par\pard\qj \li1 321\ri2536\sb30\sl-560\slmult0 \up0 \expndtw-2\charscalex100 To change one or mo re lines that meet certain condition the following syntax is used.16384. \ up0 \expndtw-3\charscalex100 MODIFY <itab> from <wa> \par\pard\ql \li1321\sb235\ sl-276\slmult0 \up0 \expndtw-2\charscalex100 The <wa> must be compatible with th e <line type> defined (declared with the internal table). \par\p ard\ql \li1251\ri3387\sb4\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Modify it ab from struct transporting empname where (empno = \u8216?0003\u8217?).0).1. \line \u p0 \expndtw-3\charscalex100 \u8216? This is the alternative way to modify. {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.(0.a mazon. Sorted and Hashed tables \up0 \expndtw-2\charscalex100 respectively. The system searches \up0 \expndtw-2\cha rscalex100 the table using linear search.1.1.45824.45824. binary search and hash algorithm for S tandard.(8894.45824.0).1.20). It \par\pard\qj \li126 2\ri966\sb0\sl-280\slmult0 \up0 \expndtw-2\charscalex100 searches for the conten ts in the internal table whose table key values correspond to the values in <wa> \up0 \expndtw-3\charscalex100 and then the table is modified.5. All the lines of the \up0 \expndtw3\charscalex100 internal table that satisfies the condition is changed.45824.(0.3276 8}} . but i t changes several lines \line \up0 \expndtw-3\charscalex100 if exist. \par\pard\ql \li1321\sb 0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 4.16384.45824.20)}} {\sp{\sn pSegmentInfo}{\sv 2.45824. If the table contains a NON-UNIQUE key.45824.(0. \par\pard\qj \ li1321\ri1909\sb51\sl-560\slmult0 \up0 \expndtw-2\charscalex100 To change a sing le line of the local table without the condition the following syntax is used.1.com/gp/product/B0002JP572?ie=UTF8&tag=abaptips-20&link_code=em1&camp=21234 1&creative=380429&creativeASIN=B0002JP572&adid=a703fad1-203d-4521-a533-812b266b2 0f6" }}{\fldrslt {\ul0\nosupersub\cf6\f7\fs24\ul Jason}}}\ul0\nosupersub\cf4\f5\ fs24 \u8217? \line \up0 \expndtw-3\charscalex100 Modify itab form struct.(8894.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g20}{\bkmkend Pg20}\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\s b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0 \sl-276\slmult0 \par\pard\ql\li1251\sb27\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 \ul0\nosupersub\cf4\f5\fs24 Output \par\pard\ql \li1251\sb264\sl-276\slmul t0 \up0 \expndtw-3\charscalex100 ---------\par\pard\ql \li1251\sb0\sl-276\slmult 0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 0002 Jack \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb36\sl-276\slmult0 \ up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 The above program reads a single entry from internal table (itab) with index 2.20). Struct-empname = \u8216?{\field{\*\fldinst {HYPERLINK "http://www. \par\par d\qj \li1251\sb0\sl-540\slmult0 \par\pard\qj\li1251\ri5644\sb106\sl-540\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Struct-empno = \u8216? 0003\u8217?.1.45824.11.45824.

1696)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(8893.11.16384.(0.{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.0).45824.(17.(0.1.5.45824.1).1.(0.0).20).4.(0.11.1.(8894.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2768\shpright10027\shpbottom2788\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.1.(8893.7).1.(0.9.1696).0).45824.45824.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.45824.16384.1.0).(8894.45824.7).0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.45824.16384.20).32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2768\shpright10028\shpbottom2788\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.(0.45824.20).(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom2788\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1696}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.1696).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom2788\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1696}} {\sp{\sn pVerticies}{\sv 8.5.(0.0).45824.4.5.45824.(0.1.(8893.20).(0.11.45824.1696).1).45824.45824.1.1.1.0).1.(18.(0.1.45824.16384.1.45824.(17.16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ .(18.(0.45824.45824.9.45824.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.1696).(8893.

0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.20).20).11.9.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.1.16384.45824.(0.(18.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom2788\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 1696}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.20).5.45824.45824.5.1.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.0).0).45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11395\shpright10027\shpbottom11415\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz686\shplid9 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.(0.(17.(0.5.1.1.1.45824.\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom2788\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 1696}} {\sp{\sn pVerticies}{\sv 8.45824.16384.(8893.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14196\shpright10028\shpbottom14216\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz692\shplid10 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1696)}} {\sp{\sn pSegmentInfo}{\sv 2.0).45824.(18.(8894.0).5.1.(8894.45824.(0.45824.16384.0).(0.45824.45824.1.1.(0.45824.0).1696).1.20).1696).45824.(0.(8893.1.(8894.1.1.(0.(0.45824.16384.(0.(8894.45824.(0.20).(0.1).16384.45824.45824.1.45824.1696).4.11.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} .45824.20).11.1.1).45824.1.11.1.45824.(17.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11396\shpright10028\shpbottom11416\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz686\shplid8 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.45824.1696).

(0.11.2820).45824.0).(0.5.(17.16384.0).1.45824.1.1.(0.(18.45824.(0.45824.(0.1.2820).(0.2820).1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.1.2820).45824.(0.2820).1.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} .3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11396\shpright1152\shpbottom14216\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz698\shplid12 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 2820}} {\sp{\sn pVerticies}{\sv 8.45824.5.(17.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(8893.1.0).(0.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.1.1.45824.45824.(0.45824.5.1.0).(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop11396\shpright10028\shpbottom14216\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz704\shplid14 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 2820}} {\sp{\sn pVerticies}{\sv 8.(17.0).20).5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop11395\shpright10027\shpbottom14215\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz704\shplid15 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 2820}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11395\shpright1151\shpbottom14215\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz698\shplid13 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 2820}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.11.(18.45824.}} {\shp {\*\shpinst\shpleft1134\shptop14195\shpright10027\shpbottom14215\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz692\shplid11 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.45824.(0.0).45824.45824.16384.1.0).1.45824.(17.16384.0).16384.45824.5.16384.11.45824.(0.45824.45824.2820).(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.2820).1.2820).11.1.1.0).45824.45824.20).(18.45824.1.45824.(8893.1.

\par\pard\qj \li1251\ri7158\sb30 \sl-560\slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab-empno.1.7).1.}}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g21}{\bkmkend Pg21}\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\s b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0 \sl-276\slmult0 \par\pard\ql\li1251\sb27\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 \ul0\nosupersub\cf4\f5\fs24 Loop at itab. \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li12 62\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb272\sl-276\slmult0 \up0 \expndtw-3\c harscalex100 To delete a line using the index the syntax is as follows: -\par\pa rd\ql \li4543\sb0\sl-276\slmult0 \par\pard\ql\li4543\sb0\sl-276\slmult0 \par\par d\ql\li4543\sb0\sl-276\slmult0 \par\pard\ql\li4543\sb16\sl-276\slmult0 \up0 \exp ndtw-4\charscalex100 DELETE ITAB [INDEX <index>] \par\pard\qj \li1262\sb0\sl-280 \slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1366\sb261 \sl-280\slmult0 \up0 \expndtw-2\charscalex100 The above statement deletes the li ne from the internal table <itab> that corresponds to the INDEX \up0 \expndtw-3\ charscalex100 <index> and reduces the subsequent lines by 1.45824.(0.20)}} {\sp{\sn pSegmentInfo}{\sv 2.20).9.45824.0).(0. {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.20).1.0). itab-empname.1. As \u8216?struct\u8217? is compatible with the \up0 \expndtw-2\c harscalex100 internal table (itab) line type.16384.45824.11.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. the internal table is searched for the entries that are compatible with the \up0 \expndtw-3\charscalex100 work are a and they are modified.4.5.0).45824.(8894.16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.(8893.(8893.45824.(8894. \up0 \expndtw-3\charscalex100 Endloop \par\pard\ql \li1251\sb0\sl-276\slmult0 \p ar\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb243\sl-276\slmult0 \u p0 \expndtw-3\charscalex100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\ pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 ---------\par\pa rd\qj \li1251\ri9431\sb66\sl-540\slmult0 \up0 \expndtw-3\charscalex100 0001 Step hen \line \up0 \expndtw-3\charscalex100 0002 Jack \par\pard\ql \li1251\sb239\sl276\slmult0 \up0 \expndtw-3\charscalex100 0003 Jason \par\pard\ql \li1262\sb0\sl -270\slmult0 \par\pard\ql\li1262\sb0\sl-270\slmult0 \par\pard\ql\li1262\sb0\sl-2 70\slmult0 \par\pard\ql\li1262\ri1030\sb59\sl-270\slmult0 \up0 \expndtw-2\charsc alex100 \ul0\nosupersub\cf2\f3\fs24 The above program demonstrates the use of MO DIFY Statement.45824.45824.45824.7).45824.1. \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li 1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li12 62\sb18\sl-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Deleting Lines from Internal Table: -\par\pard\ql \li1262\sb0\sl-276\slmult0 \p ar\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par \pard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersu b\cf2\f3\fs24 To delete single or more lines from the internal table using index use DELETE statement.(0.1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} .(0.1.

0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom6124\shpfhdr0\s .20).1).45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom6124\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 5032}} {\sp{\sn pVerticies}{\sv 8.45824.(0.45824.5032).5.45824.(0.45824.(0.16384.45824.1).(8893.45824.(0.1.45824.1.1.1.1.1.20).(8893.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.1.(0.5032)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(17.1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom6124\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 5032}} {\sp{\sn pVerticies}{\sv 8.5032).1.16384.(0.1).5.{\shp {\*\shpinst\shpleft1134\shptop6104\shpright10028\shpbottom6124\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.(18.5032).(17.45824.1.5032).45824.20).45824.11.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom6124\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 5032}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.1.16384.(0.16384.45824.(0.5032)}} {\sp{\sn pSegmentInfo}{\sv 2.0).(18.45824.16384.(0.0).20).(8894.(0.11.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop6104\shpright10027\shpbottom6124\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.5032).5.45824.1.45824.5.45824.1).0).(18.1.1.45824.45824.1.(0.11.9.4.(0.1.45824.(0.5032).(18.45824.0).1.(0.11.(8894.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.45824.

--------------------------.(17.45824.45824.45824.45824.5.1).1.(8893.16384.(0.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.20).(0.45824.45824.1.1.3276 .45824.hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 5032}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.20).(0. \line \up0 \expndtw-3\charscalex100 It ab_obj1-num1 = 10 \line \up0 \expndtw-3\charscalex100 Append itab_obj1.16384.0).11.45824.1. \par\pard\qj \li1251\ri6651\s b48\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab_obj1-num.1).1.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0. \par\pard\ql \li1251\ri8632\sb56\sl-553\slmult0 \up0 \e xpndtw-3\charscalex100 Itab_obj1-num = n.(0.9.5032).32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g22}{\bkmkend Pg22}\par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\s b0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri1 725\sb65\sl-260\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs2 4 Without the INDEX option it can be only used within the loop and the manipulat ion is carried \up0 \expndtw-5\charscalex100 implicitly using SY-TABIX.(0. \line \u p0 \expndtw-3\charscalex100 While n<=5.21). \par\pard\ql \li1311\sb0\sl-276\slmult0 \par\pard\ql\li1311\sb8\sl-276\slm ult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Do \par\pard\ql \ li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3 \charscalex100 N = n +1.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop4131\shpright10027\shpbottom4151\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz312\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.5032). \up0 \expndtw-3\charscalex100 Endloop.5.45824.11.45824.1.0). Likely If you do not \line \up0 \expndtw-2\charscalex 100 specify TO <n2> the system deletes all lines from <n1> till the end of the t able.21).(8893.(0.A {\shp {\*\shpinst\shpleft1134\shptop4131\shpright10028\shpbottom4152\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz312\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 21}} {\sp{\sn pVerticies}{\sv 8. \par\pard\ql \li1251\sb226\sl-288\slmult 0 \up0 \expndtw-3\charscalex100 Loop at itab_obj1. If yo u \up0 \expndtw-2\charscalex100 do not specify FROM <n1> the system deletes from the first line till <n2>.1)}} {\sp{\sn pSegmentInfo}{\sv 2.4.45824.0).45824.16384.(8894.(17. itab_obj 1-num1.45824.1.(8894. \par\par d\qj \li1321\ri4713\sb53\sl-560\slmult0 \up0 \expndtw-3\charscalex100 To delete more lines using the index the syntax is as follows: -\line \up0 \expndtw-3\char scalex100 DELETE ITAB [FROM <n1> TO <n2>] WHERE <cond> \par\pard\ql \li1262\ri10 62\sb232\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 The above statement d eletes all the lines from index <n1> to <n2> that satisfies the condition.1. \par\pard\ql \li1251\sb0\sl-276\s lmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb223\sl-276\s lmult0 \up0 \expndtw-3\charscalex100 Output \par\pard\qj \li1251\ri10158\sb50\sl -560\slmult0 \up0 \expndtw-3\charscalex100 --------\line \up0 \expndtw-3\charsca lex100 1 10 \par\pard\qj \li1251\ri10377\sb6\sl-553\slmult0 \up0 \expndtw-3\char scalex100 2 10 \line \up0 \expndtw-3\charscalex100 3 10 \line \up0 \expndtw-3\ch arscalex100 4 10 \line \up0 \expndtw-3\charscalex100 5 10 \par\pard\ql \li1251\s b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb2 44\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Delete itab index 2.(0.1.

45824.0).10605).0).1.(18.(18.10605).(17.1.10604).1.(8894.3276 .(0.16384.45824.(8894.1.1).1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop4131\shpright1152\shpbottom14736\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz324\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 10605}} {\sp{\sn pVerticies}{\sv 8.(0.8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14716\shpright10028\shpbottom14736\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz318\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.(17.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14715\shpright10027\shpbottom14735\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz318\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.45824.(0.45824.1.45824.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).45824.45824.1).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop4131\shpright1151\shpbottom14735\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz324\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 10604}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.1).20).45824.1.1.11.1.(0.1.45824.45824.16384.45824.20).45824.(0.1.20).45824.45824.1).(0.5.(0.(8893.(0.(0.11.1.16384.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop4131\shpright10028\shpbottom14736\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz330\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 10605}} {\sp{\sn pVerticies}{\sv 8.45824.5.16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.5.10605).45824.1)}} {\sp{\sn pSegmentInfo}{\sv 2.11.(0.1)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.5.1.45824.(8893.11.1.(0.(0.45824.5.45824.45824.1.45824.1.45824.(0.(18.1.16384.1.45824.20).(18.45824.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).0).10604).11.10605).(0.

45824.10604).0). \par\pard\qj \li1262\ri1588\sb260\sl-280\slmult0\fi59 \up0 \expndt w-2\charscalex100 The most important thing in these operations is.e.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g23}{\bkmkend Pg23}\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\s b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0 \sl-276\slmult0 \par\pard\ql\li1251\sb27\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 \ul0\nosupersub\cf4\f5\fs24 Delete itab from 1 to 5 where num < 2. \par\pard\qj \li1262\sb0\sl-2 80\slmult0 \par\pard\qj\li1262\ri949\sb1\sl-280\slmult0 \up0 \expndtw-2\charscal ex100 The statement B deletes the entries from index 1 to index 5 where the firs t field is less than 2. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\ sb8\sl-276\slmult0 \up0 \expndtw-5\charscalex100 LOOP AT Operations using INDEX.) the \up0 \expndtw-3\charscalex100 first entry of the internal table. you must use the \up0 \expndtw-2\charscalex100 operations that are common (i.8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop4131\shpright10027\shpbottom14735\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz330\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 10604}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(17.(0.(0.(17.45824. -----B \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 The statement A delete s the second entry from top of the internal table. but APPEND is preferred to INSERT for performa nce reasons.45824.11. y ou can append lines in a standard table using both \line \up0 \expndtw-3\charsca lex100 APPEND and INSERT command.10604). The \up0 \expndtw-4\charscalex100 following shows the operations fo r any tables.) you must specify the key but not the index.1.e. but if you know the table type its better to use th e apt \up0 \expndtw-2\charscalex100 command for that table type. to work for a ny type of table.0). \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\ slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\sl mult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb26\sl-276\slm ult0 \up0 \expndtw-5\charscalex100 \ul0\nosupersub\cf1\f2\fs24 Operation for ANY TABLE\ul0\nosupersub\cf3\f4\fs24 : -\par\pard\ql \li1262\sb0\sl-280\slmult0 \pa r\pard\ql\li1262\sb0\sl-280\slmult0 \par\pard\ql\li1262\ri929\sb261\sl-280\slmul t0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 The operation liste d applies to any table type. but it\u8217?s advised that wherever you meet conditions. The loop statement can be executed eve n without the additions.(0. its \up0 \expndtw-3\charscalex100 better to specify in order to improve the perf ormance. The syntax is as follo ws.5. For instance. \up0 \expndtw-3\charscalex100 LOOP AT <itab> [FROM <n1> TO <n2>] [WHERE <con d>] \par\pard\ql \li5550\sb239\sl-276\slmult0 \up0 \expndtw-3\charscalex100 <Sta tements> \par\pard\ql \li1562\sb0\sl-276\slmult0 \par\pard\ql\li1562\sb8\sl-276\ slmult0 \up0 \expndtw-3\charscalex100 ENDLOOP \par\pard\ql \li1321\sb0\sl-276\sl mult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw-2\charscalex100 The a bove statement loops the internal table from index <n1> to index <n2> that satis fies the \par\pard\ql \li1262\ri976\sb9\sl-270\slmult0 \up0 \expndtw-2\charscale x100 condition <cond> and then processed.1.1.1.45824. \par\pard\ql \li1 262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li126 . \par\pard\qj \li1321\ri2678\sb66\sl-540\slmult0 \up0 \expndtw-2\charscalex100 Y ou can process an internal within a loop using the index. \up0 \expndtw-2\charscalex100 except that whole interna l table is processed.16384. (i.

1.(0.1.1.45824.45824.(8894.(8894.(0.(8893.1).45824.(0.(0.11.16384.16384.20).0).(0.0).9.0).1.11.45824.11.45824.1.1.1.21).(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.45824.45824. \tab \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\f s24 Inserting Table lines:\ul0\nosupersub\cf2\f3\fs24 .45824.1.1)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1655\shpright10028\shpbottom1676\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 21}} {\sp{\sn pVerticies}{\sv 8.(8894.45824.(0.1.4.1.45824.20).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1655\shpright10027\shpbottom1675\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(8894.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom1676\shpfhdr0\shp .45824.(8893.20)}} {\sp{\sn pSegmentInfo}{\sv 2.5. you can insert either a single line or mul tiple lines to the table.(0.The INSERT statement al lows you to insert lines to the Index tables.20).20).45824.5.(0. \par\pard\qj \li 1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1042\sb4\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 Like APPEND.(8893.5.1.45824.45824.1.45824.45824.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2. To insert a single line \up0 \expndtw-3\charscalex100 to the following syntax applies: {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8. Though we can use this command for standard table. \up0 \expndtw-3\charscalex1 00 APPEND is considered to be the best in terms of performance.45824.7). \par\pard\qj \li1621\ri1663\sb18\s l-260\slmult0 \up0 \expndtw-2\charscalex100 This command is opt for Sorted table .7).0).(8893.16384.1.1).2\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb16\sl-276\slmult0\tx1801 \up0 \expndt w-3\charscalex100 4.21).0).45824.16384.(0.

(0.(0.1).(0.(17.45824.1).9.45824.9.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom1675\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 583}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 584}} {\sp{\sn pVerticies}{\sv 8.(18.45824.1.45824.0).45824.1).583).1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.584).0)}} {\sp{\sn pSegmentInfo}{\sv 2.1).(0.584)}} {\sp{\sn pSegmentInfo}{\sv 2.583).584).5. \par\ pard\ql \li3717\sb0\sl-276\slmult0 \par\pard\ql\li3717\sb0\sl-276\slmult0 \par\p ard\ql\li3717\sb0\sl-276\slmult0 \par\pard\ql\li3717\sb19\sl-276\slmult0 \up0 \e xpndtw-4\charscalex100 INSERT LINES OF <itab1> INTO TABLE <itab2> \par\pard\qj \ .(18.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom1675\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 583}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0).(18.1.(0.1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g24}{\bkmkend Pg24}\par\pard\ql \li4391\sb0\sl-276\slmult0 \par\pard\ql\li4391\s b0\sl-276\slmult0 \par\pard\ql\li4391\sb0\sl-276\slmult0 \par\pard\ql\li4391\sb0 \sl-276\slmult0 \par\pard\ql\li4391\sb0\sl-276\slmult0 \par\pard\ql\li4391\sb11\ sl-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf2\f3\fs24 INSERT <line> INTO TABLE <itab> \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li 1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri969\sb261\sl-280\slmult0 \up0 \exp ndtw-2\charscalex100 The <line> can be a work area that is either compatible or convertible to the <line type> declared with \up0 \expndtw-3\charscalex100 the i nternal table.45824.583).1. \par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\s l-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri1069\ sb77\sl-260\slmult0 \up0 \expndtw-2\charscalex100 Inserting several lines: .45824.45824.45824.16384.45824.5.(0.45824.1.11.45824.(0.1.45824.(0.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom1676\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 584}} {\sp{\sn pVerticies}{\sv 8.45824.45824.The following syntax applies when you want to insert several lines from one \up0 \e xpndtw-3\charscalex100 internal table to the other specifying the <index>.16384.45824.16384.16384.584).(17.11.1.1.4.1.45824.583).(0.45824.584).(17.1.1.4.(17.584)}} {\sp{\sn pSegmentInfo}{\sv 2.1.

1.45824.(8894.(8894.45824.1.45824.11.1.0).1.45824. \par\pard\qj \li1251\sb0\sl-560\s lmult0 \par\pard\qj\li1251\ri8563\sb49\sl-560\slmult0\tx1851 \up0 \expndtw-3\cha rscalex100 \ul0\nosupersub\cf4\f5\fs24 Data : begin of struct.20).0). the line is appended to the end of the internal table.1.20).1. the line is inserted according to the hash \line \up0 \expndtw-3\charscalex100 algorithm.16384.5. \ par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb11\sl-276\slmult0 \ up0 \expndtw-4\charscalex100 INSERT LINES OF <itab1> [FROM <n1> TO <n2>] INTO TA BLE <itab2> \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-2 76\slmult0 \up0 \expndtw-2\charscalex100 The above statement specifies <n1> and <n2> thereby the first and last lines of <itab1> to <itab2>.20).5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14432\shpright10028\shpbottom14452\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz626\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.(0. \line\tab \up0 \e xpndtw-3\charscalex100 Empno type I \par\pard\qj \li1851\ri7658\sb0\sl-560\slmul t0 \up0 \expndtw-4\charscalex100 Empname(50) type char.11.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12188\shpright10027\shpbottom12208\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz620\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824. if its sor ted table.1. \par\pard\ql \li1262\sb0\sl-280\slmult0 \par\pard\ ql\li1262\sb0\sl-280\slmult0 \par\pard\ql\li1262\sb0\sl-280\slmult0 \par\pard\ql \li1262\ri903\sb5\sl-280\slmult0 \up0 \expndtw-2\charscalex100 If it\u8217?s a S tandard table.(0.45824.0). for All tables you need to include the TABLE keywo rd in most of the statements. the line is \line \up0 \expndtw-2\charscalex100 inserted according to the table key and for Hashed table.20).1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.0).20).(8893.16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).(0.45824.(0.(0.1.45824.20).45824.(0.1.(8893.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s . \up0 \expndtw-4\charscal ex100 End of struct. Generally.11.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2. {\shp {\*\shpinst\shpleft1134\shptop12188\shpright10028\shpbottom12208\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz620\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.16384.45824.(8894. \par\pard\ql \li126 2\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\ sb0\sl-276\slmult0 \par\pard\ql\li1262\sb16\sl-276\slmult0 \up0 \expndtw-3\chars calex100 As you can see the INSERT statement of Index Table and for All Tables d iffers by the keyword \par\pard\ql \li1262\sb1\sl-256\slmult0 \up0 \expndtw-3\ch arscalex100 TABLE.(0.5.(8894.1.45824.45824.(0.45824.li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li 1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri1407\sb78\sl-260\slmult0 \up0 \exp ndtw-2\charscalex100 The above statement inserts the lines from <itab1> to <itab 2> line by line like the above INSERT \up0 \expndtw-3\charscalex100 statement.45824.

0).2263).1.11.1.1.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12188\shpright1151\shpbottom14451\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz632\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 2263}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.11.(17.45824.20).45824.1.1.45824.45824.1.45824.(0.0).0).1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.1.16384.45824.45824.45824.45824.(8893.(0.(0.2264).16384.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12188\shpright1152\shpbottom14452\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz632\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 2264}} {\sp{\sn pVerticies}{\sv 8.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ .0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.11.(17.(17.0)}} {\sp{\sn pSegmentInfo}{\sv 2.2263).1.45824.45824.0).45824.2263).(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop12188\shpright10028\shpbottom14452\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz638\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 2264}} {\sp{\sn pVerticies}{\sv 8.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop12188\shpright10027\shpbottom14451\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz638\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 2263}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.20).5.5.45824.(0.11.0).1.45824.0).45824.0).(0.(0.0).45824.45824.1.0).1.2264).(18.1.5.45824.2264).1.(18.1.16384.(8893.5.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14431\shpright10027\shpbottom14451\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz626\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.2263).2264).(0.1.(18.45824.(0.(0.45824.5.1.(18.45824.(17.1.(0.(0.16384.45824.(0.45824.16384.

(0.(0.(8894.45824.20).45824. \ par\pard\qj \li1251\sb0\sl-560\slmult0 \par\pard\qj\li1251\ri5424\sb50\sl-560\sl mult0 \up0 \expndtw-3\charscalex100 struct-empno = \u8216?0001\u8217?.(0. {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8. \up0 \expndtw-3\charscalex100 Insert struct into table itab.(8894.0). \up0 \expndtw-3\charscalex10 0 Insert struct into table itab.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.4. \par\pard\ql \li1911\sb23 9\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Jtab like tab with header line. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pa rd\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb243\sl-276\slmult0 \up0 \e xpndtw-3\charscalex100 Loop at itab.(0.7).0).1.1.(8894.0).7).45824.9. \par\pard\qj \li1251\ri7158\sb30\sl-560\slm ult0 \up0 \expndtw-3\charscalex100 Write:/ itab-empno.16384.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14724\shpright10028\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.(8893. \par\pard\qj \li1251\ri5729\sb17\sl-540\slmult0 \up0 \expndtw-3\char scalex100 Struct-empno = \u8216?0002\u8217?.(0.45824.20).\sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g25}{\bkmkend Pg25}\par\pard\qj \li1251\sb0\sl-540\slmult0 \par\pard\qj\li1251\r i4651\sb373\sl-540\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\ fs24 Types tab type sorted table of struct with unique key empno \up0 \expndtw-3 \charscalex100 Data : itab like tab with header line.(8893.1. \up0 \expndtw-3\charscalex100 Insert struct into table itab.45824.20).45824. struct-empname = \u8216?Jack\u8217? . \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb243\sl-276\slmult0 \up0 \expndt w-3\charscalex100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li 1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 ---------\par\pard\qj \li1 251\ri9431\sb30\sl-560\slmult0 \up0 \expndtw-3\charscalex100 0001 Stephen \line \up0 \expndtw-3\charscalex100 0002 Jack \par\pard\ql \li1251\sb235\sl-276\slmult 0 \up0 \expndtw-3\charscalex100 0003 Jill \par\pard\ql \li1251\sb0\sl-276\slmult 0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb16\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Insert lin es of itab into table jtab. struct-em pname = \u8216?Stephen\u8217?.1. \par\pard\qj \li1 251\ri5890\sb4\sl-560\slmult0 \up0 \expndtw-3\charscalex100 struct-empno = \u821 6?0003\u8217?. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb272\sl-276\slmult0 \up0 \expndt w-3\charscalex100 Loop at jtab.45824.1.0).16384.20).45824.1.(0. Struct-empname = \u8216?Jill\u8217?. \up0 \expnd tw-3\charscalex100 Endloop.11.(8894.0)}} .5.20)}} {\sp{\sn pSegmentInfo}{\sv 2.45824. itab-empname.(0.0).5.

1.1.11.45824.(18.45824.(0.(0.1).5.45824.20).0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.45824.32768}} .45824.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom14744\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13652}} {\sp{\sn pVerticies}{\sv 8.1).1.(8893.16384.0).0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13652}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.45824.1.(0.(17.9.(8893.16384.1.(0.(18.45824.(17.(0.(0.1.45824.45824.5.45824.45824.1.5.45824.16384.4.1.13652).(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom14744\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13652}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.16384.45824.0).13652)}} {\sp{\sn pSegmentInfo}{\sv 2.16384.(0.45824.1.1).45824.(17.13652).1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13652}} {\sp{\sn pVerticies}{\sv 8.11.13652).16384.45824.45824.20).11.0).9.45824.45824.13652).1.4.1.1.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14724\shpright10027\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.13652).1).(0.11.45824.(0.{\sp{\sn pSegmentInfo}{\sv 2.45824.1.45824.13652)}} {\sp{\sn pSegmentInfo}{\sv 2.13652).(0.45824.(18.1.45824.45824.(17.45824.1.1.13652).1.13652).

20)}} {\sp{\sn pSegmentInfo}{\sv 2. the first entry is changed. \up0 \expndtw-3\charscalex100 MODIFY TABLE <itab> from <wa> \par\pard\ql \li1321\sb235\sl-276\slmult0 \up0 \expndtw-2\chars calex100 The <wa> must be compatible with the <line type> defined (declared with the internal table). T he system searches \up0 \expndtw-2\charscalex100 the table using linear search.0). \par\pard\qj \li1321\ri1895\sb29\sl-560\slmult0 \up0 \ex pndtw-2\charscalex100 To change a single line of the local table without the con dition the following syntax is used.45824.{\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g26}{\bkmkend Pg26}\par\pard\qj \li1251\sb0\sl-540\slmult0 \par\pard\qj\li1251\r i7132\sb373\sl-540\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\ fs24 Write:/ jtab-empno.(8894.45824. \par\pard\ql \li2018\sb0\sl-276\slmult0 \par\pard\ql\li 2018\sb0\sl-276\slmult0 \par\pard\ql\li2018\sb0\sl-276\slmult0 \par\pard\ql\li20 18\sb16\sl-276\slmult0 \up0 \expndtw-4\charscalex100 MODIFY TABLE <itab> from <w a> TRANSPORTING <f1>\u8230?<fn> WHERE <cond> \par\pard\qj \li1262\sb0\sl-270\slm ult0 \par\pard\qj\li1262\sb0\sl-270\slmult0 \par\pard\qj\li1262\sb0\sl-270\slmul t0 \par\pard\qj\li1262\ri1449\sb39\sl-270\slmult0 \up0 \expndtw-2\charscalex100 The <wa> must be compatible with the <line type> defined (declared with the inte rnal table).(0.1. All the lines of the \up0 \expndtw3\charscalex100 internal table that satisfies the condition is changed. \p ar\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \pa r\pard\ql\li1251\sb247\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Output \par\ pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \ expndtw-3\charscalex100 ---------\par\pard\qj \li1251\ri9431\sb50\sl-560\slmult0 \up0 \expndtw-3\charscalex100 0001 Stephen \line \up0 \expndtw-3\charscalex100 0002 Jack \par\pard\ql \li1251\sb215\sl-276\slmult0 \up0 \expndtw-3\charscalex10 0 0003 Jill \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb28\sl276\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 The above program shows the demonstration of both the insert statements for a sorted table with \par\pard\qj \li1262\ri1027\sb1\sl-280\slmult0 \up0 \expndtw-2\charscalex1 00 unique key.1.1. It \par\pard\qj \li1262\ri966\sb1\sl-280\slmult0 \up0 \exp ndtw-2\charscalex100 searches for the contents in the internal table whose table key values correspond to the values in <wa> \up0 \expndtw-3\charscalex100 and t hen the table is modified. In order to \up0 \expndtw-3\charscalex100 differentiate that only \u821 6?TABLE\u8217? key is included in INSERT statement for ALL TABLES operations. binary search and hash algorithm for Standard.20).(0.1. \up0 \expndtw-3\charscalex100 Endloop.20). Sorted and Hashed tables \up0 \ex pndtw-2\charscalex100 respectively.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} . {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8. \par\pard\ql \li1321\sb264\sl-276\slmult0 \up0 \expnd tw-2\charscalex100 To change one or more lines that meet certain condition the f ollowing syntax is used. I \up0 \expndtw-4\charscalex100 have given the same example.5. It \up0 \expndtw-2\charscalex100 searches for the contents to be ch anged and contains the new contents as well. If the table contains a NON-UNIQUE key.(8894. jtab-empname.45824.45824.11.16384.45824.(0. \par\pard\ql \li1262\ sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb 272\sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Cha nging Lines: -\par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri959\ sb1\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs2 4 You can change a single line or a group of lines using the MODIFY statement. It is same as example demonstrated for INSERT statement for INDEX tables.0).

(17.45824.0).16384.(8893.(8893.5.45824.45824.1.45824.0).1.0).(8893.45824.1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop5548\shpright10028\shpbottom5568\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.20).45824.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom5568\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 4476}} {\sp{\sn pVerticies}{\sv 8.1).(0.(18.4476).1.16384.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.}} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.20).45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom5568\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 4476}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.1.45824.1.(0.(0.1.45824.9.45824.4476).45824.16384.1.5.4476)}} {\sp{\sn pSegmentInfo}{\sv 2.1.4.7).0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.(0.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} .11.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop5548\shpright10027\shpbottom5568\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.11.(0.1.(8894.45824.16384.45824.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.1.45824.(0.1.(18.1.1.45824.(0.(0.16384.1.45824.(17.(8893.1.45824.45824.(0.(0.9.0).45824.1.45824.20).20).45824.0).7).1).(0.4476).5.(8894.4476).4.

9.1.1.1).45824.(0. The system sear ches the table \up0 \expndtw-2\charscalex100 using linear search.(0. If the table contains a NON-UNIQUE key.1.(0.45824. itab-empname.11.1.4476).4476). \par\pard\ql \li1262\sb0\sl-2 76\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb273\sl-2 76\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Deleting Li nes: -\par\pard\ql \li1262\sb0\sl-280\slmult0 \par\pard\ql\li1262\ri914\sb1\sl-2 80\slmult0\fi59 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 You ca n delete a single line or group of lines using DELETE statement.5. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\ sl-276\slmult0 \up0 \expndtw-2\charscalex100 To delete a single entry of the int .4476).45824. I have given the same example.(17.1).(0.16384.45824. Sorted and Hashed tables \line \up0 \expndtw-2\ charscalex100 respectively. the internal table is searched for the entries that are co mpatible with the \up0 \expndtw-2\charscalex100 work area and they are modified.45824.0).4476)}} {\sp{\sn pSegmentInfo}{\sv 2.(17.45824. St ruct-empname = \u8216?Jason\u8217? \up0 \expndtw-3\charscalex100 Modify table it ab form struct.1. the first en try is changed.45824.45824. \line \up0 \expndtw-3\charscalex100 \u8216? This is the alte rnative way to modify. As \u821 6?struct\u8217? is compatible with the \up0 \expndtw-2\charscalex100 internal ta ble (itab) line type.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g27}{\bkmkend Pg27}\par\pard\qj \li1251\sb0\sl-560\slmult0 \par\pard\qj\li1251\s b0\sl-560\slmult0 \par\pard\qj\li1251\ri5645\sb37\sl-560\slmult0 \up0 \expndtw-3 \charscalex100 \ul0\nosupersub\cf4\f5\fs24 Struct-empno = \u8216?0003\u8217?. \par\pard\ql \li1251\ri2819\sb0\sl-560\slmult0 \up0 \expndtw-2\c harscalex100 Modify table itab from struct transporting empname where (empno = \ u8216?0003\u8217?).(0. \par\pard\ql \li1251\sb235\sl-276\slmult0 \up0 \expndtw-3\char scalex100 Loop at itab.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom5568\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 4476}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. \up0 \expndtw-3\charscal ex100 Endloop \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl -276\slmult0 \par\pard\ql\li1251\sb243\sl-276\slmult0 \up0 \expndtw-3\charscalex 100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-27 6\slmult0 \up0 \expndtw-3\charscalex100 ---------\par\pard\qj \li1251\ri9431\sb3 0\sl-560\slmult0 \up0 \expndtw-3\charscalex100 0001 Stephen \line \up0 \expndtw3\charscalex100 0002 Jack \par\pard\ql \li1251\sb235\sl-276\slmult0 \up0 \expndt w-3\charscalex100 0003 Jason \par\pard\ql \li1262\sb0\sl-275\slmult0 \par\pard\q l\li1262\sb0\sl-275\slmult0 \par\pard\ql\li1262\sb0\sl-275\slmult0 \par\pard\ql\ li1262\ri1012\sb40\sl-275\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\ cf2\f3\fs24 The above program demonstrates the use of MODIFY Statement.{\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom5568\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 4476}} {\sp{\sn pVerticies}{\sv 8. In order to differentiate that only \u8216?TABLE\ u8217? key is included in INSERT statement for \up0 \expndtw-4\charscalex100 ALL TABLES operations.(18.45824. but it changes several lines \line \up0 \expndtw-3\charsc alex100 if exist.1.4.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2. binary search and hash algorithm for Standard. It is same as example demonstrated for INSERT statement for \line \up0 \expndtw -3\charscalex100 INDEX tables. \par\pard\qj \li1251\ri7158\sb30\sl-560\slmult0 \up0 \ex pndtw-3\charscalex100 Write:/ itab-empno.16384.4476).

5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop9160\shpright10028\shpbottom9180\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz32\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.45824.45824.5.7545).45824.20).1.7545).1.1.20).45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1635\shpright1152\shpbottom9180\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz38\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 7545}} {\sp{\sn pVerticies}{\sv 8.5.(0.1).45824.1.(18.20).(0.45824.1.20).0).0).(0.16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1).1.20).11.1)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.11.45824.45824.(0.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).16384.(8893.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} .1.11.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1635\shpright10027\shpbottom1655\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz26\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. {\shp {\*\shpinst\shpleft1134\shptop1635\shpright10028\shpbottom1656\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz26\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 21}} {\sp{\sn pVerticies}{\sv 8.45824.5.21).16384.45824.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop9160\shpright10027\shpbottom9180\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz32\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.45824.1.20).45824.(0.45824.1.(0.45824.1.(0.(0.(0.45824.ernal table using the table key.0).16384.1.(0.45824.1).1.45824.11.(0.1.1.21).0).1.(8893. one of the following syntax is used.16384.1)}} {\sp{\sn pSegmentInfo}{\sv 2.1.1.1).45824.(8894.45824.(8894.(0.45824.(8893.(8894.5.(0.(8894.45824.(8893.11.45824.45824.45824.1.

3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1635\shpright10027\shpbottom9180\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz44\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 7545}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g28}{\bkmkend Pg28}\par\pard\ql \li4333\sb0\sl-276\slmult0 \par\pard\ql\li4333\s b0\sl-276\slmult0 \par\pard\ql\li4333\sb0\sl-276\slmult0 \par\pard\ql\li4333\sb3 \sl-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf2\f3\fs24 DELETE TABLE <itab> FROM <wa> \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1 262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1218\sb261\sl-280\slmult0 \up0 \exp ndtw-2\charscalex100 The above statement deletes a single entry from the interna l table using the corresponding table key \up0 \expndtw-3\charscalex100 from <wa >.(0.0).45824.1.45824.45824.1. \par\pard\ql \li132 1\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw-4\char scalex100 DELETE TABLE <itab> WITH TABLE KEY <k1> = <f1>\u8230?<kn> = <fn> \par\ pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \ expndtw-2\charscalex100 The above statement is exactly the same but you have to explicitly define the table key fields. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1 262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1369\sb261\sl-280\slmult0 \up0 \exp ndtw-4\charscalex100 DELETE ADJACENT DUPLICATE ENTRIES FROM <itab> COMPARING <f1 .5.16384.11.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1635\shpright10028\shpbottom9180\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz44\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 7545}} {\sp{\sn pVerticies}{\sv 8.(0.16384.16384. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1363\sb261\sl-280\s lmult0 \up0 \expndtw-2\charscalex100 To delete a group of lines of the internal table that meets certain condition.7545).11.45824.7545).45824.11.(0.45824.1.7545).(17.1).1).45824. the following syntax is \line \up0 \expndtw3\charscalex100 used.45824.7545). The <wa> must be compatible with the line type of <itab>.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(17.(0.1.45824.1.5.(0.45824. \par\pard\ql \li4155\sb0\sl-276\slmult0 \par\pard\ql\li415 5\sb8\sl-276\slmult0 \up0 \expndtw-4\charscalex100 DELETE TABLE <itab> WHERE <co nd> \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmul t0 \up0 \expndtw-3\charscalex100 To delete the adjacent duplicate entries the fo llowing syntax is used.(0.1.1)}} {\sp{\sn pSegmentInfo}{\sv 2.0).(18.7545).45824.(0.(0.45824.1.1.0).(17.5.7545).(17.45824.1.1.1.45824.0).1.45824.}} {\shp {\*\shpinst\shpleft1134\shptop1635\shpright1151\shpbottom9180\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz38\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 7545}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(18.

they are deleted.45824.20).1.45824.45824.1.16384.>\u8230?<fn> [ALL \up0 \expndtw-4\charscalex100 FIELDS].45824.(0.20).45824.(8893. \par\pard\qj \li1251\ri8 379\sb50\sl-560\slmult0 \up0 \expndtw-4\charscalex100 Move \u8216?10\u8217? to w a-num1.20).45824.45824.16384.11.16384.1. \par\pard\qj \li1621\ri1471\sb260\sl-280\slmult0\tx1981 \up0 \expndtw2\charscalex100 1.1.(8894.45824.(8894. they are deleted.20). If you give ALL FIELDS.1. \par\pard\ql \li1311\sb0\sl-276\ slmult0 \par\pard\ql\li1311\sb0\sl-276\slmult0 \par\pard\ql\li1311\sb0\sl-276\sl mult0 \par\pard\ql\li1311\sb16\sl-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0 \nosupersub\cf4\f5\fs24 Move \u8216?1\u8217? to wa-num.(0.45824.45824. the fields <f1> till <fn> are compared with all the lines of \ up0 \expndtw-3\charscalex100 the table.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14708\shpright10027\shpbottom14728\shpfhdr0\ . \line \up0 \expndtw-3\charscalex100 Append wa to itab_obj.45824.(8893.1.5. \par\pard\qj \li1251\ri6891\sb17\sl-540 \slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab_obj-num.11. \line \up0 \e xpndtw-3\charscalex100 Loop at itab_obj.0). \up0 \expndtw-3\charscalex100 Endloop.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.0).1.0).(0. if it founds identical entries.0)}} {\sp{\sn pSegmentInfo}{\sv 2. they are deleted.1.1.1.20). we have to give the follo wing options: -\par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri912 \sb1\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 If you give the COMPARING <f1>\u8230?<fn>.45824.0).0).1.0).(0. \par\pard\ql \li1321\sb 0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw-2\charscal ex100 In order to execute this statement successfully.5.(0. all the fields of the internal table is compared and upon finding \line\tab \up0 \expndtw-3\charscalex100 identical entries.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11351\shpright10027\shpbottom11371\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz704\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1. By omitting both the options. \par\pard\qj \li1621\ri904\sb0\sl-280\slmult0\tx1981 \up0 \expndtw-1\charscalex100 2.20).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14708\shpright10028\shpbottom14728\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz710\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8. {\shp {\*\shpinst\shpleft1134\shptop11352\shpright10028\shpbottom11372\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz704\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.5.11.(8894. the key fields o f the internal table are compared and upon finding \line\tab \up0 \expndtw-2\cha rscalex100 identical entries. itab_obj-num1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.45824.(0.45824.(8894.

(8893.1.16384.1.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.20).11.1.45824.1.45824.(0.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).45824.1.1.3376).0).3376).0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.45824.0).(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop11351\shpright10027\shpbottom14728\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz722\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 3377}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(18.(17.45824.16384.3377).(0.1.11.(8893.45824.(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g29}{\bkmkend Pg29}\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\s b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0 .(18.0).(0.45824.20).5.(0.3377).11.(0.11.3377).0).(0.(0.1.45824.45824.45824.45824.5.45824.shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz710\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.16384.45824.1.1.0).(0.3377).1.5.1.1.(0.11.45824.(0.(17.(0.16384.0).(18.(17.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.0).3376).1.45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop11352\shpright10028\shpbottom14728\shpfhdr0 \shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz722\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 3376}} {\sp{\sn pVerticies}{\sv 8.(17.5.1.45824.(0.1.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11351\shpright1151\shpbottom14728\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz716\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 3377}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.45824.3376).45824.(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop11352\shpright1152\shpbottom14728\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz716\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 3376}} {\sp{\sn pVerticies}{\sv 8.1.16384.5.0).45824.0).

(8894.7).45824.16384.45824.5.1. wa-num= 2.1.7).e.(0.(8894.1.45824.16384.1.1.11.45824.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2. \par\pard\ql \li1251\ri3805\sb66\sl-540\slmult0\tx2992 \up0 \expndtw-2\charscalex100 delete t able itab from wa. (i.(0.45824.45824.9.0).45824.20). \u8216? This statement deletes the content in itab \line\tab \up0 \expndtw-3\charscalex100 that corresponds to wa \par\pard\ql \li1251\sb229\ sl-288\slmult0 \up0 \expndtw-2\charscalex100 delete adjacent duplicate entries f rom itab_obj comparing all fields \u8216?-\par\pard\ql \li5031\sb0\sl-276\slmult 0 \par\pard\ql\li5031\sb6\sl-276\slmult0 \up0 \expndtw-5\charscalex100 -----.20).(8894.45824.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(8894.1.B \par\pard\ qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\sb0\sl-280\slmult0 \par\pard\q j\li1262\ri1097\sb279\sl-280\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupers ub\cf2\f3\fs24 The statement A deletes the entries where all the fields are iden tical in adjacent rows.A \par\pard\ql \li1251\sb275\sl-288\slmult0 \up0 \expndtw-2\charscalex100 delete a djacent duplicate entries from itab_obj comparing num \u8216?----.) [1 10 & 1 \line \up0 \expndtw-3\charscalex100 10] {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop12776\shpright10028\shpbottom12796\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} .(8893.45824.1.0).1.\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\s l-276\slmult0 \par\pard\ql\li1251\sb15\sl-276\slmult0 \up0 \expndtw-3\charscalex 100 \ul0\nosupersub\cf4\f5\fs24 Output \par\pard\qj \li1251\ri10158\sb50\sl-560\ slmult0 \up0 \expndtw-3\charscalex100 --------\line \up0 \expndtw-3\charscalex10 0 1 1 \par\pard\ql \li1251\ri5344\sb3\sl-557\slmult0 \up0 \expndtw-3\charscalex1 00 1 2 \line \up0 \expndtw-3\charscalex100 1 3 \line \up0 \expndtw-3\charscalex1 00 1 4 \line \up0 \expndtw-3\charscalex100 1 5 \line \up0 \expndtw-3\charscalex1 00 1 6 \line \up0 \expndtw-3\charscalex100 1 7 \line \up0 \expndtw-3\charscalex1 00 1 8 \line \up0 \expndtw-3\charscalex100 1 9 \par\pard\qj \li1251\ri10377\sb0\ sl-560\slmult0 \up0 \expndtw-3\charscalex100 1 10 \line \up0 \expndtw-3\charscal ex100 1 10 \line \up0 \expndtw-3\charscalex100 2 10 \par\pard\ql \li1251\sb216\s l-276\slmult0 \up0 \expndtw-3\charscalex100 wa-num = 1.0).0).45824.1.45824.20).(0.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.20)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.5.45824.4.1.(0.11.0).16384.(8893.20).

1.45824.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g30}{\bkmkend Pg30}\par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\s b0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri1 .45824.5.0).1.0).11703).45824.45824.1).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom12795\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 11703}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.11704)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.16384.1.45824.1.(17.1.1.45824.11704).0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.(0.9.(0.11703).(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.11704)}} {\sp{\sn pSegmentInfo}{\sv 2.11.1.(0.11704).(18.45824.45824.45824.1.1).11.45824.11703).16384.11.1).1).(0.(17.16384.1.(8893.(0.5.0).1.(18.45824.(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom12796\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 11704}} {\sp{\sn pVerticies}{\sv 8.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom12795\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 11703}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0).20).(0.45824.(0.1.45824.(17.11704).(18.4.(0.16384.45824.4.1.(8893.45824.20).45824.(0.{\shp {\*\shpinst\shpleft1134\shptop12775\shpright10027\shpbottom12795\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.9.45824.(0.16384.1.(17.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom12796\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 11704}} {\sp{\sn pVerticies}{\sv 8.45824.11703).0)}} {\sp{\sn pSegmentInfo}{\sv 2.5.1.(18.45824.1.1.45824.11704).

you can easily trace out . The foll owing program demonstrates the use of all the READ statements. \par\pard\qj \li13 21\ri1546\sb50\sl-560\slmult0 \up0 \expndtw-2\charscalex100 If you want to speci fy a different key other than table key.1. \par\ pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \ expndtw-3\charscalex100 Read table itab from struct.1. you must use the <key> not \up0 \expndtw-3\charscalex100 the <index> that you use for INDEX tables. \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri930\sb4\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 The key you specify can be either table key or user defined key.45824. \par\pard\ql \li1 311\sb0\sl-276\slmult0 \par\pard\ql\li1311\sb8\sl-276\slmult0 \up0 \expndtw-3\ch arscalex100 \ul0\nosupersub\cf4\f5\fs24 Struct-empno = \u8216?0001\u8217?. When you \up0 \expndtw-2\charscalex100 don\u8217?t want specify a ll the table keys explicitly you can use the following statement.0). you can use the following statement. First lets look at table key.45824. <kn> = <fn>.(0.45824.) [Internal Table \up0 \expndtw-3\charscalex100 itab_obj contains only 2 10] \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-27 6\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb19\sl-276 \slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Reading lines : -\par\pard\qj \li1321\ri2330\sb50\sl-560\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 To read a single entry of an internal table of any table type use the following statement.5. \up0 \expndtw-3\charscalex100 READ TABLE <itab> <key> <result> \par\pard\qj \li1262\ri1178\sb248\sl-260\slmult0\fi59 \up 0 \expndtw-2\charscalex100 As explained above in order to be valid statement for any type of table.0)}} {\sp{\sn pSegmentInfo}{\sv 2. \par\pard\ql \ li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw-4 \charscalex100 READ TABLE <itab> FROM <wa>. <kn> = <fn>. struct-empname. (i.(0. \u8216?TABLE\u8217? keyword is \up0 \expndtw-2\charscalex100 missing.20).1. \par\pard\ql \li1321\sb264\sl-276\sl mult0 \up0 \expndtw-2\charscalex100 Alternatively you can specify the table keys expicitly in the READ statement as follows: -\par\pard\ql \li1321\sb0\sl-276\sl mult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw-4\charscalex100 READ TABLE <itab> WITH TABLE KEY <k1> = <f1> \u8230?.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop9412\shpright10027\shpbottom9432\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz714\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ .11.(0.(8894.45824.(8894. \u p0 \expndtw-3\charscalex100 READ TABLE <itab> WITH KEY <k1> = <f1> \u8230?.004\sb65\sl-260\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs2 4 The statement B deleted all the entries that have identical values in the firs t field.1.e. \par\pard\qj \li1262\ri1622\sb232\sl-280\slmult0\fi59 \up0 \expndtw-2\c harscalex100 When you compare both the READ Statements.20).16384. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \p ar\pard\ql\li1251\sb16\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Output \par\ pard\ql \li1251\sb264\sl-276\slmult0 \up0 \expndtw-3\charscalex100 ----------\pa r\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 0001 Stephen \par\pard\ql \li1251\sb0\sl-276\slmult0 \ par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \pa r\pard\ql\li1251\sb16\sl-276\slmult0 \up0 \expndtw-3\charscalex100 read table it ab with table key empno = \u8216?0002\u8217? {\shp {\*\shpinst\shpleft1134\shptop9412\shpright10028\shpbottom9432\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz714\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.45824. \par\pard\ql \li1251\sb0\sl -276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex10 0 Write:/ struct-empno.0).

(17.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(0.5043).1.20).45824.16384.5.(0.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop9412\shpright1152\shpbottom14456\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz726\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 5044}} {\sp{\sn pVerticies}{\sv 8.(8893.(8893.45824.45824.45824.1.45824.45824.16384.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14436\shpright10028\shpbottom14456\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz720\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.5.20).(0.1.0).(0.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.5044).5043).(0.(8894.(8893.45824.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.5.0).11.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop9412\shpright10028\shpbottom14456\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz732\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ .45824.20).0)}} {\sp{\sn pSegmentInfo}{\sv 2.16384.5.45824.(0.45824.45824.45824.1.(0.1.1.1.(0.20).0).16384.5.1.(0.(0.1.45824.20).45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.11.1.11.0).0).1.\sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(0.1.45824.20).1.(0.0).(18.1.(8894.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14435\shpright10027\shpbottom14455\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz720\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.16384.(17.1.45824.(8893.0).45824.45824.5044).(0.0).45824.45824.(18.45824.0).1.11.45824.(0.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop9412\shpright1151\shpbottom14455\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz726\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 5043}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.11.1.

45824.45824.(0.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1. \par\pard\qj \li1262\sb0\sl-280 \slmult0 \par\pard\qj\li1262\ri990\sb1\sl-280\slmult0\fi59 \up0 \expndtw-2\chars calex100 The third output reads from the internal table using a different key de fined explicitly but not the table \line \up0 \expndtw-3\charscalex100 key. The statement uses th e following syntax.1.5044). itab-empname \par\pard\ql \li1251\sb 0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb24 7\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Output \par\pard\ql \li1251\sb0\s l-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex1 00 ---------\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-2 76\slmult0 \up0 \expndtw-3\charscalex100 0003 Jason \par\pard\qj \li1262\sb0\sl280\slmult0 \par\pard\qj\li1262\ri1729\sb1\sl-280\slmult0\fi59 \up0 \expndtw-2\c harscalex100 \ul0\nosupersub\cf2\f3\fs24 The first output reads from the interna l table using the table key from the work area.45824.11.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824. The only \up0 \expndtw-2\charsca lex100 requirement is work area must be compatible with the line type of the int ernal table.0). itab-empname.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop9412\shpright10027\shpbottom14455\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz732\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 5043}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0).5043).1.16384. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\ li1251\sb272\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Output \par\pard\ql \l i1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\ charscalex100 --------\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li125 1\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 0002 Jack \par\pard\qj \li125 1\sb0\sl-540\slmult0 \par\pard\qj\li1251\ri6248\sb86\sl-540\slmult0 \up0 \expndt w-3\charscalex100 read table itab with key empname = \u8216?Jason\u8217?. \up0 \ expndtw-3\charscalex100 Write:/ itab-empno.45824.45824.5.1.5.(0.(17.(17.45824.1.(0. \par\pard\ql \li1321\ri3808\sb29\sl-560\slmult0\tx4850 \up0 \expndtw-4\charscalex100 READ TABLE <itab> <key> INTO <wa> [COMPARING <f1>\u8230 ?<fn> \line\tab \up0 \expndtw-4\charscalex100 ALL FIELDS] \par\pard\ql \li3482\r i5883\sb0\sl-560\slmult0 \up0 \expndtw-4\charscalex100 [TRANSPORTING <f1>\u8230? \up0 \expndtw-4\charscalex100 | ALL FIELDS \par\pard\ql \li3662\sb235\sl-276\sl .0).45824.(18. \par \pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\ pard\ql\li1262\sb272\sl-276\slmult0 \up0 \expndtw-2\charscalex100 There is a com plicate form of READ statement where you can retrieve from the internal table by \par\pard\ql \li1262\ri999\sb1\sl-280\slmult0 \up0 \expndtw-2\charscalex100 com paring the fields in the work area and internal table and transporting the requi red fields in to the \up0 \expndtw-2\charscalex100 same work area.1.\sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 5044}} {\sp{\sn pVerticies}{\sv 8. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl276\slmult0 \up0 \expndtw-2\charscalex100 The second output reads from the inter nal table with the table key defined explicitly.(18.11.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g31}{\bkmkend Pg31}\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\s b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0 \sl-276\slmult0 \par\pard\ql\li1251\sb27\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 \ul0\nosupersub\cf4\f5\fs24 write:/ itab-empno.1.5043).0).1.(0.(0.5044).16384. Here you can see that same work area is used to check the entries against the internal \up0 \ expndtw-2\charscalex100 table and used for output as well.45824.

(8893.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom7792\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 6700}} {\sp{\sn pVerticies}{\sv 8.5.0).1.(0.(0.(8893.1).45824.(8893.45824.mult0 \up0 \expndtw-3\charscalex100 | NO FIELDS] {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.20).45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} .(0.(0.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop7772\shpright10027\shpbottom7792\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop7772\shpright10028\shpbottom7792\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.45824.6700).6700)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.1.45824.1.1.1.0).11.9.20).1.20).(0.45824.45824.7).7).6700).(8893.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.1.45824.(18.45824.1.(0.11.0).5.(0.45824.1.20).(8894.(8894.16384.(0.45824.1.45824.1.(0.0).45824.20).45824.45824.20)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.(0.16384.1.45824.45824.1.(0.1.20).4.(8894.0).45824.0).45824.11.11.0).(18.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.16384.5.(0.1.16384.(8894.16384.1).(0.

32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom7792\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 6700}} {\sp{\sn pVerticies}{\sv 8.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g32}{\bkmkend Pg32}\par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\s b0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri1 292\sb65\sl-260\slmult0\fi59 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f 3\fs24 As you can see both the comparing and transporting are optional and then it behaves like a normal \up0 \expndtw-2\charscalex100 read statement.6700).1.6700).16384.45824.(17.(0. \par\ pard\qj \li1251\ri3117\sb50\sl-560\slmult0 \up0 \expndtw-2\charscalex100 Read ta ble itab struct into struct comparing empno transporting empname \up0 \expndtw-3 \charscalex100 Write:/ struct-empno. \par\pard\qj \li1262\sb0\sl-280\slmult0 \p ar\pard\qj\li1262\ri923\sb1\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 \u l0\nosupersub\cf2\f3\fs24 Loop statements are used to process the entries in the .4.1.45824.1.45824.45824.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom7792\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 6700}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.1.6700). struct-empname \par\pard\ql \li1311\sb235\s l-276\slmult0 \up0 \expndtw-3\charscalex100 Output \par\pard\ql \li1251\sb264\sl -276\slmult0 \up0 \expndtw-3\charscalex100 ---------\par\pard\ql \li1251\sb0\sl276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 0003 Jason \par\pard\ql \li1262\sb0\sl-280\slmult0 \par\pard\ql\li1262\sb0\sl-2 80\slmult0 \par\pard\ql\li1262\sb0\sl-280\slmult0 \par\pard\ql\li1262\ri1036\sb2 1\sl-280\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 The a bove statement is not necessary for this table but just for understanding the RE AD concept.16384.45824.45824.9.45824.1.(0.1.(0.1.(17.4.{\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom7792\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 6700}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.6700)}} {\sp{\sn pSegmentInfo}{\sv 2. The work area must be compatible with line type of the internal table.0).(0. The \line \up0 \expndtw-2\charscalex100 work area is filled with \u8 216?0003\u8217? and the statement reads the internal table by comparing the \lin e \up0 \expndtw-2\charscalex100 corresponding entry in the work area and then th e \u8216?empname\u8217? field is transported to the work area.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0)}} {\sp{\sn pSegmentInfo}{\sv 2.6700).5.(0. \par\pard\ql \li13 11\sb0\sl-276\slmult0 \par\pard\ql\li1311\sb31\sl-276\slmult0 \up0 \expndtw-3\ch arscalex100 \ul0\nosupersub\cf4\f5\fs24 Struct-empno = \u8216?0003\u8217?.6700).45824.6700).(0.(17.1).45824.1.(17.9.(18.45824.11.1.45824.45824.(0. \par\pard\ql \li1 321\sb264\sl-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub\cf1\f2\fs 24 Processing Table Entries in Loops.1.16384.1).(18.

Internal Table.1.1. \par\pard\ql \li1262\sb0\sl-270\slmult0 \par\pard\ql\li1262\ri1325\sb19\sl-270\s lmult0\fi59 \up0 \expndtw-2\charscalex100 Generally. But this statement is used at the high e nd where you want to find the \up0 \expndtw-3\charscalex100 number of lines of i nternal table that satisfies certain condition. none of the internal table fields are transported in to the loop. \par\par d\ql \li1321\sb264\sl-276\slmult0 \up0 \expndtw-4\charscalex100 LOOP AT <itab> T RANSPORTING NO FIELDS WHERE <cond> \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\ pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw-2\charscalex100 As the statement indicates. But \up0 \expndtw-2\char scalex100 performance wise. the INTO <wa> is used when the internal table is declared without the header line.45824.1). The syntax is as follows: -\par\p ard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \e xpndtw-4\charscalex100 LOOP AT <itab> [INTO <wa>] [WHERE <cond>] \par\pard\ql \l i1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-3\ charscalex100 <Statements> \par\pard\ql \li1262\sb264\sl-276\slmult0 \up0 \expnd tw-5\charscalex100 ENDLOOP.45824. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql \li1321\sb8\sl-276\slmult0 \up0 \expndtw-2\charscalex100 As you can see the INTO <wa> and WHERE <cond> are optional. {\shp {\*\shpinst\shpleft1134\shptop1911\shpright10028\shpbottom1932\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz114\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 21}} {\sp{\sn pVerticies}{\sv 8. all th e entries one-by-one are processed from the internal table.45824.16384.45824.16384. it is better to declare the internal table without t he header line and declare a \up0 \expndtw-2\charscalex100 separate work area th at is compatible with the line type of the internal table. If you use the loop without any \par\pard\q j \li1262\ri912\sb1\sl-280\slmult0 \up0 \expndtw-2\charscalex100 options.1).(0.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop4988\shpright10028\shpbottom5008\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz120\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} .11.1)}} {\sp{\sn pSegmentInfo}{\sv 2. Hence the \up0 \expndtw-2\charscalex100 internal tabl e contents that satisfies the condition will enter the loop and further they are processed \up0 \expndtw-3\charscalex100 according to the requirements.20).(8894.21).5.5. ev en the \par\pard\qj \li1262\ri1028\sb1\sl-280\slmult0 \up0 \expndtw-2\charscalex 100 entries that satisfy the condition.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).45824.45824.0).45824.21).(8893.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1911\shpright10027\shpbottom1931\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz114\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. The <wa> must be com patible \up0 \expndtw-3\charscalex100 with the line type of the internal table.1.1. There are lots of options in order \up0 \expndtw-2\charscalex10 0 to process the required entries in the loop.45824.1.11.1.(8893.45824.45824.(0.(0.(8894.(0.1. \par\pard\qj \li1262\ sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1329\sb2\sl-280\slmult0\fi59 \up0 \expn dtw-2\charscalex100 WHERE <cond> option is used to avoid processing all the entr ies in the internal table.20).1.(0.

45824.11.20).3097).45824.0).1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1911\shpright1152\shpbottom5008\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz126\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 3097}} {\sp{\sn pVerticies}{\sv 8.(0.1)}} {\sp{\sn pSegmentInfo}{\sv 2.0).(0.(17.1.0).1.45824.45824.20).45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.(0.3097).0).1.{\sp{\sn pVerticies}{\sv 8.(18.45824.0).45824.16384.1.3097).5.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop4988\shpright10027\shpbottom5008\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz120\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0).3097).(8893.11.1.45824.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1911\shpright1151\shpbottom5008\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz126\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 3097}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.3097).1.1)}} {\sp{\sn pSegmentInfo}{\sv 2.1.(0.5.(0.1.20).1).5.45824.(17.45824.11.45824.20).(18.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.5.1.16384.45824.1).45824.45824.1.16384.1.1.45824.45824.(0.(18.(0.(0.1.(0.(8894.1.1).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1911\shpright10027\shpbottom5008\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz132\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 3097}}{\sp{\sn shapePath}{\sv 4}} .(18.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1911\shpright10028\shpbottom5008\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz132\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 3097}} {\sp{\sn pVerticies}{\sv 8.(8894.(8893.45824.45824.45824.(0.16384.(0.(0.11.45824.(0.1.1.1.16384.3097).45824.1.45824.5.45824.(0.1).

\par\pard\ql \li1251\sb0\sl-288\slmult0 \par\p ard\ql\li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb213\sl-288\slmult0 \up0 \ expndtw-4\charscalex100 Wa-roll_no = \u8216?121\u8217?.1. \par\pard\ql \li1251\sb0\sl-288\slmult0 \pa r\pard\ql\li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb210\sl-288\slmult0 \up 0 \expndtw-4\charscalex100 Wa-roll_no = \u8216?122\u8217?.1. \line \up0 \expndtw-4\charscalex100 Wa -mark1 = \u8216?82\u8217?.45824.1.20). \par\pard\ql \li1251\ ri8280\sb56\sl-550\slmult0 \up0 \expndtw-2\charscalex100 Wa -name = \u8216?Wil liam\u8217?. \line \up0 \expndtw-3\char scalex100 Mark2 type I.45824.20). \par\pard\ql \li1251\ri8 398\sb54\sl-553\slmult0 \up0 \expndtw-2\charscalex100 Wa -name = \u8216?Wilson \u8217?.45824.(0.5.1.45824.45824.1.45824.45824.0). \line \up0 \expndtw-3\charscalex100 Mark1 type I.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.(17.1.11.{\sp{\sn pVerticies}{\sv 8.(0.45824.3097).45824.16384.11. \par\pard\q l \li1851\ri8471\sb54\sl-553\slmult0 \up0 \expndtw-3\charscalex100 Name(50) type c. \par\pard\qj \li1851\ri5258\sb17\sl-540\slmult0 \up0 \ex pndtw-3\charscalex100 Itab1 like sorted table of struct with header line.0).1.1.(17.(0.0).(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} . \line \up0 \expndtw-4\charscalex100 Wa -mark2 = \u8216?45\u8217? {\shp {\*\shpinst\shpleft1134\shptop2748\shpright10028\shpbottom2768\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz64\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8. \line\tab \up0 \expndtw-3\charscalex10 0 Wa like line of itab.1.5.45824.(0.(0.0).(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(8893.1.1.0).45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.20).16384.0).(8894. \line \up0 \expndtw-3\charscalex100 End of struct.3097). \line \up0 \expndtw-2\charscalex100 Wa -mark1 = \u8216?80\u8217?. \lin e \up0 \expndtw-2\charscalex100 Wa -mark2 = \u8216?85\u8217? \line \up0 \expndt w-3\charscalex100 Append wa to itab.1. \par\pard\ql \li12 51\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251 \sb0\sl-276\slmult0 \par\pard\ql\li1251\sb16\sl-276\slmult0 \up0 \expndtw-3\char scalex100 \ul0\nosupersub\cf4\f5\fs24 Data : begin of struct \par\pard\ql \li185 1\sb275\sl-288\slmult0 \up0 \expndtw-3\charscalex100 Roll_no type I.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g33}{\bkmkend Pg33}\par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\s b0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0 \sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb11\ sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf2\f3\fs24 The fol lowing program explains each of the statements above clearly.(8893.16384.45824. \up0 \ expndtw-3\charscalex100 N type I.20).45824.11. \par\ pard\qj \li1251\ri6729\sb2\sl-560\slmult0\tx1847 \up0 \expndtw-3\charscalex100 D ata : itab like standard table of struct.45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2748\shpright10027\shpbottom2768\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz64\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.5.(8894.

45824.45824.5.16384.(0.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.1.45824.45824.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2748\shpright1151\shpbottom14464\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz76\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 11716}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(18.1.(8894.1.45824.0).45824.45824.1.5.16384.45824.11.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.1.45824.1.1.45824.1.45824.20).(0.(0.11.1.0).11716).0).(8894.1.1.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(18.0).(18.(0.20).1.5.45824.(0.(0.5.11716).(0.1.11.11716).16384.45824.45824.(0.11716).0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.45824.45824.1.0).1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} .20).45824.0).0).(0.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.(8893.45824.(0.1.(17.{\shp {\*\shpinst\shpleft1134\shptop14444\shpright10028\shpbottom14464\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz70\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop2748\shpright1152\shpbottom14464\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz76\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 11716}} {\sp{\sn pVerticies}{\sv 8.(8893.(17.11716).0).45824.11.0).45824.11716).(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14444\shpright10027\shpbottom14464\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz70\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.16384.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop2748\shpright10028\shpbottom14464\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz82\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 11716}} {\sp{\sn pVerticies}{\sv 8.(0.20).16384.(18.1.0).

9.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g34}{\bkmkend Pg34}\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\s b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0 \sl-276\slmult0 \par\pard\ql\li1251\sb27\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 \ul0\nosupersub\cf4\f5\fs24 Append wa to itab.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s .45824.16384. \up0 \expndtw-3\charscale x100 Endloop.45824.(17.(8894.(0.(0.{\shp {\*\shpinst\shpleft10010\shptop2748\shpright10027\shpbottom14464\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz82\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 11716}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.11716).1. \par\pard\ql \li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb0\sl-2 88\slmult0 \par\pard\ql\li1251\sb189\sl-288\slmult0 \up0 \expndtw-4\charscalex10 0 Wa-roll_no = \u8216?124\u8217?.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.20).20)}} {\sp{\sn pSegmentInfo}{\sv 2.1.45824.5. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl -276\slmult0 \par\pard\ql\li1251\sb243\sl-276\slmult0 \up0 \expndtw-3\charscalex 100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-27 6\slmult0 \up0 \expndtw-3\charscalex100 --------\par\pard\qj \li1251\ri8951\sb30 \sl-560\slmult0 \up0 \expndtw-3\charscalex100 121 Wilson 80 85 \line \up0 \expnd tw-3\charscalex100 122 William 82 45 {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1.0).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.1.11. \par\pard\qj \li1251\ri5425\sb30\sl-560\slmult0 \up0 \expndtw-3\charscal ex100 Write:/ wa-roll_no. wa-mark1. \line \up0 \expndtw-4\char scalex100 Wa -mark2 = \u8216?54\u8217? \line \up0 \expndtw-4\charscalex100 Appe nd wa to itab. wa-mark2.45824.(0.1. \par\pard\qj \li1251\ri8838\sb0\sl-560\slmult0 \up0 \expndtw-4\charsca lex100 Wa -mark2 = \u8216?54\u8217? \line \up0 \expndtw-4\charscalex100 Append wa to itab.11716). \par\pard\ql \li1251\sb0\sl-276\slmult0 \p ar\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par \pard\ql\li1251\sb16\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Loop at itab i nto wa.0).45824.45824.7). \par\ pard\qj \li1251\ri8181\sb48\sl-560\slmult0 \up0 \expndtw-4\charscalex100 Wa -nam e = \u8216?Thomson\u8217?.0).(0.(0.45824.(8894.0).(0.1.20).16384.45824.1.45824.45824.45824.45824.1.0).7).(0.(8893.(8893. \par\pard\ql \li1251\ri8474\sb54\sl-553\slmult 0 \up0 \expndtw-4\charscalex100 Wa -name = \u8216?Daniel\u8217?.16384. \line \up0 \e xpndtw-4\charscalex100 Wa -mark1 = \u8216?87\u8217?.1. \up0 \expndtw-4\charscalex100 Wa -mark1 = \u8216?7 6\u8217?. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\s l-276\slmult0 \par\pard\ql\li1251\sb244\sl-276\slmult0 \up0 \expndtw-3\charscale x100 Insert lines of itab from itab1.11.1. wa-name.0)}} {\sp{\sn pSegmentInfo}{\sv 2.4.5.(0. \par\pard\ql \li1251\sb0\sl -288\slmult0 \par\pard\ql\li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb239\sl -288\slmult0 \up0 \expndtw-4\charscalex100 Wa-roll_no = \u8216?123\u8217?.45824.1.(17.

1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14724\shpright10027\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.45824.45824.45824.0).(17.16384.45824.(18.0).45824.0).1.45824.(8894.13652).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom14744\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13652}} {\sp{\sn pVerticies}{\sv 8.1.1.20).1).11.(0.(0.(0.1).(0.20).45824.(0.1.45824.(17.20).1.1.45824.4.(0.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13652}} {\sp{\sn pVerticies}{\sv 8.1.5.13652)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(0.13652).1.1.1).(18.45824.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom14744\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13652}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.11.(8893.(0.0).(0.1.1.(0.1.45824.13652).(0.45824.(0.(0.45824.13652).5.13652).(8893.13652).13652)}} {\sp{\sn pSegmentInfo}{\sv 2.16384.45824.1.45824.20).9.16384.(18.11.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s .0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.45824.1.(18.(8894.5.p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14724\shpright10028\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1).5.1.16384.45824.1.1.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.16384.(0.1.

\line \up0 \expndtw-3\charscalex100 Endloop. \up0 \expndtw-3\cha rscalex100 Endloop. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb223\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \pa r\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 --------\par\p ard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \e xpndtw-3\charscalex100 124 Daniel 87 54 \par\pard\ql \li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb0\sl-288\slmult0 \par\pard\ql\li1251\sb239\sl-288\slmult0 \up0 \expndtw-3\charscalex100 Loop at itab1 where roll_no = \u8216?123\u8217?.1.13652). itab1-mark2.16384.20).20).16384.p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13652}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. \line \up0 \expndtw-3\charscalex100 Write:/ wa-name.4.45824.(0.1.13652).32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s .16384.(8894.45824.45824. \par\pard\qj \li1251\ri4518\sb50\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab1-roll_no.1.45824.45824.9.(0.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.45824.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.1.(17.0).(0. \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\ sb0\sl-276\slmult0 \par\pard\ql\li1251\sb223\sl-276\slmult0 \up0 \expndtw-3\char scalex100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8 \sl-276\slmult0 \up0 \expndtw-3\charscalex100 --------\par\pard\ql \li1251\ri881 3\sb56\sl-553\slmult0 \up0 \expndtw-3\charscalex100 121 Wilson 80 85 \line \up0 \expndtw-3\charscalex100 122 William 82 45 \line \up0 \expndtw-3\charscalex100 1 23 Thomson 76 54 \line \up0 \expndtw-3\charscalex100 124 Daniel 87 54 \par\pard\ ql \li1251\sb0\sl-560\slmult0 \par\pard\ql\li1251\ri6414\sb2\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Loop at itab into wa where roll_no = \u8216?124\u8217? .45824. wa-mark2.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.1.0). itab1-name.7). itab1-mark1. \ par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb6\sl-276\slmult0 \u p0 \expndtw-3\charscalex100 Write:/ itab1-name.(0. {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.5.45824.4. wa-mark1.9.1.(8893.45824.(0.(0.(8894.45824.(0.0).7).(17. itab1-mark1.1.(8893.20)}} {\sp{\sn pSegmentInfo}{\sv 2. itab1-mark2.11.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g35}{\bkmkend Pg35}\par\pard\qj \li1251\sb0\sl-540\slmult0 \par\pard\qj\li1251\r i8817\sb373\sl-540\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\ fs24 123 Thomson 76 54 \line \up0 \expndtw-3\charscalex100 124 Daniel 87 54 \pa r\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par \pard\ql\li1251\sb247\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Loop at itab1 .45824.

11.(0.(0.1).45824.4.1).16384.5.1.45824.9.(8893.11.5.13652)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(0.(0.45824.45824.1.(18.45824.45824.1.(0.0).1.1.(0.16384.45824.1.1.(8894.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom14744\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13652}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.1.45824.20).(17.45824.20).(17.45824.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14724\shpright10027\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.16384.45824.1.16384.(18.1.(0.45824.45824.(18.11.1.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.45824.5.45824.(18.45824.20).(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.1.(0.0).1.0).(0.45824.13652)}} {\sp{\sn pSegmentInfo}{\sv 2.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13652}} {\sp{\sn pVerticies}{\sv 8.1.13652).0).45824.45824.1.20).p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14724\shpright10028\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.1).16384.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom14744\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 13652}} {\sp{\sn pVerticies}{\sv 8.45824.(8894.(8893.13652).1).(0.5.13652).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s .45824.13652).(0.45824.1.(0.0).13652).11.13652).

45824.(17.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g36}{\bkmkend Pg36}\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\s b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0 \sl-276\slmult0 \par\pard\ql\li1251\sb27\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 \ul0\nosupersub\cf4\f5\fs24 Endloop.13652). A very important aspect of the control level processing i s \line \up0 \expndtw-2\charscalex100 sorting the internal table. The control level statement has a structure with AT and \up0 \expndtw-3\charscalex100 ENDAT with the control levels.1. \line \up0 \exp ndtw-2\charscalex100 Therefore when you declare the internal table the control l evels of all the fields must be known. \par\pard\ql \li1251\sb0\sl-276\slmul t0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb272\sl-276\slmul t0 \up0 \expndtw-3\charscalex100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 --------\pa r\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 123 Thomson 76 54 \par\pard\qj \li1251\sb0\sl-540\slmu lt0 \par\pard\qj\li1251\ri5101\sb86\sl-540\slmult0 \up0 \expndtw-3\charscalex100 loop at itab1 transporting no fields where mark2 = \u8216?54\u8217?. The syntax is as shown.(0. \par\pard\qj \li1262\sb0\sl-280\slmult0 \ par\pard\qj\li1262\ri848\sb2\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 O nce you declare the internal table defining the correct control levels for the f ields the internal table is \up0 \expndtw-2\charscalex100 sorted by the first fi eld. \up0 \expn dtw-3\charscalex100 N = n +1 \u8216? Initialize n = 0.5.16384.(0.(8894.4.11.13652).0)}} {\sp{\sn pSegmentInfo}{\sv 2.1. {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.45824.0).1.20)}} {\sp{\sn pSegmentInfo}{\sv 2.0). \par\pard\ql \li1251\sb23 9\sl-276\slmult0 \up0 \expndtw-3\charscalex100 endloop.1.0).45824.45824.(8894.(0.1.45824. The first fiel d of the internal table has the highest control level and so on.3276 .1.45824.(0.45824.(17.45824.p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom14744\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 13652}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. \par\pard\ql \li1321\sb264\sl-276\slmult0 \up0 \expndtw-6\charscalex10 0 AT <level> \par\pard\qj \li1262\ri9418\sb50\sl-560\slmult0 \up0 \expndtw-3\cha rscalex100 <Statements> \up0 \expndtw-8\charscalex100 ENDAT.20).9. \par\pard\ql \li1251\sb0 \sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\s l-276\slmult0 \par\pard\ql\li1251\sb16\sl-276\slmult0 \up0 \expndtw-3\charscalex 100 Output \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-27 6\slmult0 \up0 \expndtw-3\charscalex100 --------\par\pard\ql \li1251\sb264\sl-27 6\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf2\f3\fs24 2 \par\pard\ ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par\pard\q l\li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb36\sl-276\slmult0 \up0 \expndt w-3\charscalex100 \ul0\nosupersub\cf1\f2\fs24 Control Level Processing \par\pard \ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expn dtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 Control Level Processing of an i nternal table means that you can divide the internal table into \par\pard\qj \li 1262\ri1256\sb9\sl-270\slmult0 \up0 \expndtw-2\charscalex100 different groups ba sed on certain fields. \par\pard\ql \li132 1\sb235\sl-276\slmult0 \up0 \expndtw-4\charscalex100 There are 4 levels defined with the AT statement. second field and so on.1.(0.16384.45824.20).

(18.20).0).(0.(17.45824.45824.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop8328\shpright10028\shpbottom8348\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.11.(0.1.1.45824.1.(0.45824.(8893.(0.7255).0).1.1.45824.7256)}} {\sp{\sn pSegmentInfo}{\sv 2.16384.1.16384.7256).4.1.9.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom8348\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 7256}} {\sp{\sn pVerticies}{\sv 8.(0.(18.45824.1.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s .45824.(0.(8893.0)}} {\sp{\sn pSegmentInfo}{\sv 2.7).1.(8894.45824.1.45824.8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.1.45824.(8893.1).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop8327\shpright10027\shpbottom8347\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.1.0).16384.(0.20).45824.0).1).7).1.45824.1.1.(8894.45824.16384.45824.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom8347\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 7255}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.9.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.4.(0.45824.5.7256).7255).0)}} {\sp{\sn pSegmentInfo}{\sv 2.11.0).(0.45824.20).5.(0.11.(0.45824.0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.45824.45824.1.(0.(8893.45824.45824.1.16384.(17.20).

\par\pard\qj \li1251\ri9329\sb540\sl-560\slmult0 \up0 \e xpndtw-3\charscalex100 Loop at itab1.(17.45824. \line \up0 \exp ndtw-3\charscalex100 Endat.(0.1. \par\pard\ql \li1251\sb0\s l-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl276\slmult0 \par\pard\ql\li1251\sb36\sl-276\slmult0 \up0 \expndtw-3\charscalex10 0 \ul0\nosupersub\cf4\f5\fs24 Loop at itab1.9.45824. \par\pard\qj \li1251\ri9364\sb560\sl-560\slmult0 \up0 \ expndtw-3\charscalex100 Loop at itab1. itab1-mark2. itab1-mark1.7256).45824.p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom8348\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 7256}} {\sp{\sn pVerticies}{\sv 8.16384.45824.5. \line \up0 \expndtw-3\charscalex100 At la st \par\pard\qj \li1251\ri4518\sb0\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab1-roll_no.45824. itab1-mark2. \line \up0 \expndtw-3\charscalex100 At new mark2 \par\pard\qj \li1251\ri4518\sb0\sl-560\slmult0 \up0 \expndtw-3\charscalex 100 Write:/ itab1-roll_no.0)}} {\sp{\sn pSegmentInfo}{\sv 2.7255).3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom8347\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 7255}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. {\shp {\*\shpinst\shpleft1134\shptop6360\shpright10028\shpbottom6380\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz568\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} . \par\pard\ql \li1251\sb0\sl-276\slm ult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 At fir st \par\pard\qj \li1251\ri4518\sb30\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab1-roll_no. itab1-name. \line \up0 \expndt w-3\charscalex100 Endat.1.(0. The \up0 \expndtw-3\charscalex100 prog ram below demonstrates the use of the control levels.(17. itab1-mark1.1).7255).45824.1.1.4.7256)}} {\sp{\sn pSegmentInfo}{\sv 2.Beginning of a group of entries that has the same contents as <field> \line\tab \up0 \expndtw-3\chars calex100 and to the left of <field> \par\pard\qj \li1262\ri2660\sb0\sl-560\slmul t0\tx2762 \up0 \expndtw-2\charscalex100 END OF <field> .1.(0.(18.7256).1). itab1-mark1.(18.Last Line of the internal table.45824.First Line of the internal table \line \up0 \expndtw-2\charscalex100 LAST .11.1. itab1-name.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g37}{\bkmkend Pg37}\par\pard\qj \li1262\sb0\sl-560\slmult0 \par\pard\qj\li1262\r i7024\sb37\sl-560\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\f s24 FIRST .1.(0. \par\pard\qj \li1262\ri2667\sb0\sl-560\ slmult0\tx2521 \up0 \expndtw-2\charscalex100 NEW <field> .16384.45824. \line \up0 \expndtw -3\charscalex100 Endat.45824.(0.0). itab1-mark2. itab1-name.Ending of a group of en tries that has the same contents as <field> \line\tab \up0 \expndtw-3\charscalex 100 and to the left of <field> \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard \qj\li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1369\sb192\sl-280\slmult0 \u p0 \expndtw-2\charscalex100 The control level statements are allowed within the loop to make optimum use of this feature.

(8894.(0.16384.1.5.5.45824.20).1.(0.(0.1.1.11.0).1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop6360\shpright1152\shpbottom14740\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz580\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 8380}} {\sp{\sn pVerticies}{\sv 8.1.(0.45824.45824.45824.16384.1.45824.0).0)}} {\sp{\sn pSegmentInfo}{\sv 2.(0.16384.(8894.1.45824.20).45824.1.(0.(0.(8894.1.8380).(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14720\shpright10028\shpbottom14740\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz574\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(0.0).20).16384.0)}} {\sp{\sn pSegmentInfo}{\sv 2.20).(0.(8893.45824.16384.0).0).45824.45824.{\sp{\sn pVerticies}{\sv 8.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop14720\shpright10027\shpbottom14740\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz574\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.11.45824.(0.1.45824.20).11.(8894.0).(8893.1.45824.0).20).5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop6360\shpright1151\shpbottom14740\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz580\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 8380}}{\sp{\sn shapePath}{\sv 4}} .3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop6360\shpright10027\shpbottom6380\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz568\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.(8893.45824.5.(18.0).11.45824.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.1.0).(0.(0.(18.45824.45824.11.1.1.20).45824.8380).45824.1.20).0).45824.1.1.(8893.45824.5.45824.1.(0.

8380).45824.45824.45824.(18.1. itab1-mark2.0)}} {\sp{\sn pSegmentInfo}{\sv 2.5.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g38}{\bkmkend Pg38}\par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\s b0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0 \sl-276\slmult0 \par\pard\ql\li1251\sb27\sl-276\slmult0 \up0 \expndtw-3\charscal ex100 \ul0\nosupersub\cf4\f5\fs24 Loop at itab1.(17.45824.(0. \line \up0 \expndtw-3\charscalex100 Endat.0).1.1.8380).45824.45824.(17.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop6360\shpright10028\shpbottom14740\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz586\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 8380}} {\sp{\sn pVerticies}{\sv 8.45824.(0.45824.(0.(0.16384.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop6360\shpright10027\shpbottom14740\shpfhdr0\ shpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz586\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 8380}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.8380).1.1.5.(0.1.(0. it ab1-name.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).45824.0).1.8380). \par\pard\ql \li1251\sb264\sl-2 76\slmult0 \up0 \expndtw-3\charscalex100 At end of mark2 \par\pard\qj \li1251\ri 4518\sb50\sl-560\slmult0 \up0 \expndtw-3\charscalex100 Write:/ itab1-roll_no.11.0).45824.(0.(17.45824.1.45824.(0.(18.11.(0.45824.0).11. The syntax is as \up0 \expndtw-3\charscalex10 0 follows: -\par\pard\ql \li1321\sb264\sl-276\slmult0 \up0 \expndtw-3\charscalex 100 COLLECT <wa> INTO <itab> \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\q j\li1262\ri1088\sb1\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 The <wa> m ust compatible with the line type of <itab>.(17. itab1-mark1.8380).8380).1.16384.0). \ par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \p ar\pard\ql\li1251\sb243\sl-276\slmult0 \up0 \expndtw-3\charscalex100 Output \par \pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 ----------\par\pard\ql \li1251\sb264\sl-276\slmult0 \up 0 \expndtw-3\charscalex100 121 Wilson 80 85 \par\pard\ql \li1251\sb0\sl-276\slmu lt0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult 0 \par\pard\ql\li1251\sb16\sl-276\slmult0 \up0 \expndtw-3\charscalex100 124 Dani el 87 54 \par\pard\ql \li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\ slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb16\sl-276\s lmult0 \up0 \expndtw-3\charscalex100 123 Thomson 76 54 \par\pard\ql \li1251\sb0\ sl-276\slmult0 \par\pard\ql\li1251\sb0\sl-276\slmult0 \par\pard\ql\li1251\sb272\ sl-276\slmult0 \up0 \expndtw-3\charscalex100 124 Daniel 87 54 \par\pard\ql \li13 21\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb28\sl-276\slmult0 \up0 \expndtw-4\ch arscalex100 Creating Summarized Internal Tables: -\par\pard\qj \li1262\sb0\sl-28 0\slmult0 \par\pard\qj\li1262\ri1669\sb1\sl-280\slmult0\fi59 \up0 \expndtw-2\cha rscalex100 \ul0\nosupersub\cf2\f3\fs24 To create a summate entries in an Interna l table COLLECT statement is used.45824. This creates a sum of all numerical fields in \line \up0 \expndtw-2\charscalex100 the internal table if the system .5.1.{\sp{\sn pVerticies}{\sv 8.16384.1.

1.1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.45824.(0.45824.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop8884\shpright10027\shpbottom8904\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid3 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 20}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. To determi ne the attributes use the following statement.45824.7).5.45824.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2. \par\pard\ql \li1262\sb0\sl-276\slmul t0 \par\pard\ql\li1262\sb10\sl-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0\no supersub\cf4\f5\fs24 Determining the Attributes of Internal Table: -\par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw -2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 This sounds a bit strange as we are defining the attributes of the internal table.(0.(0.(8893.(0.(8894.16384.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10027\shpbottom1099\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid1 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8893}}{\sp{\sn geoBottom}{\sv 7}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8. \par\pard\qj \li1262\sb0\sl-270\slmult0 \par\par d\qj\li1262\ri1317\sb19\sl-270\slmult0\fi59 \up0 \expndtw-2\charscalex100 If it fails to find an entry.45824.16384.20).1. The internal table we declare is a static definition but durin g runtime it \up0 \expndtw-2\charscalex100 gets dynamically assigned.1. Th e only pre\up0 \expndtw-2\charscalex100 requisite to create a summarized interna l table is that all the fields that are not part of the table key \up0 \expndtw3\charscalex100 must be numerical columns.1.11.1.20).45824.(8893.5.45824. the statement behaves like a normal INSERT statement.(0.7).(0.20).32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop8884\shpright10028\shpbottom8904\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz24\shplid2 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.45824.0).0).1.1.20).1.0)}} {\sp{\sn pSegmentInfo}{\sv 2.0).45824.1.45824.1.45824.(0.1.16384.45824.0).20).9.(8893.(0.(8894.0).11.0). {\shp {\*\shpinst\shpleft1134\shptop1092\shpright10028\shpbottom1112\shpfhdr0\sh pbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz18\shplid0 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 8894}}{\sp{\sn geoBottom}{\sv 20}} {\sp{\sn pVerticies}{\sv 8.45824.45824.(8894.20).(0.16384.finds a corresponding entry of table key fields between <wa> and the \line \up0 \expndtw-3\charscalex100 table.5.11.45824.1.45824.0).45824.45824.1.(0.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s .20)}} {\sp{\sn pSegmentInfo}{\sv 2.(8893.45824.1.4. then why we need a \par\pard\qj \li1262\ri946\sb18\sl-260\slmult0 \up0 \expndtw-2\charscalex100 statement to fin d the attributes.(8894.

\par\pard\ql \li1262\sb0\sl-276\slmult0 \par\ pard\ql\li1262\sb10\sl-276\slmult0 \up0 \expndtw-4\charscalex100 \ul0\nosupersub .16384.(17.1.1.9.16384.1.(18.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10028\shpbottom8904\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid6 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 7812}} {\sp{\sn pVerticies}{\sv 8.(0.(18.45824.1.(18.45824.(17.1).45824.(0.45824.45824.1.(0.45824.16384.1.16384.1.1.45824.(0.1.(0.(0.4.45824.1).1).7812).(17.4.7812)}} {\sp{\sn pSegmentInfo}{\sv 2.0).45824.7812).(0.11.7812).45824.1).45824.0).45824.7812).5.9.45824.(0.7812).(0.45824.5.7812).45824.1.(17.1.1.7812).0)}} {\sp{\sn pSegmentInfo}{\sv 2.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft10010\shptop1092\shpright10027\shpbottom8904\shpfhdr0\s hpbxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz36\shplid7 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 7812}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.(18. OCCURS retur ns the value of the INTIAL \up0 \expndtw-2\charscalex100 SIZE of the internal ta ble and KIND returns the table type of the internal table \u8216?T\u8217? for st andard table.11.32768}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn lineWidth}{\sv 0}}{\s p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }}\par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart P g39}{\bkmkend Pg39}\par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\s b0\sl-276\slmult0 \par\pard\ql\li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb3 \sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf2\f3\fs24 DESCRI BE TABLE <itab> [LINES <l>] [OCCURS <n>] [KIND <k>] \par\pard\qj \li1262\sb0\sl270\slmult0 \par\pard\qj\li1262\ri941\sb19\sl-270\slmult0 \up0 \expndtw-2\charsc alex100 The LINES return the number of lines of the internal table.p{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\sp{\sn fBehindDocument}{ \sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1152\shpbottom8904\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid4 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 18}}{\sp{\sn geoBottom}{\sv 7812}} {\sp{\sn pVerticies}{\sv 8.(0.0)}} {\sp{\sn pSegmentInfo}{\sv 2. \up0 \expndtw-3\charscalex100 \u8216?S\u8217? for sorted table and \u8216?H\u8217? for Hashed table.1.3276 8}} {\sp{\sn fFillOK}{\sv 1}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fillColor}{\sv 0}}{\s p{\sn fLine}{\sv 0}}{\sp{\sn lineType}{\sv 0}}{\sp{\sn fArrowheadsOK}{\sv 1}}{\s p{\sn fBehindDocument}{\sv 1}}{\sp{\sn lineColor}{\sv 0}} }} {\shp {\*\shpinst\shpleft1134\shptop1092\shpright1151\shpbottom8904\shpfhdr0\shp bxpage\shpbypage\shpwr3\shpwrk0\shpfblwtxt1\shpz30\shplid5 {\sp{\sn shapeType}{\sv 0}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{ \sn geoRight}{\sv 17}}{\sp{\sn geoBottom}{\sv 7812}}{\sp{\sn shapePath}{\sv 4}} {\sp{\sn pVerticies}{\sv 8.45824.45824.7812)}} {\sp{\sn pSegmentInfo}{\sv 2.1.7812).

\par\pard\qj \ li1621\ri922\sb0\sl-280\slmult0\tx1981 \up0 \expndtw-1\charscalex100 \ul0\nosupe rsub\cf5\f6\fs20 \u-3913?\ul0\nosupersub\cf2\f3\fs24 If you are using interna l table within a loop that behaves differently at each pass make sure that \line \tab \up0 \expndtw-2\charscalex100 you have cleared the header line or work area . \par\pard\qj \li1621\ri1166\sb0\sl-280\slmult0\tx1981 \up0 \expndtw-1\charscalex100 \ul0\nosupersub\cf5\f6\fs20 \u-3913?\ul0\nosupersub\cf 2\f3\fs24 Try to avoid using internal table with header line.Thi s system field contain the current line of an internal table. \par\pard\qj \li1621\ri939\sb0\sl-300\slmult0\tx1981 \up0 \expndtw-1\charscale x100 \ul0\nosupersub\cf5\f6\fs20 \u-3913?\ul0\nosupersub\cf2\f3\fs24 If you d on\u8217?t know the exact value or don\u8217?t know the variable till runtime yo u can address those \line\tab \up0 \expndtw-2\charscalex100 values using \u8216? <variable-name>\u8217?. \par\pard\ql \li1621\sb0\sl-216\slmult0 \up0 \expndtw-1\ charscalex100 \ul0\nosupersub\cf5\f6\fs20 \u-3913?\ul0\nosupersub\cf2\f3\fs24 Use the appropriate statements for Standard.This is common to all the statements in ABAP. Sorted and Hashed Tables \par\pard \ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb33\sl-276\slmult0 \up0 \exp ndtw-4\charscalex100 \ul0\nosupersub\cf1\f2\fs24 System Fields for Internal Tabl es: -\par\pard\qj \li1262\ri1180\sb261\sl-280\slmult0\fi59 \up0 \expndtw-2\chars calex100 \ul0\nosupersub\cf4\f5\fs24 SY-SUBRC\ul0\nosupersub\cf2\f3\fs24 . When it exceeds the line is discarded thereby defining a \up 0 \expndtw-3\charscalex100 static declaration to internal table. \par\pard\ql \l i1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb10\sl-276\slmult0 \up0 \expndtw-5 \charscalex100 \ul0\nosupersub\cf1\f2\fs24 Tips & Tricks: -\par\pard\ql \li1621\ sb0\sl-276\slmult0 \par\pard\ql\li1621\sb0\sl-276\slmult0 \par\pard\ql\li1621\sb 0\sl-276\slmult0 \par\pard\ql\li1621\sb16\sl-276\slmult0 \up0 \expndtw-1\charsca lex100 \ul0\nosupersub\cf5\f6\fs20 \u-3913?\ul0\nosupersub\cf2\f3\fs24 The nu mber of internal tables in a program must be kept minimum as possible \par\pard\ qj \li1621\ri1151\sb1\sl-280\slmult0\tx1981 \up0 \expndtw-1\charscalex100 \ul0\n osupersub\cf5\f6\fs20 \u-3913?\ul0\nosupersub\cf2\f3\fs24 If you are creating an internal of standard type and going to process small amount of data its \lin e\tab \up0 \expndtw-4\charscalex100 better to declare a internal table directly using DATA statement. \up0 \expndtw-3\charscalex10 0 declare the internal table and use the following statement. \par\pard\ql \li13 21\sb264\sl-276\slmult0 \up0 \expndtw-3\charscalex100 APPEND <wa> to <itab> SORT ED by <f>. For Hash . This system field is set to 0 when the \up0 \expndtw-3\charscalex100 statement is executed successfully else it is set to 4. \par\pard\qj \li1262\sb0\sl-270\slm ult0 \par\pard\qj\li1262\ri1113\sb19\sl-270\slmult0\fi59 \up0 \expndtw-2\charsca lex100 The contents of <wa> are inserted in to <itab> as long the number of line s of an internal table does \up0 \expndtw-2\charscalex100 not exceed <n> (declar ed in INTIAL SIZE). The main feat ure of this statement is that it violates that internal \up0 \expndtw-3\charscal ex100 table are dynamic datasets as follows.\cf4\f5\fs24 Exception of Internal Table: -\par\pard\qj \li1262\sb0\sl-280\slmul t0 \par\pard\qj\li1262\ri1103\sb1\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex 100 \ul0\nosupersub\cf2\f3\fs24 APPEND statement is used to create Ranked List f or standard tables. \par\pard\q j \li1621\ri905\sb0\sl-280\slmult0\tx1981 \up0 \expndtw-1\charscalex100 \ul0\nos upersub\cf5\f6\fs20 \u-3913?\ul0\nosupersub\cf2\f3\fs24 APPEND statement alwa ys adds to the last line of the internal table whereas MODIFY changes \line\tab \up0 \expndtw-2\charscalex100 entry that is already in the table. the co ntents are not appended to the last line of the internal table but gets sorted \ up0 \expndtw-2\charscalex100 and inserted in the respective order. In order to create Ranked List. \par\pard\qj \li1262\ri945\sb280\sl-280\slmult0\fi59 \up0 \expndtw-2\char scalex100 \ul0\nosupersub\cf4\f5\fs24 SY-TABIX\ul0\nosupersub\cf2\f3\fs24 . \par\pard\qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1039\sb 1\sl-280\slmult0\fi59 \up0 \expndtw-2\charscalex100 After this statement. declare a separ ate work area compatible to \line\tab \up0 \expndtw-2\charscalex100 the internal table line type. The internal table must of \up0 \expndtw-2\charscalex100 either Standard or Sorted table. \par\pard\qj \li1621\ri1223\sb0\sl-280\slmult0\tx1981 \up0 \ex pndtw-1\charscalex100 \ul0\nosupersub\cf5\f6\fs20 \u-3913?\ul0\nosupersub\cf2\f3 \fs24 Always try to use the system fields when you processing the internal ta ble entries within the \line\tab \up0 \expndtw-2\charscalex100 loop.

ed table this field is not set. \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \ up0 \expndtw-3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 SY-TFILL\ul0\nosupersub \cf2\f3\fs24 . \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\sl mult0 \up0 \expndtw-5\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Index Table \par \pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart Pg41}{\ bkmkend Pg41}\par\pard\qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\sb0\sl260\slmult0 \par\pard\qj\li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri977\sb6 5\sl-260\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 Index table uses linear search and an index to access the table. searching time does not i ncrease with the size of the table. \par\pard\sect\sectd\fs24\paperw12240\paperh15840\pard\sb0\sl-240{\bkmkstart Pg40}{\bkmkend Pg40}\par\pard\qj \li1321\sb0\sl-560\slmult0 \par\pard\qj\li1321 \ri2375\sb37\sl-560\slmult0\tx2041 \up0 \expndtw-3\charscalex100 \ul0\nosupersub \cf2\f3\fs24 APPEND: APPEND sets SY-TABIX to the total number of entries in the internal table \line\tab \up0 \expndtw-4\charscalex100 (I. \par\pard\qj \li1262\ri1147\sb212\sl-280\slmult0\fi59 \up0 \expndtw3\charscalex100 LOOP AT: When the internal table enters loop. It access time incre ases with the size of \up0 \expndtw-3\charscalex100 the table \par\pard\ql \li12 .contains the initial amount of memory allocated to the internal table.) index of the last line of the internal table. In contrast to \up 0 \expndtw-2\charscalex100 Standard and Sorted tables. \par\pard\ql \li1262\sb0\sl-276\slmult0 \par \pard\ql\li1262\sb11\sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersu b\cf4\f5\fs24 Header Line \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\l i1262\sb8\sl-276\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs 24 It\u8217?s a work area of an internal table that acts as an interface to the table.contains the number of lines in the internal table \par\pard\ql \li1321\sb0\sl-276\slmult0 \par\pard\ql\li1321\sb8\sl-276\slmult0 \up0 \expndtw3\charscalex100 \ul0\nosupersub\cf4\f5\fs24 SY-TLENG\ul0\nosupersub\cf2\f3\fs24 . LOOP AT and READ TABLE s ets the following system fields as \line \up0 \expndtw-4\charscalex100 follows. \par\pard\ qj \li1262\sb0\sl-280\slmult0 \par\pard\qj\li1262\ri1664\sb1\sl-280\slmult0\fi59 \up0 \expndtw-3\charscalex100 The operations DESCRIBE. \par\pard\qj \li1321\ri2104\sb0\sl-560\slmult0\tx216 1 \up0 \expndtw-3\charscalex100 COLLECT: COLLECT sets SY-TABIX to the index of t he existing or inserted line of the \line\tab \up0 \expndtw-4\charscalex100 inte rnal table. \up0 \expndtw-3\charscalex100 \ul0\nosupersub\ cf1\f2\fs24 Glossary: \par\pard\ql \li1262\sb235\sl-276\slmult0 \up0 \expndtw-3\ charscalex100 \ul0\nosupersub\cf4\f5\fs24 Data Object \par\pard\ql \li1262\sb0\s l-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex1 00 \ul0\nosupersub\cf2\f3\fs24 Instance of a Data type. \pa r\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb0\sl-276\slmult0 \par \pard\ql\li1262\sb272\sl-276\slmult0 \up0 \expndtw-3\charscalex100 READ: SY-TABI X is set to the index of the line of the internal table that is read. SY-TABIX contains the index of the line that enters \up0 \expndtw-3\charscalex100 loop and when it exits loop SY-TABIX is reset to the index that it had before entering loop. It occupies a field in m emory \par\pard\ql \li1262\sb264\sl-276\slmult0 \up0 \expndtw-5\charscalex100 \u l0\nosupersub\cf4\f5\fs24 Data Type \par\pard\ql \li1262\sb0\sl-276\slmult0 \par \pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosupersub \cf2\f3\fs24 Describe the technical attributes of a Data Object \par\pard\ql \li 1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-3\c harscalex100 \ul0\nosupersub\cf4\f5\fs24 Flat Structure \par\pard\ql \li1262\sb0 \sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-3\charscale x100 \ul0\nosupersub\cf2\f3\fs24 Structure containing only elementary data types \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-5\charscalex100 \ul0\nosupersub\cf4\f5\fs24 Hashed Table \par\pard \qj \li1262\sb0\sl-260\slmult0 \par\pard\qj\li1262\ri1316\sb38\sl-260\slmult0 \u p0 \expndtw-2\charscalex100 \ul0\nosupersub\cf2\f3\fs24 One type of an internal table where it is accessed using hash algorithm and hash key.e. As this field is set only for Index \up0 \expndt w-3\charscalex100 tables SY-TABIX is set to the index for the following operatio ns.contains the length of the lines in the internal table \par\pard\qj \li1321\r i2682\sb30\sl-560\slmult0 \up0 \expndtw-2\charscalex100 \ul0\nosupersub\cf4\f5\f s24 SY-TOCCU\ul0\nosupersub\cf2\f3\fs24 .

Sorted and Hashed Table. Standard.62\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb11\sl-276\slmult0 \up0 \expndtw-5\ch arscalex100 \ul0\nosupersub\cf4\f5\fs24 Internal Tables \par\pard\ql \li1262\sb0 \sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-2\charscale x100 \ul0\nosupersub\cf2\f3\fs24 A Data Object (either declared directly or decl ared from the Data Type) that stores the data and \par\pard\ql \li1262\sb4\sl-27 6\slmult0 \up0 \expndtw-3\charscalex100 process within the program. \par\pard\ql \li1262\s b0\sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-5\charsca lex100 \ul0\nosupersub\cf4\f5\fs24 Sorted Table \par\pard\ql \li1262\sb0\sl-276\ slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul 0\nosupersub\cf2\f3\fs24 An Internal table type that is sorted with its specifie d key \par\pard\ql \li1262\sb264\sl-276\slmult0 \up0 \expndtw-5\charscalex100 \u l0\nosupersub\cf4\f5\fs24 Standard Table \par\pard\ql \li1262\sb0\sl-276\slmult0 \par\pard\ql\li1262\sb8\sl-276\slmult0 \up0 \expndtw-3\charscalex100 \ul0\nosup ersub\cf2\f3\fs24 An internal table that is unsorted \par\pard\sect\sectd\fs24} . You can defi ne three types namely.

Sign up to vote on this title
UsefulNot useful