SAP ABAP Class CL_HRPADRU_DATA_FORMAT (HR-RU: data format)
Hierarchy
SAP_HRCRU (Software Component) Sub component SAP_HRCRU of SAP_HR
   PA-PA-RU (Application Component) Personalwesesen Stammdaten: Russland
     PB33 (Package) HR master data : Russia
Properties
Class CL_HRPADRU_DATA_FORMAT  
Short Description HR-RU: data format    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PB33   HR master data : Russia 
Created 20080515   SAP 
Last change 20081217   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_HRPADRU_DATA_FORMAT has no forward declaration.
Interfaces
Class CL_HRPADRU_DATA_FORMAT has no interface implemented.
Friends
Class CL_HRPADRU_DATA_FORMAT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GV_CURRENCY Static Attribute Public Type reference (TYPE) SYCURR 'RUB' Currency 20080520
2 GV_DECIMALS Static Attribute Public Type reference (TYPE) I 0 Number decimal places to rounding is to be carried out 20080516
3 GV_SIGN Static Attribute Public See coding '0.5' Rounding sign 20080516
4 MT_FORMAT Instance attribute Private See coding Format table 20080520
5 MV_BEGDA Instance attribute Private Type reference (TYPE) BEGDA Start Date 20080520
6 MV_ENDDA Instance attribute Private Type reference (TYPE) ENDDA End Date 20080520
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20080520
2 DATE Static method Private Method Date separators replacement 20080520
3 FORMAT Instance method Public Method Format structure 20080520
4 FORMAT_FIELD Instance method Public Method Format field 20080522
5 INITIAL Static method Public Method Initial value 20080520
6 MINUS Static method Public Method Minus 20080520
7 OUTPUT Static method Public Method Output format 20080519
8 REPLACE Static method Private Method Amount separators replacing 20080520
9 ROUND Static method Public Method Rounding 20080520
10 ROUND_ACCOUNTING Static method Public Method Accounting rounding 20080515
11 ROUND_CEIL Static method Public Method Ceil rounding 20080516
12 ROUND_FLOOR Static method Public Method Floor rounding 20080516
13 ROUND_HALF_DOWN Static method Private Method Half-down rounding 20080516
14 ROUND_MATHEMATICAL Static method Public Method Mathematical rounding 20080516
15 ROUND_SYS Static method Private Method Round internal 20080520
16 ROUND_TRUNCATE Static method Public Method Truncation rounding 20080516
Events
Class CL_HRPADRU_DATA_FORMAT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_P16D14 Private See coding Type P(16) decimals 14 20080515 ty_p16d14(16) type p decimals 14
2 TY_P16D2 Private See coding Type P(16) decimals 2 20080516 ty_p16d2(16) type p decimals 2
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Start Date 20080520
2 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA End Date 20080520
3 Importing IV_PROGR Value transfer Type reference (TYPE) PROGRAMM SY-CPROG ABAP Program Name 20080520
# Exception Resumable Description Created on
1 NOT_FOUND Format customizing not found 20080520

Method DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY Date 20080520
2 Importing IV_SEPARATOR Value transfer Type reference (TYPE) CHAR1 Separator 20080520
3 Importing IV_YYYY Value transfer Type reference (TYPE) FLAG SPACE Long year 20080520

Method DATE on class CL_HRPADRU_DATA_FORMAT has no exception.

Method FORMAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_STRUC Call by reference Type reference (TYPE) ANY Structure 20080520
2 Importing IV_PROGR Value transfer Type reference (TYPE) PROGRAMM SY-CPROG ABAP Program Name 20080521
3 Importing IV_STRUC Value transfer Type reference (TYPE) STRUKNAME Name of a structure 20080520
# Exception Resumable Description Created on
1 ILLEGAL_STUCTURE Illegal type of structure 20080520
2 NOT_CUSTOMIZED Structure format is not customized 20080520
3 NOT_FOUND Structure does not exist 20080520

Method FORMAT_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_DATA Call by reference Type reference (TYPE) ANY Field 20080522
2 Importing IV_FIELD Call by reference Type reference (TYPE) FIELDNAME Field Name 20080522
3 Importing IV_PROGR Call by reference Type reference (TYPE) PROGRAMM SY-CPROG ABAP Program Name 20080522
4 Importing IV_STRUC Call by reference Type reference (TYPE) STRUKNAME Name of a structure 20080522
# Exception Resumable Description Created on
1 NOT_CUSTOMIZED Structure format is not customized 20080522
2 NOT_FOUND Structure does not exist 20080522

