SAP ABAP Class CL_DBI_BCD_CHECKER (Check for Correct BCD Numbers)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB-DBI (Application Component) DB-Independent Database Interface
⤷
SDB_DBI (Package) General Database Interface

⤷

⤷

Properties
Class | CL_DBI_BCD_CHECKER | |
Short Description | Check for Correct BCD Numbers | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SDB_DBI | General Database Interface |
Created | 20121127 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_DBI_BCD_CHECKER has no interface implemented.
Friends
Class CL_DBI_BCD_CHECKER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_BCDDESCR_TAB | Internal Tables with All BCD Column Descriptions | 20121127 | ||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | Number of BCD Columns of Table TABNAME | 20121127 | ||
3 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 2 | ABAP System Field: Return Code of ABAP Statements | 20121127 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 1 | Table does not have any BCD numbers | 20121127 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 3 | Nametab read error | 20121127 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | SY-SUBRC | 0 | OK | 20121127 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Check a BCD Number | 20121127 |
2 | ![]() |
Instance method | Public | Method | Check a Table Row | 20121127 |
3 | ![]() |
Instance method | Public | Method | Initialize Table Check | 20121127 |
Events
Class CL_DBI_BCD_CHECKER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | T_BCDDESCR | Private | See coding | 20121127 | begin of t_bcddescr,
name type abap_compname,
byte_length type i,
decimals type i,
end of t_bcddescr
|
||
2 | T_BCDDESCR_TAB | Private | See coding | Internal Tables with All BCD Column Descriptions | 20121127 | t_bcddescr_tab type standard table of t_bcddescr with key name
|
|
3 | T_COLS | Public | See coding | Column Names of Invalid BCD Numbers | 20121127 | t_cols type standard table of fieldname
|
Method Signatures
Method CHECK_SINGLE_BCD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
P_LEN | Call by reference | Type reference (TYPE) | I | Bytelänge der zu prüfenden Zahl | 20121127 | ||
2 | ![]() |
P_RC | Value transfer | Type reference (TYPE) | SY-SUBRC | ABAP-Systemfeld: Rückgabewert von ABAP-Anweisungen | 20121127 | ||
3 | ![]() |
P_X | Call by reference | Type reference (TYPE) | X | Hexadezimaldarstellung der zu prüfenden Zahl | 20121127 |
Method CHECK_SINGLE_BCD on class CL_DBI_BCD_CHECKER has no exception.
Method CHECK_WA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PS_WA | Call by reference | Type reference (TYPE) | ANY | Tabellenzeile der vorher mit INIT initialisierten Tabelle | 20121127 | ||
2 | ![]() |
PT_COLUMNS | Call by reference | Type reference (TYPE) | T_COLS | ITAB: Spalten mit invaliden BCD Zahlen | 20121127 | ||
3 | ![]() |
P_RC | Call by reference | Type reference (TYPE) | SY-SUBRC | Ergebnis der Prüfung | 20121127 |
Method CHECK_WA on class CL_DBI_BCD_CHECKER has no exception.
Method INIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
P_RC | Value transfer | Type reference (TYPE) | SY-SUBRC | ABAP-Systemfeld: Rückgabewert von ABAP-Anweisungen | 20121127 | ||
2 | ![]() |
P_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20121127 |
Method INIT on class CL_DBI_BCD_CHECKER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 740 |