ABAPCREATE_DATA_KEYDEF - CREATE DATA KEYDEF

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   PERFORM Short Reference  
This documentation is copyright by SAP AG.

KEYDEF - Defining a Table Key in the CREATE DATA Statement

Alternatives:

1. KEY k1 ... kn

2. KEY (keytab)

3. DEFAULT KEY

Effect

You can declare the names of the key components either statically or dynamically as the contents of an internal table. The same rules apply as when you define an internal table usingDATA. In particular,you cannot declare duplicate key components or key components that overlap. If you declared the line type dynamically, breakind these rules causes a runtime error.

Alternative 1

KEY k1 ... kn


Effect

The componentsk1, ..., kn are used as the key for the internal table in the order in which they were declared. Invalid component names cause a runtime error.

Alternative 2

KEY (keytab)


Effect

The system gets the key components from the internal table keytab at runtime. keytab must be an internal table with a character-type line type.

Alternative 3

DEFAULT KEY


Effect

The system uses the standard key as the key for the internal table.


TXBHW - Original Tax Base Amount in Local Currency   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.


Length: 1825 Date: 20120522 Time: 042044     triton ( 78 ms )