SAP ABAP Class CL_FITV_UTIL (Utility Class for Travel Management)
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
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_VAT_DETAILS_CONSTANTS Constants for VAT_DETAILS 20100511
Properties
Class CL_FITV_UTIL  
Short Description Utility Class for Travel Management    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PTRA_ADDON   Travel Management Add-On 
Created 20090212   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_VAT_DETAILS_CONSTANTS Constants for VAT_DETAILS 20100511
Friends
Class CL_FITV_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BETRG Instance attribute Private Attribute reference (LIKE) 20100511
2 GC_BLDAT Instance attribute Private Attribute reference (LIKE) 20100511
3 GC_CITY Instance attribute Private Attribute reference (LIKE) 20100511
4 GC_FALSE Instance attribute Private Attribute reference (LIKE) 20100511
5 GC_FWSTE Instance attribute Private Attribute reference (LIKE) 20100511
6 GC_HOUSE_NUM Instance attribute Private Attribute reference (LIKE) 20100511
7 GC_INTCA Instance attribute Private Attribute reference (LIKE) 20100511
8 GC_MC56 Instance attribute Private Attribute reference (LIKE) 20100511
9 GC_NAME Instance attribute Private Attribute reference (LIKE) 20100511
10 GC_POST_CODE Instance attribute Private Attribute reference (LIKE) 20100511
11 GC_PTRA_WEB_INTERF Instance attribute Private Attribute reference (LIKE) 20100511
12 GC_RECEIPT_ITEM Instance attribute Private Attribute reference (LIKE) 20100511
13 GC_RECEIPT_NO Instance attribute Private Attribute reference (LIKE) 20100511
14 GC_SAVE_MCA Constant Public Type reference (TYPE) T706_CONST-KONST 'S_MCA' Payroll Constant 20121211
15 GC_START_DATE Instance attribute Private Attribute reference (LIKE) 20100511
16 GC_STCD1 Instance attribute Private Attribute reference (LIKE) 20100511
17 GC_STCEG Instance attribute Private Attribute reference (LIKE) 20100511
18 GC_STREET Instance attribute Private Attribute reference (LIKE) 20100511
19 GC_TRIP_ACTION_DISPLAY Constant Public Type reference (TYPE) PTRV_TRIP_ACTION_M 'DIS' Function Code for Function Modules in PTRA_WEB_INTERFACE 20090724
20 GC_TRIP_ACTION_INSERT Constant Public Type reference (TYPE) PTRV_TRIP_ACTION_M 'INS' Function Code for Function Modules in PTRA_WEB_INTERFACE 20090724
21 GC_TRIP_ACTION_MODIFICATE Constant Public Type reference (TYPE) PTRV_TRIP_ACTION_M 'MOD' Function Code for Function Modules in PTRA_WEB_INTERFACE 20090724
22 GC_TRIP_ACTION_SCHEMACHANGE Constant Public Type reference (TYPE) PTRV_TRIP_ACTION_M 'SCCH' Function Code for Function Modules in PTRA_WEB_INTERFACE 20090724
23 GC_TRUE Instance attribute Private Attribute reference (LIKE) 20100511
24 GC_VAT_NOT_RELEVANT Instance attribute Private Attribute reference (LIKE) 20100511
25 GC_VAT_RELEVANT_COMPLETE Instance attribute Private Attribute reference (LIKE) 20100511
26 GC_VAT_RELEVANT_INCOMPLETE Instance attribute Private Attribute reference (LIKE) 20100511
27 GC_VAT_RELEVANT_NO_TO_COMPLETE Instance attribute Private Attribute reference (LIKE) 20100511
28 GC_VAT_SERVICE_CODE Instance attribute Private Attribute reference (LIKE) 20100511
29 GT_REQ_FIELDS Instance attribute Private Attribute reference (LIKE) 20100511
30 GV_BEGDA Static Attribute Private Type reference (TYPE) T706_CONST-KONST Payroll Constant 20121211
31 GV_CONST_VALUE Static Attribute Private Type reference (TYPE) T706_CONST-ANZAHL Number of Records 20121211
32 GV_MOREI Static Attribute Private Type reference (TYPE) PTRV_HEAD-MOREI Trip Provision Variant 20121211
33 GV_PERNR Static Attribute Private Type reference (TYPE) PERNR-PERNR Personnel Number 20121211
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_BUDAT_RSPLIT_STAMM Static method Public Method Validation Date for Master Account Assignmt from head_perio 20110906
2 CALCULATE_NUMBER_SALARY Static method Public Method Calculate number of days for salary element (Norway) 20090724
3 CREATE_DURATION_DESCR Static method Public Method Get Text for Trip Duration 20100505
4 FILL_HEAD_PERIO_FROM_SOURCE Static method Public Method Gets head_period According to Data Source 20110906
5 GET_16_08_CORRECTION Static method Public Method Get the hour correction for 16:00 - 08:00 rule 20100505
6 GET_CONST_VALUE Static method Public Method Get Value of t706_const Constant 20121211
7 GET_COUNTRY_BY_MOREI_SCHEME Static method Public Method Read Country Using T706S and T706D 20100511
8 GET_DATA_ELEMENT_TEXT Static method Public Method Get the text of a data element 20100505
9 GET_TYPE_BY_DATA Static method Public Method Description of data object type 20100511
10 READ_NAME_COUNTRY_REGION Static method Public Method Read description for COUNTRY_REGION_NAME 20090724
11 READ_NAME_DOMTEXT Static method Public Method 20100511
12 RECEIPT_COUNTRY_DEFAULT Static method Public Method Set Default Value for Receipt Country and Receipt Region 20100511
13 SIXTY_DAYS_RULE_DK_ACTIVE Static method Public Method Check whether 60-day rule for Denmark is active 20120120
14 SPLIT_PTRV_UTIL_BELEG Static method Public Method Split Structure Among PTK03,PTK33, ... 20100511
Events
Class CL_FITV_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_16_08_CORRECTION Public See coding 20100505 BEGIN OF ts_16_08_correction, date TYPE dats, sign TYPE c LENGTH 1, time TYPE tims, END OF ts_16_08_correction
2 TTY_FIELD_DESCRIPTION Public Attribute reference (LIKE) 20100511
3 TTY_VAT_REQ_FIELDS Public Attribute reference (LIKE) 20100511
4 TT_16_08_CORRECTION Public See coding 20100505 tt_16_08_correction TYPE TABLE OF ts_16_08_correction
5 TT_TRIP_KEY_WITH_SOURCE Public See coding 20110908 begin of TT_TRIP_KEY_WITH_SOURCE , data_source TYPE char3, pernr TYPE ptrv_head-pernr, reinr TYPE ptrv_head-reinr, pdvrs TYPE ptrv_perio-pdvrs, perio TYPE ptrv_perio-perio, END OF TT_TRIP_KEY_WITH_SOURCE
6 TY_FIELD_DESCRIPTION Public Attribute reference (LIKE) 20100511
7 TY_VAT_REQ_FIELDS Public Attribute reference (LIKE) 20100511
Method Signatures

