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 | ![]() |
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 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
2 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
3 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
4 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
5 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
6 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
7 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
8 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
9 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
10 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
11 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
12 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
13 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
14 | ![]() |
Constant | Public | Type reference (TYPE) | T706_CONST-KONST | 'S_MCA' | Payroll Constant | 20121211 | |
15 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
16 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
17 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
18 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
19 | ![]() |
Constant | Public | Type reference (TYPE) | PTRV_TRIP_ACTION_M | 'DIS' | Function Code for Function Modules in PTRA_WEB_INTERFACE | 20090724 | |
20 | ![]() |
Constant | Public | Type reference (TYPE) | PTRV_TRIP_ACTION_M | 'INS' | Function Code for Function Modules in PTRA_WEB_INTERFACE | 20090724 | |
21 | ![]() |
Constant | Public | Type reference (TYPE) | PTRV_TRIP_ACTION_M | 'MOD' | Function Code for Function Modules in PTRA_WEB_INTERFACE | 20090724 | |
22 | ![]() |
Constant | Public | Type reference (TYPE) | PTRV_TRIP_ACTION_M | 'SCCH' | Function Code for Function Modules in PTRA_WEB_INTERFACE | 20090724 | |
23 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
24 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
25 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
26 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
27 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
28 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
29 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20100511 | ||||
30 | ![]() |
Static Attribute | Private | Type reference (TYPE) | T706_CONST-KONST | Payroll Constant | 20121211 | ||
31 | ![]() |
Static Attribute | Private | Type reference (TYPE) | T706_CONST-ANZAHL | Number of Records | 20121211 | ||
32 | ![]() |
Static Attribute | Private | Type reference (TYPE) | PTRV_HEAD-MOREI | Trip Provision Variant | 20121211 | ||
33 | ![]() |
Static Attribute | Private | Type reference (TYPE) | PERNR-PERNR | Personnel Number | 20121211 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Validation Date for Master Account Assignmt from head_perio | 20110906 |
2 | ![]() |
Static method | Public | Method | Calculate number of days for salary element (Norway) | 20090724 |
3 | ![]() |
Static method | Public | Method | Get Text for Trip Duration | 20100505 |
4 | ![]() |
Static method | Public | Method | Gets head_period According to Data Source | 20110906 |
5 | ![]() |
Static method | Public | Method | Get the hour correction for 16:00 - 08:00 rule | 20100505 |
6 | ![]() |
Static method | Public | Method | Get Value of t706_const Constant | 20121211 |
7 | ![]() |
Static method | Public | Method | Read Country Using T706S and T706D | 20100511 |
8 | ![]() |
Static method | Public | Method | Get the text of a data element | 20100505 |
9 | ![]() |
Static method | Public | Method | Description of data object type | 20100511 |
10 | ![]() |
Static method | Public | Method | Read description for COUNTRY_REGION_NAME | 20090724 |
11 | ![]() |
Static method | Public | Method | 20100511 | |
12 | ![]() |
Static method | Public | Method | Set Default Value for Receipt Country and Receipt Region | 20100511 |
13 | ![]() |
Static method | Public | Method | Check whether 60-day rule for Denmark is active | 20120120 |
14 | ![]() |
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 | ![]() |
IV_HEAD_PERIO | Call by reference | Type reference (TYPE) | HEAD_PERIO | Rahmen-und Periodendaten einer Reise | 20110906 | ||
2 | ![]() |
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 | ![]() |
IV_DATB1 | Call by reference | Type reference (TYPE) | REEND | Reiseabschnitt: Endedatum | 20090724 | ||
2 | ![]() |
IV_DATV1 | Call by reference | Type reference (TYPE) | REBED | Reiseabschnitt: Beginndatum | 20090724 | ||
3 | ![]() |
IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20090724 | ||
4 | ![]() |
IV_UHRB1 | Call by reference | Type reference (TYPE) | REENU | Reiseabschnitt: Endeuhrzeit | 20090724 | ||
5 | ![]() |
IV_UHRV1 | Call by reference | Type reference (TYPE) | REBEU | Reiseabschnitt: Beginnuhrzeit | 20090724 | ||
6 | ![]() |
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 | ![]() |
EV_TIME_DURATION | Value transfer | Type reference (TYPE) | PTRV_TIME_DURATION | Dauer in Stunden und Minuten | 20100505 | ||
2 | ![]() |
IV_ALL_DAY | Call by reference | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20100505 | ||
3 | ![]() |
IV_FROM_TIME | Call by reference | Type reference (TYPE) | TIMS | Feld vom Typ TIMS | 20100505 | ||
4 | ![]() |
IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20100505 | |
5 | ![]() |
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 | ![]() |
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 | ![]() |
ET_16_08_CORRECTION | Value transfer | Type reference (TYPE) | TT_16_08_CORRECTION | 20100505 | |||
2 | ![]() |
IS_HEAD | Call by reference | Type reference (TYPE) | PTP02 | Struktur der Reisekosten-Tabelle PTRV_HEAD | 20100505 | ||
3 | ![]() |
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 | ![]() |
IV_DATE | Call by reference | Type reference (TYPE) | T706_CONST-BEGDA | Gültigkeitsbeginn | 20121211 | ||
2 | ![]() |
IV_KONST | Call by reference | Type reference (TYPE) | T706_CONST-KONST | Abrechnungskonstante | 20121211 | ||
3 | ![]() |
IV_MOREI | Call by reference | Type reference (TYPE) | PTRV_HEAD-MOREI | Reiseregelungsvariante | 20121211 | ||
4 | ![]() |
IV_PERNR | Call by reference | Type reference (TYPE) | PERNR-PERNR | Personalnummer | 20121211 | ||
5 | ![]() |
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 | ![]() |
EV_COUNTRY | Value transfer | Type reference (TYPE) | LNDGR | Land des Transportmittels | 20100511 | ||
2 | ![]() |
IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20100511 | ||
3 | ![]() |
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 | ![]() |
IV_DATA_ELEMENT | Call by reference | Type reference (TYPE) | ROLLNAME | Datenelement (semantische Domäne) | 20100505 | ||
2 | ![]() |
IV_HEADING_LABEL | Call by reference | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20100505 | ||
3 | ![]() |
IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20100505 | |
4 | ![]() |
IV_LONG_LABEL | Call by reference | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20100505 | ||
5 | ![]() |
IV_MEDIUM_LABEL | Call by reference | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20100505 | ||
6 | ![]() |
IV_SHORT_LABEL | Call by reference | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20100505 | ||
7 | ![]() |
RP_LABEL | Value transfer | Type reference (TYPE) | STRING | 20100505 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20100505 |
Method GET_TYPE_BY_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_FIELD | Value transfer | Type reference (TYPE) | TTY_FIELD_DESCRIPTION | Allgemeine Datentypen (für allg. Funktionsbausteine etc.) | 20100511 | ||
2 | ![]() |
IT_FIELD_TABLE | Call by reference | Type reference (TYPE) | TTY_VAT_REQ_FIELDS | Komponentenname | 20100511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler aufgetreten | 20100511 |
Method READ_NAME_COUNTRY_REGION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_COUNTRY | Call by reference | Type reference (TYPE) | LNDGR | Reiseland / Reiseländergruppe | 20090724 | ||
2 | ![]() |
I_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20090724 | |
3 | ![]() |
I_REGION | Call by reference | Type reference (TYPE) | HRGIO | Region des Hauptziels | 20090724 | ||
4 | ![]() |
I_TP_VARIANT | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20090724 | ||
5 | ![]() |
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 | ![]() |
IV_DOMNAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Name eines ABAP Dictionary-Objekts | 20100511 | ||
2 | ![]() |
IV_DOMVALUE | Call by reference | Type reference (TYPE) | ANY | 20100511 | |||
3 | ![]() |
IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20100511 | |
4 | ![]() |
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 | ![]() |
EV_RECEIPT_COUNTRY | Call by reference | Type reference (TYPE) | PTK03-LNDFR | Land des Belegs | 20100511 | ||
2 | ![]() |
EV_RECEIPT_REGION | Call by reference | Type reference (TYPE) | PTK03-RGION | Reiseland / Reiseländergruppe / Reiseregion | 20100511 | ||
3 | ![]() |
IV_DEFAULT_COUNTRY | Call by reference | Type reference (TYPE) | PTK03-LNDFR | Land des Belegs | 20100511 | ||
4 | ![]() |
IV_DEFAULT_REGION | Call by reference | Type reference (TYPE) | PTK03-RGION | Reiseland / Reiseländergruppe / Reiseregion | 20100511 | ||
5 | ![]() |
IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20100511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
IV_OTHER_EXPENSES | Call by reference | Type reference (TYPE) | PTRV_OTHER_EXPENSES | Kennzeichen für eine Belegabrechnung ohne Reise | 20120120 | ||
2 | ![]() |
IV_TRVCT_R_18 | Call by reference | Type reference (TYPE) | PTRV_TRVCT_R_18 | Verfahren bei Reisen zum gleichen Ziel | 20120120 | ||
3 | ![]() |
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 | ![]() |
ES_BELEG | Call by reference | Type reference (TYPE) | PTK03 | Reisespesenvorgaben laut Einzelbeleg | 20100511 | ||
2 | ![]() |
ES_EXBEL | Call by reference | Type reference (TYPE) | PTK33 | Erweiterter Einzelbeleg | 20100511 | ||
3 | ![]() |
ES_VAT_DETAILS | Call by reference | Type reference (TYPE) | PTP_VAT_DETAILS | Lieferantendaten für die MWSt Erstattung im Reisemanagement | 20100511 | ||
4 | ![]() |
ET_GUEST_TAB | Call by reference | Type reference (TYPE) | PTRV_GUEST_TAB | Teilnehmer Bewirtungsbelege | 20100511 | ||
5 | ![]() |
IS_BELEG_EXBEL | Call by reference | Type reference (TYPE) | PTRV_UTIL_BELEG | Reisespesenvorgaben laut Einzelbeleg für Dialog | 20100511 | ||
6 | ![]() |
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 |