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 CCBEL Instance attribute Private Type reference (TYPE) PTK34_T Table Type: Existing Credit Card Receipts 20121126
2 CONSTANT Static Attribute Public Type reference (TYPE) T706_CONST-KONST 'NORND' Payroll Constant 20121126
3 DECIMAL_POINT Constant Private Type reference (TYPE) CHAR1 '.' Single-Character Indicator 20121126
4 GV_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_FITV_CCC_ROUNDING Catch rounding differences 20121126
5 GV_PERNR Static Attribute Private Type reference (TYPE) PERNR-PERNR Personnel Number 20121126
6 INBEL Instance attribute Private Type reference (TYPE) PTK34_INBEL_T Table Type: Structure of Table INBEL of TC Cluster 20121126
7 INBEL_S Instance attribute Private See coding sorted table INBEL 20121126
8 MOREI Instance attribute Private Type reference (TYPE) T702N-MOREI Trip Provision Variant 20121126
9 PRIVATE_TYPES Instance attribute Private Type reference (TYPE) PRIV_EXPS 20121126
10 ROUNDING_ACTIVE Instance attribute Private Type reference (TYPE) T706_CONST-ANZAHL 0=no,1=only payed,2=all 20121126
11 SIGN Constant Private Type reference (TYPE) CHAR1 '-' Single-Character Flag 20121126
Methods
# Method Level Visibility Method type Description Created on
1 CALL_WEB_ROUTINE Static method Public Method 20121126
2 CHECK_PRIVATE_AMOUNT_PAYED Instance method Private Method checks if there is a private amount deducted 20121126
3 CHECK_ROUNDED_AMOUNTS Instance method Public Method central entry point from RPRTEC00 20121126
4 CHECK_ROUNDED_AMOUNTS_WEB Instance method Public Method central entry point from WEb to calculate the non DB field 20121126
5 CONSTRUCTOR Instance method Private Constructor reads customizing and gets INBEL 20121126
6 GET_CUSTOMIZING Instance method Private Method reads activation in T706_CONST 20121126
7 GET_INBEL Instance method Private Method imports INBEL from Cluster TC 20121126
8 GET_INSTANCE Static method Public Method for new emplyoee get new instance of the class 20121126
9 GET_LOC_AMOUNT_INBEL Static method Public Method gets the CURR format of the inbel loc amount 20121126
10 GET_PAY_AMOUNT_PDF Static method Public Method gets the payment amount for PDF based on BELER 20121126
11 HANDLE_SPLIT_RECEIPTS Instance method Private Method handles receipts with wizard children 20121126
12 NOT_SPLIT_RECEIPTS Instance method Private Method handles receipts without children 20121126
13 RELEVANT_RECEIPTS 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 Changing C_RECEIPTS Call by reference Type reference (TYPE) PTRV_UTIL_BELEG_T Table for DB Structures PTK03 and PTK33 for Dialog 20121126
2 Importing 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 Importing I_BELEG Call by reference Type reference (TYPE) BELEG_TYPE 20121126
2 Returning 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 Changing C_BELER Call by reference Type reference (TYPE) BELER_TYPE Table BELER 20121126
2 Importing I_BELEG Call by reference Type reference (TYPE) BELEG_TYPE Table BELEG 20121126
3 Importing I_EXBEL Call by reference Type reference (TYPE) EXBEL_TYPE Table EXBEL 20121126
4 Importing 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 Changing C_BELER Call by reference Type reference (TYPE) BELER_TYPE Table BELER 20121126
2 Importing I_BELEG Call by reference Type reference (TYPE) BELEG_TYPE Table BELEG 20121126
3 Importing I_EXBEL Call by reference Type reference (TYPE) EXBEL_TYPE Table EXBEL 20121126
4 Importing 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 Importing 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 Importing I_PERNR Call by reference Type reference (TYPE) PERNR-PERNR Personnel Number 20121126
2 Returning 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 Importing I_PERNR Call by reference Type reference (TYPE) PERNR-PERNR Personnel Number 20121126
2 Returning 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 Importing I_PERNR Call by reference Type reference (TYPE) PERNR-PERNR Personnel Number 20121126
2 Returning 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 Importing I_AMOUNT Call by reference Type reference (TYPE) PTK34-BETRG Character Length 11 20121126
2 Returning 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 Importing I_BELER Call by reference Type reference (TYPE) CL_FITV_CCC_ROUNDING=>BELER_TYPE 20121126
2 Importing I_BELNR Call by reference Type reference (TYPE) PTK03-BELNR receipt number 20121126
3 Returning 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 Exporting E_BELER Call by reference Type reference (TYPE) BELER_TYPE Tabel BELER 20121126
2 Importing I_BELEG Call by reference Type reference (TYPE) BELEG_TYPE Tabel BELEG 20121126
3 Importing I_BELER Call by reference Type reference (TYPE) BELER_TYPE Table BELER 20121126
4 Importing I_BELNR Call by reference Type reference (TYPE) PTK03-BELNR Document Number 20121126
5 Importing 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 Importing I_AMOUNT Call by reference Type reference (TYPE) PTK20-BETRG Amount on Individual Receipt 20121126
2 Importing I_BELEG Call by reference Type reference (TYPE) PTK03 Travel Expense Specifications According to Indiv. Receipt 20121126
3 Importing I_INBEL Call by reference Type reference (TYPE) PTK34_INBEL Structure For Table INBEL Of TC Cluster 20121126
4 Returning 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 Importing I_BELER Call by reference Type reference (TYPE) BELER_TYPE Table BELER 20121126
2 Importing I_EXBEL Call by reference Type reference (TYPE) EXBEL_TYPE Table Exbel 20121126
3 Returning 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