Method CALCULATE_BUDAT_RSPLIT_STAMM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HEAD_PERIO Call by reference Type reference (TYPE) HEAD_PERIO Rahmen-und Periodendaten einer Reise 20110906
2 Returning RV_BUDAT Value transfer Type reference (TYPE) SY-DATUM Verprobungsdatum für Stammkontierung 20110906

Method CALCULATE_BUDAT_RSPLIT_STAMM on class CL_FITV_UTIL has no exception.

Method CALCULATE_NUMBER_SALARY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATB1 Call by reference Type reference (TYPE) REEND Reiseabschnitt: Endedatum 20090724
2 Importing IV_DATV1 Call by reference Type reference (TYPE) REBED Reiseabschnitt: Beginndatum 20090724
3 Importing IV_MOREI Call by reference Type reference (TYPE) MOREI Reiseregelungsvariante 20090724
4 Importing IV_UHRB1 Call by reference Type reference (TYPE) REENU Reiseabschnitt: Endeuhrzeit 20090724
5 Importing IV_UHRV1 Call by reference Type reference (TYPE) REBEU Reiseabschnitt: Beginnuhrzeit 20090724
6 Returning RV_ANZAL Value transfer Type reference (TYPE) ERANZ Anzahl 20090724

Method CALCULATE_NUMBER_SALARY on class CL_FITV_UTIL has no exception.

