BlogGitHub
Reference/ORK/SINGLETON/ORK/IF_SI_ABAP_INT4
Interface/ORK/IF_SI_ABAP_INT4
ABAP Integer (Singleton)
Package
/ORK/SINGLETON
Members
13
2 items
Methods
max
MethodPublic

Returns the maximum value from a table of integers.

Parameters

NameDescriptionvaluesTable of integer values to evaluatefallbackFallback value if table is emptyresultMaximum integer found or fallback

Signature

METHODS max IMPORTING !values TYPE ty_tt
                        fallback TYPE i DEFAULT 0
              RETURNING VALUE(result) TYPE i.
min
MethodPublic

Returns the minimum value from a table of integers.

Parameters

NameDescriptionvaluesTable of integer values to evaluatefallbackFallback value if table is emptyresultMinimum integer found or fallback

Signature

METHODS min IMPORTING !values TYPE ty_tt
                        fallback TYPE i DEFAULT 0
              RETURNING VALUE(result) TYPE i.
11 items
Types
ty_unit
TypePublic

32-bit integer type.

Signature

TYPES ty_unit TYPE i.
ty_tt
TypePublic

Table types for integer collections.

Signature

TYPES ty_tt TYPE STANDARD TABLE OF ty_unit WITH EMPTY KEY.
ty_td
TypePublic

Signature

TYPES ty_td TYPE STANDARD TABLE OF ty_unit WITH DEFAULT KEY.
ty_ts
TypePublic

Signature

TYPES ty_ts TYPE SORTED TABLE OF ty_unit WITH NON-UNIQUE KEY table_line.
ty_tq
TypePublic

Signature

TYPES ty_tq TYPE SORTED TABLE OF ty_unit WITH UNIQUE KEY table_line.
ty_th
TypePublic

Signature

TYPES ty_th TYPE HASHED TABLE OF ty_unit WITH UNIQUE KEY table_line.
ty_tr
TypePublic

Range types for integer values.

Signature

TYPES ty_tr TYPE RANGE OF ty_unit.
ty_sr
TypePublic

Signature

TYPES ty_sr TYPE LINE OF ty_tr.
ty_tts
TypePublic

Additional typed table variants with keys.

Signature

TYPES ty_tts TYPE STANDARD TABLE OF ty_unit WITH EMPTY KEY WITH NON-UNIQUE SORTED KEY ks COMPONENTS table_line.
ty_ttq
TypePublic

Signature

TYPES ty_ttq TYPE STANDARD TABLE OF ty_unit WITH EMPTY KEY WITH UNIQUE SORTED KEY kq COMPONENTS table_line.
ty_tth
TypePublic

Signature

TYPES ty_tth TYPE STANDARD TABLE OF ty_unit WITH EMPTY KEY WITH UNIQUE HASHED KEY kh COMPONENTS table_line.
Repository11 packages · 113 objects
124 items