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 MC_BASE Constant Private Type reference (TYPE) I 32 Base to be converted to 20041027
2 MT_BINTOSHORTER Instance attribute Private See coding Conversion table bin->any shorter form 20041027
3 MT_DECTOBIN Instance attribute Private See coding Conversion table dec->bin 20041027
4 MV_BASEDIGITS 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 BIN_TO_DEC Instance method Private Method Convert binary barcode digit representation to decimal 20041027
2 BIN_TO_SHORTER Instance method Private Method Convert binary to other number system, specified in MC_BASE 20041027
3 CONSTRUCTOR Instance method Public Constructor Fill internal conversion tables 20041027
4 DEC_TO_BIN Instance method Private Method Convert each barcode digit to binary 20041027
5 MAP_TO_CONVERTED Instance method Private Method Convert binary substring to number with base mc_base 20041027
6 SHORTER_TO_BIN Instance method Private Method Convert number in system specified in MC_BASE to binary 20041027
7 SPLIT 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 Exporting EV_DEC Call by reference Type reference (TYPE) C 20041027
2 Importing IV_BIN Call by reference Type reference (TYPE) C 20041027
# Exception Resumable Description Created on
1 CONVERSION_FAILED 20041027

Method BIN_TO_SHORTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CONVERTED Call by reference Type reference (TYPE) C 20041027
2 Importing IV_BIN Call by reference Type reference (TYPE) C 20041027
# Exception Resumable Description Created on
1 CONVERSION_FAILED 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 Exporting EV_BIN Call by reference Type reference (TYPE) C 20041027
2 Importing IV_DEC Call by reference Type reference (TYPE) C 20041027
# Exception Resumable Description Created on
1 CONVERSION_FAILED 20041027

Method MAP_TO_CONVERTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BINSTRING Call by reference Type reference (TYPE) C 20041027
2 Returning 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 Exporting EV_BIN Call by reference Type reference (TYPE) C 20041027
2 Importing IV_CONVERTED Call by reference Type reference (TYPE) C 20041027
# Exception Resumable Description Created on
1 CONVERSION_FAILED 20041027

Method SPLIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ESRNR Call by reference Type reference (TYPE) ESRNR 20041027
2 Exporting EV_ESRRE Call by reference Type reference (TYPE) ESRRE 20041027
3 Importing 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