Method CREATE_DURATION_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_TIME_DURATION Value transfer Type reference (TYPE) PTRV_TIME_DURATION Dauer in Stunden und Minuten 20100505
2 Importing IV_ALL_DAY Call by reference Type reference (TYPE) XFELD Feld zum Ankreuzen 20100505
3 Importing IV_FROM_TIME Call by reference Type reference (TYPE) TIMS Feld vom Typ TIMS 20100505
4 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Sprachenschlüssel der aktuellen Textumgebung 20100505
5 Importing IV_TO_TIME Call by reference Type reference (TYPE) TIMS Feld vom Typ TIMS 20100505

Method CREATE_DURATION_DESCR on class CL_FITV_UTIL has no exception.

Method FILL_HEAD_PERIO_FROM_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_HEAD_PERIO Value transfer Type reference (TYPE) HEAD_PERIO Kopf- und Periodendaten 20110906

Method FILL_HEAD_PERIO_FROM_SOURCE on class CL_FITV_UTIL has no exception.

Method GET_16_08_CORRECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_16_08_CORRECTION Value transfer Type reference (TYPE) TT_16_08_CORRECTION 20100505
2 Importing IS_HEAD Call by reference Type reference (TYPE) PTP02 Struktur der Reisekosten-Tabelle PTRV_HEAD 20100505
3 Importing IT_ZIEL Call by reference Type reference (TYPE) PTK05_ITAB Reisezwischenziel 20100505

Method GET_16_08_CORRECTION on class CL_FITV_UTIL has no exception.

Method GET_CONST_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE Call by reference Type reference (TYPE) T706_CONST-BEGDA Gültigkeitsbeginn 20121211
2 Importing IV_KONST Call by reference Type reference (TYPE) T706_CONST-KONST Abrechnungskonstante 20121211
3 Importing IV_MOREI Call by reference Type reference (TYPE) PTRV_HEAD-MOREI Reiseregelungsvariante 20121211
4 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR-PERNR Personalnummer 20121211
5 Returning RV_VALUE Value transfer Type reference (TYPE) T706_CONST-ANZAHL 20121211

Method GET_CONST_VALUE on class CL_FITV_UTIL has no exception.

Method GET_COUNTRY_BY_MOREI_SCHEME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_COUNTRY Value transfer Type reference (TYPE) LNDGR Land des Transportmittels 20100511
2 Importing IV_MOREI Call by reference Type reference (TYPE) MOREI Reiseregelungsvariante 20100511
3 Importing IV_SCHEM Call by reference Type reference (TYPE) RSCHE Reiseschema 20100511

Method GET_COUNTRY_BY_MOREI_SCHEME on class CL_FITV_UTIL has no exception.

Method GET_DATA_ELEMENT_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATA_ELEMENT Call by reference Type reference (TYPE) ROLLNAME Datenelement (semantische Domäne) 20100505
2 Importing IV_HEADING_LABEL Call by reference Type reference (TYPE) XFELD Feld zum Ankreuzen 20100505
3 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Sprachenschlüssel der aktuellen Textumgebung 20100505
4 Importing IV_LONG_LABEL Call by reference Type reference (TYPE) XFELD Feld zum Ankreuzen 20100505
5 Importing IV_MEDIUM_LABEL Call by reference Type reference (TYPE) XFELD Feld zum Ankreuzen 20100505
6 Importing IV_SHORT_LABEL Call by reference Type reference (TYPE) XFELD Feld zum Ankreuzen 20100505
7 Returning RP_LABEL Value transfer Type reference (TYPE) STRING 20100505
# Exception Resumable Description Created on
1 DATA_ELEMENT_NOT_FOUND 20100505

Method GET_TYPE_BY_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELD Value transfer Type reference (TYPE) TTY_FIELD_DESCRIPTION Allgemeine Datentypen (für allg. Funktionsbausteine etc.) 20100511
2 Importing IT_FIELD_TABLE Call by reference Type reference (TYPE) TTY_VAT_REQ_FIELDS Komponentenname 20100511
# Exception Resumable Description Created on
1 CX_FITV_ERROR_OCCURED Fehler aufgetreten 20100511

