SAP ABAP Class CL_IM_BOLETO_BARCODE_BR (Imp. class for BAdI imp. BOLETO_BARCODE_BR)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
CRM-LOC-BR (Application Component) Brazil
⤷
J1BA (Package) Localization Brazil
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_EX_BOLETO_BARCODE | Business add-in interface IF_EX_BOLETO_BARCODE | 20041027 |
Properties
| Class | CL_IM_BOLETO_BARCODE_BR | |
| Short Description | Imp. class for BAdI imp. BOLETO_BARCODE_BR | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | J1BA | Localization Brazil |
| Created | 20041027 | SAP |
| Last change | 20041209 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_IM_BOLETO_BARCODE_BR has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_EX_BOLETO_BARCODE | Business add-in interface IF_EX_BOLETO_BARCODE | 20041027 |
Friends
Class CL_IM_BOLETO_BARCODE_BR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | I | 32 | Base to be converted to | 20041027 | ||
| 2 | Instance attribute | Private | See coding | Conversion table bin->any shorter form | 20041027 | ||||
| 3 | Instance attribute | Private | See coding | Conversion table dec->bin | 20041027 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | I | Number of bits to represent mc_base | 20041027 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Convert binary barcode digit representation to decimal | 20041027 | |
| 2 | Instance method | Private | Method | Convert binary to other number system, specified in MC_BASE | 20041027 | |
| 3 | Instance method | Public | Constructor | Fill internal conversion tables | 20041027 | |
| 4 | Instance method | Private | Method | Convert each barcode digit to binary | 20041027 | |
| 5 | Instance method | Private | Method | Convert binary substring to number with base mc_base | 20041027 | |
| 6 | Instance method | Private | Method | Convert number in system specified in MC_BASE to binary | 20041027 | |
| 7 | Instance method | Private | Method | Split converted barcode into two ESR fields | 20041027 |
Events
Class CL_IM_BOLETO_BARCODE_BR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | MTY_BINTOSHORTER | Private | See coding | 20041027 | begin of MTY_BINTOSHORTER,
bin_digits(10) type c,
con_digit(1) type c,
end of MTY_BINTOSHORTER
|
||
| 2 | MTY_DECTOBIN | Private | See coding | 20041027 | begin of MTY_DECTOBIN,
dec_digit(1) type c,
bin_digits(4) type c,
end of mty_dectobin
|
Method Signatures
Method BIN_TO_DEC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DEC | Call by reference | Type reference (TYPE) | C | 20041027 | ||||
| 2 | IV_BIN | Call by reference | Type reference (TYPE) | C | 20041027 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041027 |
Method BIN_TO_SHORTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CONVERTED | Call by reference | Type reference (TYPE) | C | 20041027 | ||||
| 2 | IV_BIN | Call by reference | Type reference (TYPE) | C | 20041027 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041027 |
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_IM_BOLETO_BARCODE_BR has no parameter.
Method CONSTRUCTOR on class CL_IM_BOLETO_BARCODE_BR has no exception.
Method DEC_TO_BIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BIN | Call by reference | Type reference (TYPE) | C | 20041027 | ||||
| 2 | IV_DEC | Call by reference | Type reference (TYPE) | C | 20041027 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041027 |
Method MAP_TO_CONVERTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BINSTRING | Call by reference | Type reference (TYPE) | C | 20041027 | ||||
| 2 | RV_CONVERTED | Value transfer | Type reference (TYPE) | CHAR1 | 20041027 |
Method MAP_TO_CONVERTED on class CL_IM_BOLETO_BARCODE_BR has no exception.
Method SHORTER_TO_BIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BIN | Call by reference | Type reference (TYPE) | C | 20041027 | ||||
| 2 | IV_CONVERTED | Call by reference | Type reference (TYPE) | C | 20041027 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041027 |
Method SPLIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ESRNR | Call by reference | Type reference (TYPE) | ESRNR | 20041027 | ||||
| 2 | EV_ESRRE | Call by reference | Type reference (TYPE) | ESRRE | 20041027 | ||||
| 3 | IV_CODE | Call by reference | Type reference (TYPE) | C | 20041027 |
Method SPLIT on class CL_IM_BOLETO_BARCODE_BR has no exception.
History
| Last changed by/on | SAP | 20041209 |
| SAP Release Created in | 600 |