Method INITIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VALUE Call by reference Type reference (TYPE) ANY Export value 20080520
2 Importing IV_INITIAL_VALUE Call by reference Type reference (TYPE) P33_FORMAT_EMPTY Initial value 20080520
3 Importing IV_VALUE Call by reference Type reference (TYPE) ANY Input value 20080520
# Exception Resumable Description Created on
1 INITIAL_CONVERSION_ERROR Conversion error 20080520

Method MINUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VALUE Call by reference Type reference (TYPE) ANY Export value 20080520
2 Importing IV_TYPE Value transfer Type reference (TYPE) P33_FORMAT_MINUS Minus 20080520
3 Importing IV_VALUE Call by reference Type reference (TYPE) ANY Input value 20080520

Method MINUS on class CL_HRPADRU_DATA_FORMAT has no exception.

Method OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VALUE Call by reference Type reference (TYPE) ANY Output value 20080519
2 Importing IV_MASK Value transfer Type reference (TYPE) P33_FORMAT_MASKA Mask 20080519
3 Importing IV_TYPE Value transfer Type reference (TYPE) P33_FORMAT_DISPL Output 20080519
4 Importing IV_VALUE Call by reference Type reference (TYPE) ANY Input value 20080519
# Exception Resumable Description Created on
1 OUTPUT_CONVERSION_ERROR Conversion error 20080519

Method REPLACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY Amount 20080520
2 Importing IV_DECIMAL Value transfer Type reference (TYPE) CHAR1 Decimal part separator 20080520
3 Importing IV_INTEGER Value transfer Type reference (TYPE) CHAR1 Integer part separator 20080520
4 Importing IV_VALUE Call by reference Type reference (TYPE) ANY Input value 20080520

Method REPLACE on class CL_HRPADRU_DATA_FORMAT has no exception.

Method ROUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY Amount 20080520
2 Importing IV_TYPE Call by reference Type reference (TYPE) P33_FORMAT_ROUND Rounding type 20080520
# Exception Resumable Description Created on
1 ROUND_ERROR Rounding error 20080520

Method ROUND_ACCOUNTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Value transfer Type reference (TYPE) ANY Amount 20080515
# Exception Resumable Description Created on
1 ROUND_CONVERSION_ERROR Rounding error 20080516
2 ROUND_OVERFLOW_ERROR Overflow error 20080516

Method ROUND_CEIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY Amount 20080516
# Exception Resumable Description Created on
1 ROUND_CONVERSION_ERROR Conversion error 20080516
2 ROUND_OVERFLOW_ERROR Overflow error 20080516

Method ROUND_FLOOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY Amount 20080516
# Exception Resumable Description Created on
1 ROUND_CONVERSION_ERROR Conversion error 20080516
2 ROUND_OVERFLOW_ERROR Overflow error 20080516

Method ROUND_HALF_DOWN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY Amount 20080516
# Exception Resumable Description Created on
1 ROUND_CONVERSION_ERROR Conversion error 20080516
2 ROUND_OVERFLOW_ERROR Overflow error 20080516

Method ROUND_MATHEMATICAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY Amount 20080516
# Exception Resumable Description Created on
1 ROUND_CONVERSION_ERROR Rounding error 20080516
2 ROUND_OVERFLOW_ERROR Overflow error 20080516

Method ROUND_SYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY Amount 20080520
2 Importing IV_SIGN Value transfer Type reference (TYPE) CHAR1 Sign 20080520
# Exception Resumable Description Created on
1 ROUND_CONVERSION_ERROR Rounding error 20130215
2 ROUND_OVERFLOW_ERROR Overflow error 20130215

Method ROUND_TRUNCATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY Amount 20080516
# Exception Resumable Description Created on
1 ROUND_CONVERSION_ERROR Conversion error 20080516
2 ROUND_OVERFLOW_ERROR Overflow error 20080516
History
Last changed by/on SAP  20081217 
SAP Release Created in 600