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 | Static Attribute | Public | Type reference (TYPE) | SYCURR | 'RUB' | Currency | 20080520 | ||
| 2 | Static Attribute | Public | Type reference (TYPE) | I | 0 | Number decimal places to rounding is to be carried out | 20080516 | ||
| 3 | Static Attribute | Public | See coding | '0.5' | Rounding sign | 20080516 | |||
| 4 | Instance attribute | Private | See coding | Format table | 20080520 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | BEGDA | Start Date | 20080520 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | ENDDA | End Date | 20080520 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20080520 | |
| 2 | Static method | Private | Method | Date separators replacement | 20080520 | |
| 3 | Instance method | Public | Method | Format structure | 20080520 | |
| 4 | Instance method | Public | Method | Format field | 20080522 | |
| 5 | Static method | Public | Method | Initial value | 20080520 | |
| 6 | Static method | Public | Method | Minus | 20080520 | |
| 7 | Static method | Public | Method | Output format | 20080519 | |
| 8 | Static method | Private | Method | Amount separators replacing | 20080520 | |
| 9 | Static method | Public | Method | Rounding | 20080520 | |
| 10 | Static method | Public | Method | Accounting rounding | 20080515 | |
| 11 | Static method | Public | Method | Ceil rounding | 20080516 | |
| 12 | Static method | Public | Method | Floor rounding | 20080516 | |
| 13 | Static method | Private | Method | Half-down rounding | 20080516 | |
| 14 | Static method | Public | Method | Mathematical rounding | 20080516 | |
| 15 | Static method | Private | Method | Round internal | 20080520 | |
| 16 | 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 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20080520 | |||
| 2 | IV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20080520 | |||
| 3 | IV_PROGR | Value transfer | Type reference (TYPE) | PROGRAMM | SY-CPROG | ABAP Program Name | 20080520 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Format customizing not found | 20080520 |
Method DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Date | 20080520 | |||
| 2 | IV_SEPARATOR | Value transfer | Type reference (TYPE) | CHAR1 | Separator | 20080520 | |||
| 3 | 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 | CS_STRUC | Call by reference | Type reference (TYPE) | ANY | Structure | 20080520 | |||
| 2 | IV_PROGR | Value transfer | Type reference (TYPE) | PROGRAMM | SY-CPROG | ABAP Program Name | 20080521 | ||
| 3 | IV_STRUC | Value transfer | Type reference (TYPE) | STRUKNAME | Name of a structure | 20080520 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Illegal type of structure | 20080520 | ||
| 2 | Structure format is not customized | 20080520 | ||
| 3 | Structure does not exist | 20080520 |
Method FORMAT_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_DATA | Call by reference | Type reference (TYPE) | ANY | Field | 20080522 | |||
| 2 | IV_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20080522 | |||
| 3 | IV_PROGR | Call by reference | Type reference (TYPE) | PROGRAMM | SY-CPROG | ABAP Program Name | 20080522 | ||
| 4 | IV_STRUC | Call by reference | Type reference (TYPE) | STRUKNAME | Name of a structure | 20080522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Structure format is not customized | 20080522 | ||
| 2 | Structure does not exist | 20080522 |
Method INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VALUE | Call by reference | Type reference (TYPE) | ANY | Export value | 20080520 | |||
| 2 | IV_INITIAL_VALUE | Call by reference | Type reference (TYPE) | P33_FORMAT_EMPTY | Initial value | 20080520 | |||
| 3 | IV_VALUE | Call by reference | Type reference (TYPE) | ANY | Input value | 20080520 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Conversion error | 20080520 |
Method MINUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VALUE | Call by reference | Type reference (TYPE) | ANY | Export value | 20080520 | |||
| 2 | IV_TYPE | Value transfer | Type reference (TYPE) | P33_FORMAT_MINUS | Minus | 20080520 | |||
| 3 | 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 | EV_VALUE | Call by reference | Type reference (TYPE) | ANY | Output value | 20080519 | |||
| 2 | IV_MASK | Value transfer | Type reference (TYPE) | P33_FORMAT_MASKA | Mask | 20080519 | |||
| 3 | IV_TYPE | Value transfer | Type reference (TYPE) | P33_FORMAT_DISPL | Output | 20080519 | |||
| 4 | IV_VALUE | Call by reference | Type reference (TYPE) | ANY | Input value | 20080519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Conversion error | 20080519 |
Method REPLACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Amount | 20080520 | |||
| 2 | IV_DECIMAL | Value transfer | Type reference (TYPE) | CHAR1 | Decimal part separator | 20080520 | |||
| 3 | IV_INTEGER | Value transfer | Type reference (TYPE) | CHAR1 | Integer part separator | 20080520 | |||
| 4 | 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 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Amount | 20080520 | |||
| 2 | IV_TYPE | Call by reference | Type reference (TYPE) | P33_FORMAT_ROUND | Rounding type | 20080520 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rounding error | 20080520 |
Method ROUND_ACCOUNTING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Value transfer | Type reference (TYPE) | ANY | Amount | 20080515 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rounding error | 20080516 | ||
| 2 | Overflow error | 20080516 |
Method ROUND_CEIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Amount | 20080516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Conversion error | 20080516 | ||
| 2 | Overflow error | 20080516 |
Method ROUND_FLOOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Amount | 20080516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Conversion error | 20080516 | ||
| 2 | Overflow error | 20080516 |
Method ROUND_HALF_DOWN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Amount | 20080516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Conversion error | 20080516 | ||
| 2 | Overflow error | 20080516 |
Method ROUND_MATHEMATICAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Amount | 20080516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rounding error | 20080516 | ||
| 2 | Overflow error | 20080516 |
Method ROUND_SYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Amount | 20080520 | |||
| 2 | IV_SIGN | Value transfer | Type reference (TYPE) | CHAR1 | Sign | 20080520 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Rounding error | 20130215 | ||
| 2 | Overflow error | 20130215 |
Method ROUND_TRUNCATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Amount | 20080516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Conversion error | 20080516 | ||
| 2 | Overflow error | 20080516 |
History
| Last changed by/on | SAP | 20081217 |
| SAP Release Created in | 600 |