Method READ_NAME_COUNTRY_REGION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COUNTRY Call by reference Type reference (TYPE) LNDGR Reiseland / Reiseländergruppe 20090724
2 Importing I_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Sprachenschlüssel der aktuellen Textumgebung 20090724
3 Importing I_REGION Call by reference Type reference (TYPE) HRGIO Region des Hauptziels 20090724
4 Importing I_TP_VARIANT Call by reference Type reference (TYPE) MOREI Reiseregelungsvariante 20090724
5 Returning R_COUNTRY_REGION_NAME Value transfer Type reference (TYPE) TEXT_RGION Bezeichnung Reiseland / Reiseländergruppe / Reiseregion 20090724

Method READ_NAME_COUNTRY_REGION on class CL_FITV_UTIL has no exception.

Method READ_NAME_DOMTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOMNAME Call by reference Type reference (TYPE) DDOBJNAME Name eines ABAP Dictionary-Objekts 20100511
2 Importing IV_DOMVALUE Call by reference Type reference (TYPE) ANY 20100511
3 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Sprachenschlüssel der aktuellen Textumgebung 20100511
4 Returning RV_DOMTEXT Value transfer Type reference (TYPE) STRING 20100511

Method READ_NAME_DOMTEXT on class CL_FITV_UTIL has no exception.

Method RECEIPT_COUNTRY_DEFAULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RECEIPT_COUNTRY Call by reference Type reference (TYPE) PTK03-LNDFR Land des Belegs 20100511
2 Exporting EV_RECEIPT_REGION Call by reference Type reference (TYPE) PTK03-RGION Reiseland / Reiseländergruppe / Reiseregion 20100511
3 Importing IV_DEFAULT_COUNTRY Call by reference Type reference (TYPE) PTK03-LNDFR Land des Belegs 20100511
4 Importing IV_DEFAULT_REGION Call by reference Type reference (TYPE) PTK03-RGION Reiseland / Reiseländergruppe / Reiseregion 20100511
5 Importing IV_MOREI Call by reference Type reference (TYPE) MOREI Reiseregelungsvariante 20100511
# Exception Resumable Description Created on
1 CX_FITV_KEY_NOT_FOUND Objekt nicht gefunden 20100511

Method SIXTY_DAYS_RULE_DK_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OTHER_EXPENSES Call by reference Type reference (TYPE) PTRV_OTHER_EXPENSES Kennzeichen für eine Belegabrechnung ohne Reise 20120120
2 Importing IV_TRVCT_R_18 Call by reference Type reference (TYPE) PTRV_TRVCT_R_18 Verfahren bei Reisen zum gleichen Ziel 20120120
3 Returning RV_ACTIVE Value transfer Type reference (TYPE) XFELD Feld zum Ankreuzen 20120120

Method SIXTY_DAYS_RULE_DK_ACTIVE on class CL_FITV_UTIL has no exception.

Method SPLIT_PTRV_UTIL_BELEG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BELEG Call by reference Type reference (TYPE) PTK03 Reisespesenvorgaben laut Einzelbeleg 20100511
2 Exporting ES_EXBEL Call by reference Type reference (TYPE) PTK33 Erweiterter Einzelbeleg 20100511
3 Exporting ES_VAT_DETAILS Call by reference Type reference (TYPE) PTP_VAT_DETAILS Lieferantendaten für die MWSt Erstattung im Reisemanagement 20100511
4 Exporting ET_GUEST_TAB Call by reference Type reference (TYPE) PTRV_GUEST_TAB Teilnehmer Bewirtungsbelege 20100511
5 Importing IS_BELEG_EXBEL Call by reference Type reference (TYPE) PTRV_UTIL_BELEG Reisespesenvorgaben laut Einzelbeleg für Dialog 20100511
6 Importing IV_MOREI Call by reference Type reference (TYPE) MOREI Reiseregelungsvariante 20100811

Method SPLIT_PTRV_UTIL_BELEG on class CL_FITV_UTIL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in