Enables two programs to
communicate with each other.
Syntax
COMMUNICATION INIT
DESTINATION <dest> ID <id> [additions].
COMMUNICATION ALLOCATE ID
<id> [additions].
COMMUNICATION ACCEPT ID
<id> [additions].
COMMUNICATION SEND ID <id>
BUFFER <f> [additions].
COMMUNICATION RECEIVE ID
<id> [additions].
COMMUNICATION DEALLOCATE
ID <id> [additions].
The statement initializes,
creates, and accepts communication between two programs; lets these two programs
send and receive data; and then closes the connection.
COMPUTE
Performs numeric
operations.
Syntax
COMPUTE <n> =
<expression>.
The result of the
mathematical operation specified in <expression> is assigned to the field <n>.
The keyword COMPUTE is optional.
CONCATENATE
Concatenates (chains)
several strings to a string.
Syntax
CONCATENATE <c1>� <cn>
INTO <c> [ SEPARATED BY <s> ]
[IN BYTE MODE|IN CHARACTER MODE].
This statement
concatenates the strings <c1> to <cn> and assigns the result to <c>. The
addition SEPARATED BY <s> allows you to specify a character field <s> which is
placed in its defined length between the individual fields. In Unicode programs,
you must specify whether the statement is a character or byte operation, using
the IN BYTE MODE or IN CHARACTER MODE (default) additions.
CONDENSE
Removes spaces from a
string
Syntax
CONDENSE <c> [NO-GAPS].
This statement removes any
leading blanks from the field <c> and replaces other sequences of blanks by
exactly one blank. If the addition NO-GAPS is specified, all blanks are removed.
CONSTANTS
Declares constant data
objects.
Syntax
CONSTANTS <c>� VALUE
[<val> | IS INITIAL]�
The syntax is similar to
DATA, except that the VALUE addition is required, and that internal tables and
deep structures cannot be declared as constants The start value specified in the
VALUE addition cannot be changed during the execution of the program.
CONTINUE
Ends a loop pass.
Syntax
CONTINUE.
Only possible within
loops. This statement terminates the current loop pass and starts the next
CONTEXTS
Declares a context.
Syntax
CONTEXTS <c>.
Generates an implicit data
type CONTEXT_<c>, which you can use to create context instances
CONTROLS
Defines a control.
Syntax
CONTROLS <ctrl> TYPE
<ctrl_type>.
Defines an ABAP runtime
object <ctrl>. This displays data in a particular format on a screen, depending
on the type <ctrl_type> Currently, <ctrl_type> may be a table control or
tabstrip control
CONVERT f�r Dates
Converts a data into an
inverted date form.
Syntax
CONVERT DATE <d1> INTO
INVERTED-DATE <d2>.
CONVERT INVERTED-DATE <d1>
INTO DATE <d2>.
If <d1> and <d2> are date
fields in the internal form YYYYMMDD, the nines complement of <d1> is placed in
field <d2> and vice versa. In inverted date format, the most recent date has the
smaller numerical value
CONVERT for Timestamps
Converts a timestamp into
the correct date and time for the current time zone
Syntax
CONVERT TIME STAMP <tst>
TIME ZONE <tz> INTO DATE <d> TIME <t>.
CONVERT DATE <d> TIME <t>
INTO TIME STAMP <tst> TIME ZONE <tz>.
As long as <tst> has type
P(8) or P(11) with 7 decimal placed, and <tz> has type C(6), the time stamp
<tst> will be converted to the correct date <d> and time <t> for the time zone
<tz>.
CONVERT for Text
Converts a text into a
format that can be sorted alphabetically.
Syntax
CONVERT TEXT <text> INTO
SORTABLE CODE <x>.
<text> must have type C
and <x> must have type X. The string is then converted so that the relative
order of the characters allows them to be sorted alphabetically in the current
text environment
CREATE DATA
Creates a dynamic data
object.
Syntax
CREATE DATA <dref> TYPE
<type>|LIKE <obj>.
CREATE DATA <dref> TYPE
LINE OF <itab>|LIKE LINE OF <itab>.
CREATE DATA <dref> TYPE
REF TO DATA|<type>.
CREATE DATA <dref> TYPE
TYPE|LIKE <tabkind> OF <linetype> WITH <key>.
If <dref> is a data
reference variable, a data object of the specified type is created. The
reference in <dref> points to this object. You can omit the TYPE declaration in
fully-typed reference variables.
<cref> must be a reference
variable, defined with reference to a class. CREATE OBJECT then creates an
object of that class, to which the reference in <cref> then points The reference
in <dref> points to this object. If <oref> is a typed class reference variable
with reference to a subclass of <class>, or if <oref> is an interface reference
variable, whose interface is implemented in the class <class>, you can specify
the class of the instantiated object explicitly in a TYPE addition, to establish
the dynamic type of the reference variables. The EXPORTING addition specifies
the non-optional IMPORTING parameters of the instance constructor of the class
of the instantiated object.
CREATE OBJECT in OLE2 Automation
Instantiates an external
object in OLE2 Automation.
Syntax
CREATE OBJECT <obj>
<class>.
If <class> is a class
assigned to an automation server, an initial object <obj> of this class is
created