SAP ABAP Class CL_FITV_CCC_ROUNDING (Catch rounding differences)
Hierarchy
☛
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
⤷
FI-TV-COS (Application Component) Travel Expenses
⤷
PTRA_ADDON (Package) Travel Management Add-On
⤷
⤷
Properties
| Class | CL_FITV_CCC_ROUNDING | |
| Short Description | Catch rounding differences | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PTRA_ADDON | Travel Management Add-On |
| Created | 20120426 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_FITV_CCC_ROUNDING has no forward declaration.
Interfaces
Class CL_FITV_CCC_ROUNDING has no interface implemented.
Friends
Class CL_FITV_CCC_ROUNDING 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) | PTK34_T | Table Type: Existing Credit Card Receipts | 20121126 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | T706_CONST-KONST | 'NORND' | Payroll Constant | 20121126 | ||
| 3 | Constant | Private | Type reference (TYPE) | CHAR1 | '.' | Single-Character Indicator | 20121126 | ||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_FITV_CCC_ROUNDING | Catch rounding differences | 20121126 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | PERNR-PERNR | Personnel Number | 20121126 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | PTK34_INBEL_T | Table Type: Structure of Table INBEL of TC Cluster | 20121126 | |||
| 7 | Instance attribute | Private | See coding | sorted table INBEL | 20121126 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | T702N-MOREI | Trip Provision Variant | 20121126 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | PRIV_EXPS | 20121126 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | T706_CONST-ANZAHL | 0=no,1=only payed,2=all | 20121126 | |||
| 11 | Constant | Private | Type reference (TYPE) | CHAR1 | '-' | Single-Character Flag | 20121126 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20121126 | ||
| 2 | Instance method | Private | Method | checks if there is a private amount deducted | 20121126 | |
| 3 | Instance method | Public | Method | central entry point from RPRTEC00 | 20121126 | |
| 4 | Instance method | Public | Method | central entry point from WEb to calculate the non DB field | 20121126 | |
| 5 | Instance method | Private | Constructor | reads customizing and gets INBEL | 20121126 | |
| 6 | Instance method | Private | Method | reads activation in T706_CONST | 20121126 | |
| 7 | Instance method | Private | Method | imports INBEL from Cluster TC | 20121126 | |
| 8 | Static method | Public | Method | for new emplyoee get new instance of the class | 20121126 | |
| 9 | Static method | Public | Method | gets the CURR format of the inbel loc amount | 20121126 | |
| 10 | Static method | Public | Method | gets the payment amount for PDF based on BELER | 20121126 | |
| 11 | Instance method | Private | Method | handles receipts with wizard children | 20121126 | |
| 12 | Instance method | Private | Method | handles receipts without children | 20121126 | |
| 13 | Instance method | Private | Method | checks, if trip contains relevant receipts | 20121126 |
Events
Class CL_FITV_CCC_ROUNDING has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | BELEG_TYPE | Public | See coding | 20121126 | beleg_type TYPE TABLE OF ptk03
|
||
| 2 | BELER_TYPE | Public | See coding | 20121126 | beler_type TYPE TABLE OF ptk20
|
||
| 3 | EXBEL_TYPE | Public | See coding | 20121126 | exbel_type TYPE TABLE OF ptk33
|
||
| 4 | PRIV_EXPS | Public | See coding | 20121126 | BEGIN OF priv_exps,
prexc TYPE t706b1-prexc,
prexp type t706b1-prexp,
END OF priv_exps
|
Method Signatures
Method CALL_WEB_ROUTINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_RECEIPTS | Call by reference | Type reference (TYPE) | PTRV_UTIL_BELEG_T | Table for DB Structures PTK03 and PTK33 for Dialog | 20121126 | |||
| 2 | I_HEAD | Call by reference | Type reference (TYPE) | HEAD_PERIO | General Information and Period Data of a Trip | 20121126 |
Method CALL_WEB_ROUTINE on class CL_FITV_CCC_ROUNDING has no exception.
Method CHECK_PRIVATE_AMOUNT_PAYED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BELEG | Call by reference | Type reference (TYPE) | BELEG_TYPE | 20121126 | ||||
| 2 | R_PRIVATE_AMOUNT | Value transfer | Type reference (TYPE) | PTK03-BETRG | Amount on Individual Receipt | 20121126 |
Method CHECK_PRIVATE_AMOUNT_PAYED on class CL_FITV_CCC_ROUNDING has no exception.
Method CHECK_ROUNDED_AMOUNTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_BELER | Call by reference | Type reference (TYPE) | BELER_TYPE | Table BELER | 20121126 | |||
| 2 | I_BELEG | Call by reference | Type reference (TYPE) | BELEG_TYPE | Table BELEG | 20121126 | |||
| 3 | I_EXBEL | Call by reference | Type reference (TYPE) | EXBEL_TYPE | Table EXBEL | 20121126 | |||
| 4 | I_REINR | Call by reference | Type reference (TYPE) | PTRV_HEAD-REINR | Trip Number | 20121126 |
Method CHECK_ROUNDED_AMOUNTS on class CL_FITV_CCC_ROUNDING has no exception.
Method CHECK_ROUNDED_AMOUNTS_WEB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_BELER | Call by reference | Type reference (TYPE) | BELER_TYPE | Table BELER | 20121126 | |||
| 2 | I_BELEG | Call by reference | Type reference (TYPE) | BELEG_TYPE | Table BELEG | 20121126 | |||
| 3 | I_EXBEL | Call by reference | Type reference (TYPE) | EXBEL_TYPE | Table EXBEL | 20121126 | |||
| 4 | I_REINR | Call by reference | Type reference (TYPE) | HEAD_PERIO | Trip Number | 20121126 |
Method CHECK_ROUNDED_AMOUNTS_WEB on class CL_FITV_CCC_ROUNDING has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PERNR | Call by reference | Type reference (TYPE) | PERNR-PERNR | Personnel Number | 20121126 |
Method CONSTRUCTOR on class CL_FITV_CCC_ROUNDING has no exception.
Method GET_CUSTOMIZING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PERNR | Call by reference | Type reference (TYPE) | PERNR-PERNR | Personnel Number | 20121126 | |||
| 2 | R_ACTIVE | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20121126 |
Method GET_CUSTOMIZING on class CL_FITV_CCC_ROUNDING has no exception.
Method GET_INBEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PERNR | Call by reference | Type reference (TYPE) | PERNR-PERNR | Personnel Number | 20121126 | |||
| 2 | R_INBEL | Value transfer | Type reference (TYPE) | PTK34_INBEL_T | Table Type: Structure of Table INBEL of TC Cluster | 20121126 |
Method GET_INBEL on class CL_FITV_CCC_ROUNDING has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PERNR | Call by reference | Type reference (TYPE) | PERNR-PERNR | Personnel Number | 20121126 | |||
| 2 | R_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_FITV_CCC_ROUNDING | Catch rounding differences | 20121126 |
Method GET_INSTANCE on class CL_FITV_CCC_ROUNDING has no exception.
Method GET_LOC_AMOUNT_INBEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AMOUNT | Call by reference | Type reference (TYPE) | PTK34-BETRG | Character Length 11 | 20121126 | |||
| 2 | R_AMOUNT | Value transfer | Type reference (TYPE) | PTK03-BETRG | Amount on Individual Receipt | 20121126 |
Method GET_LOC_AMOUNT_INBEL on class CL_FITV_CCC_ROUNDING has no exception.
Method GET_PAY_AMOUNT_PDF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BELER | Call by reference | Type reference (TYPE) | CL_FITV_CCC_ROUNDING=>BELER_TYPE | 20121126 | ||||
| 2 | I_BELNR | Call by reference | Type reference (TYPE) | PTK03-BELNR | receipt number | 20121126 | |||
| 3 | R_PAY_AMOUNT | Value transfer | Type reference (TYPE) | PTK03-BETRG | Amount on Individual Receipt | 20121126 |
Method GET_PAY_AMOUNT_PDF on class CL_FITV_CCC_ROUNDING has no exception.
Method HANDLE_SPLIT_RECEIPTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_BELER | Call by reference | Type reference (TYPE) | BELER_TYPE | Tabel BELER | 20121126 | |||
| 2 | I_BELEG | Call by reference | Type reference (TYPE) | BELEG_TYPE | Tabel BELEG | 20121126 | |||
| 3 | I_BELER | Call by reference | Type reference (TYPE) | BELER_TYPE | Table BELER | 20121126 | |||
| 4 | I_BELNR | Call by reference | Type reference (TYPE) | PTK03-BELNR | Document Number | 20121126 | |||
| 5 | I_INBEL | Call by reference | Type reference (TYPE) | PTK34_INBEL | Structure For Table INBEL Of TC Cluster | 20121126 |
Method HANDLE_SPLIT_RECEIPTS on class CL_FITV_CCC_ROUNDING has no exception.
Method NOT_SPLIT_RECEIPTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AMOUNT | Call by reference | Type reference (TYPE) | PTK20-BETRG | Amount on Individual Receipt | 20121126 | |||
| 2 | I_BELEG | Call by reference | Type reference (TYPE) | PTK03 | Travel Expense Specifications According to Indiv. Receipt | 20121126 | |||
| 3 | I_INBEL | Call by reference | Type reference (TYPE) | PTK34_INBEL | Structure For Table INBEL Of TC Cluster | 20121126 | |||
| 4 | R_AMOUNT | Value transfer | Type reference (TYPE) | PTK20-BETRG | Amount on Individual Receipt | 20121126 |
Method NOT_SPLIT_RECEIPTS on class CL_FITV_CCC_ROUNDING has no exception.
Method RELEVANT_RECEIPTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BELER | Call by reference | Type reference (TYPE) | BELER_TYPE | Table BELER | 20121126 | |||
| 2 | I_EXBEL | Call by reference | Type reference (TYPE) | EXBEL_TYPE | Table Exbel | 20121126 | |||
| 3 | R_RELEVANT | Value transfer | Type reference (TYPE) | XFELD | Checkbox | 20121126 |
Method RELEVANT_RECEIPTS on class CL_FITV_CCC_ROUNDING has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |