SAP ABAP Class CL_FITV_VAT (Help Class for VAT)
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 | 20100510 |
Properties
| Class | CL_FITV_VAT | |
| Short Description | Help Class for VAT | |
| 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 | 20100218 | SAP |
| Last change | 20110810 | 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_VAT_DETAILS_CONSTANTS | Constants for VAT_DETAILS | 20100510 |
Friends
Class CL_FITV_VAT has no friend class.
Attributes
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Fills the return table | 20100510 | |
| 2 | Static method | Public | Method | Builds the help table from table TAX_ITEM_OUT | 20100510 | |
| 3 | Static method | Public | Method | Checks the required fields in document | 20100510 | |
| 4 | Static method | Public | Method | Checks vat_posting_type and vat_changed_man | 20100510 | |
| 5 | Static method | Public | Method | Return Values: <, =, > | 20100510 | |
| 6 | Static method | Private | Method | Fills the table of fields to be checked | 20100510 | |
| 7 | Static method | Public | Method | Returns default values for tax indicator | 20100510 | |
| 8 | Static method | Public | Method | Check if trip provision variant is valid for VAT refund | 20100510 | |
| 9 | Static method | Public | Method | Calculation of Default Value for VAT Amount | 20100510 | |
| 10 | Static method | Public | Method | Determines EV_VAT_DETAILS_REQUIRED for Web Dynpro | 20100510 | |
| 11 | Static method | Public | Method | Read Settings "Reporting and Posting of VAT Amount" | 20100510 | |
| 12 | Static method | Private | Method | Country-Dependent Required Fields for VAT Refund | 20100510 | |
| 13 | Static method | Public | Method | Status of VAT Refund Data for a Receipt | 20100510 | |
| 14 | Static method | Public | Method | Status of VAT Refund Data for a Receipt | 20100510 | |
| 15 | Static method | Public | Method | Status of VAT Refund Data for Entire Trip | 20100510 | |
| 16 | Static method | Public | Method | Status of VAT Refund Data for Entire Trip | 20100510 | |
| 17 | Static method | Public | Method | Adopts the Manual Input Tax | 20100510 |
Events
Class CL_FITV_VAT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_DATAELEMENT | Public | Type reference (TYPE) | ROLLNAME | Data element (semantic domain) | 20100510 | |
| 2 | TS_TAX_ITEM | Public | See coding | 20100510 | BEGIN OF ts_tax_item.
INCLUDE TYPE rtax1u38.
TYPES END OF ts_tax_item
|
||
| 3 | TS_TAX_MAN_HELP | Public | See coding | 20100510 | BEGIN OF ts_tax_man_help,
posnr TYPE rtax1u38-posnr,
wrbtr_man TYPE wrbtr,
wrbtr_sum TYPE wrbtr,
wrbtr_rest TYPE wrbtr,
fwste_man TYPE wmwst,
fwste_sum TYPE wmwst,
fwste_rest TYPE wmwst,
fwbas_man TYPE fwbas_bses,
fwbas_sum TYPE fwbas_bses,
fwbas_rest TYPE fwbas_bses,
END OF ts_tax_man_help
|
||
| 4 | TTY_BELEG | Public | See coding | 20100510 | tty_beleg TYPE TABLE OF ty_beleg
|
||
| 5 | TTY_FIELD_DESCRIPTION | Private | Attribute reference (LIKE) | 20100510 | |
||
| 6 | TTY_VAT_REQ_FIELDS | Private | Attribute reference (LIKE) | Field Name | 20100510 | |
|
| 7 | TT_DATAELEMENT | Public | See coding | 20100510 | tt_dataelement TYPE STANDARD TABLE OF ts_dataelement WITH DEFAULT KEY
|
||
| 8 | TT_TAX_ITEM | Public | See coding | 20100510 | tt_tax_item TYPE STANDARD TABLE OF ts_tax_item
|
||
| 9 | TT_TAX_MAN_HELP | Public | See coding | 20100510 | tt_tax_man_help TYPE STANDARD TABLE OF ts_tax_man_help
|
||
| 10 | TV_EP_TAX_ITEM_LINE | Public | See coding | 20100510 | tv_ep_tax_item_line TYPE n LENGTH 5
|
||
| 11 | TV_EQUATION | Public | See coding | 20100510 | tv_equation TYPE c LENGTH 1
|
||
| 12 | TV_UPDATE_TYPE | Public | See coding | 20100510 | tv_update_type TYPE c LENGTH 6
|
||
| 13 | TY_BELEG | Public | Type reference (TYPE) | PTK03 | Travel Expense Specifications According to Indiv. Receipt | 20100510 | |
| 14 | TY_FIELD_DESCRIPTION | Private | Attribute reference (LIKE) | 20100510 | |
||
| 15 | TY_VAT_REQ_FIELDS | Private | Attribute reference (LIKE) | Field Name | 20100510 | |
|
| 16 | TY_V_DATE | Public | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20100510 | |
Method Signatures
Method APPEND_RETURNTABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20100510 | |||
| 2 | IV_BELNR | Call by reference | Type reference (TYPE) | PTK03-BELNR | Belegnummer | 20100510 | |||
| 3 | IV_DATAELEMENT | Call by reference | Type reference (TYPE) | ROLLNAME | Datenelement (semantische Domäne) | 20100510 | |||
| 4 | IV_FIELD | Call by reference | Type reference (TYPE) | BAPI_FLD | Feld im Parameter | 20100510 | |||
| 5 | IV_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20100510 |
Method APPEND_RETURNTABLE on class CL_FITV_VAT has no exception.
Method BUILD_TAX_HELP_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TAX_ITEM_IN_MAN | Call by reference | Type reference (TYPE) | CL_FITV_VAT=>TT_TAX_ITEM | Index interner Tabellen | 20100510 | |||
| 2 | ET_TAX_MAN_HELP | Call by reference | Type reference (TYPE) | CL_FITV_VAT=>TT_TAX_MAN_HELP | 20100510 |
Method BUILD_TAX_HELP_TABLE on class CL_FITV_VAT has no exception.
Method CHECK_RECEIPT_REQ_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20100510 | |||
| 2 | IV_BELEG_EXBEL | Call by reference | Type reference (TYPE) | PTRV_UTIL_BELEG | Reisespesenvorgaben laut Einzelbeleg für Dialog | 20100510 | |||
| 3 | IV_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20100510 |
Method CHECK_RECEIPT_REQ_FIELDS on class CL_FITV_VAT has no exception.
Method CHECK_VAT_CALCULATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VAT_CHANGED_MAN | Call by reference | Type reference (TYPE) | PTRV_VAT_CHANGED_MAN | MWSt.Betrag manuell geändert | 20100510 | |||
| 2 | IV_VAT_POSTING_TYPE | Call by reference | Type reference (TYPE) | PTRV_VAT_POSTING_TYPE | Meldung und Buchung des MWSt.-Betrags | 20100510 | |||
| 3 | RV_CALCULATION | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100510 |
Method CHECK_VAT_CALCULATION on class CL_FITV_VAT has no exception.
Method COMPARE_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_RECEIPT_AMOUNT | Call by reference | Type reference (TYPE) | GESBB | Betrag | 20100510 | |||
| 2 | IV_VAT_AMOUNT | Call by reference | Type reference (TYPE) | WMWST | Steuerbetrag in Belegwährung | 20100510 | |||
| 3 | RV_EQUATION | Value transfer | Type reference (TYPE) | TV_EQUATION | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20100510 |
Method FILL_FIELD_TABLE Signature
Method FILL_FIELD_TABLE on class CL_FITV_VAT has no parameter.
Method FILL_FIELD_TABLE on class CL_FITV_VAT has no exception.
Method GET_DEFAULT_VALUES_FOR_TC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MWSKZ | Call by reference | Type reference (TYPE) | MWSKZ | Umsatzsteuerkennzeichen | 20100510 | |||
| 2 | EV_REV_CHARGE_MWSKZ | Call by reference | Type reference (TYPE) | PTRV_REVCHARGE_MWSKZ | Umsatzsteuerkennzeichen Reverse Charge | 20100510 | |||
| 3 | EV_VAT_SERVICE_CODE | Call by reference | Type reference (TYPE) | PTRV_VAT_SERVICE_CODE | Art der Gegenstände und Dienstleistungen | 20100510 | |||
| 4 | IV_BLDAT | Call by reference | Type reference (TYPE) | BELDT | Belegdatum | 20100510 | |||
| 5 | IV_LNDGR | Call by reference | Type reference (TYPE) | LNDGR | Reiseland / Reiseländergruppe | 20100510 | |||
| 6 | IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20100510 | |||
| 7 | IV_SPKZL | Call by reference | Type reference (TYPE) | SPKZL | Reisespesenart | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | keine Länderangabe im Beleg | 20100510 |
Method GET_MOREI_VAT_RFD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20100510 | |||
| 2 | RV | Value transfer | Type reference (TYPE) | ABAP_BOOL | Reiseregelungsvariante ist MWst. Erst. relevant | 20100510 |
Method GET_MOREI_VAT_RFD on class CL_FITV_VAT has no exception.
Method GET_VAT_AMOUNT_DEFAULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BETRG | Call by reference | Type reference (TYPE) | PTK03-BETRG | Betrag des Einzelbelegs | 20100510 | |||
| 2 | IV_BLDAT | Call by reference | Type reference (TYPE) | PTK03-BLDAT | Belegdatum | 20100510 | |||
| 3 | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Buchungskreis | 20100510 | |||
| 4 | IV_MWSKZ | Call by reference | Type reference (TYPE) | PTK03-MWSKZ | Umsatzsteuerkennzeichen | 20100510 | |||
| 5 | IV_TXJCD | Call by reference | Type reference (TYPE) | PTK03-TXJCD | Steuerstandort | 20100510 | |||
| 6 | IV_WAERS | Call by reference | Type reference (TYPE) | PTK03-WAERS | Währungsschlüssel | 20100510 | |||
| 7 | RV_FWSTE_DEFAULT | Value transfer | Type reference (TYPE) | FWSTE | Steuerbetrag in Belegwährung | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20100510 |
Method GET_VAT_DETAILS_REQUIRED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | TY_V_DATE | Aktuelles Datum des Applikationsservers | 20100510 | |||
| 2 | IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20100510 | |||
| 3 | RV_VAT_DETAILS_REQUIRED | Value transfer | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Objekt nicht gefunden | 20100510 |
Method GET_VAT_POSTING_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BLDAT | Call by reference | Type reference (TYPE) | PTK03-BLDAT | Belegdatum | 20100510 | |||
| 2 | IV_LNDFR | Call by reference | Type reference (TYPE) | PTK03-LNDFR | Land des Belegs | 20100510 | |||
| 3 | IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20100510 | |||
| 4 | IV_SPKZL | Call by reference | Type reference (TYPE) | PTK03-SPKZL | Reisespesenart | 20100510 | |||
| 5 | RV_VAT_POSTING_TYPE | Value transfer | Type reference (TYPE) | PTRV_VAT_POSTING_TYPE | Meldung und Buchung des MWSt.-Betrags | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | keine Länderangabe im Beleg | 20100510 | ||
| 2 | Fehler aufgetreten | 20100510 | ||
| 3 | Objekt nicht gefunden | 20100510 |
Method GET_VAT_REQUIRED_FLDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_BELEG | Call by reference | Type reference (TYPE) | PTK03 | 20100510 | ||||
| 2 | IS_VAT_DETAILS | Call by reference | Type reference (TYPE) | PTP_VAT_DETAILS | VAT Details | 20100510 | |||
| 3 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | DD03P_D-FIELDNAME | Komponentenname | 20100510 | |||
| 4 | IV_LNDFR | Call by reference | Type reference (TYPE) | LNDFR | Land des Belegs | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20100510 |
Method GET_VAT_STATUS_RECEIPT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_BELEG | Call by reference | Type reference (TYPE) | PTK03 | Reisespesenvorgaben laut Einzelbeleg | 20100510 | |||
| 2 | IS_VAT_DETAILS | Call by reference | Type reference (TYPE) | PTP_VAT_DETAILS | Lieferantendaten für die MWSt Erstattung im Reisemanagement | 20100510 | |||
| 3 | IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20100510 | |||
| 4 | RV_VAT_STATUS | Value transfer | Type reference (TYPE) | PTRV_VAT_STATUS | Status der Daten für die MWSt-Rückerstattung | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | keine Länderangabe im Beleg | 20100510 | ||
| 2 | Fehler aufgetreten | 20100510 |
Method GET_VAT_STATUS_RECEIPT_WEB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_BELEG_EXBEL | Call by reference | Type reference (TYPE) | PTRV_UTIL_BELEG | Reisespesenvorgaben laut Einzelbeleg für Dialog | 20100510 | |||
| 2 | IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20100510 | |||
| 3 | RV_VAT_STATUS | Value transfer | Type reference (TYPE) | PTRV_VAT_STATUS | Status der Daten für die MWSt-Rückerstattung | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | keine Länderangabe im Beleg | 20100510 | ||
| 2 | Fehler aufgetreten | 20100510 |
Method GET_VAT_STATUS_TRIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BELEG | Call by reference | Type reference (TYPE) | TTY_BELEG | 20100510 | ||||
| 2 | RV_VAT_STATUS_TRIP | Value transfer | Type reference (TYPE) | PTRV_VAT_STATUS | Status der Daten für die MWSt-Rückerstattung | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20100510 |
Method GET_VAT_STATUS_TRIP_WEB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BELEG_EXBEL | Call by reference | Type reference (TYPE) | PTRV_UTIL_BELEG_T | Reisespesenvorgaben laut Einzelbeleg für Dialog | 20100510 | |||
| 2 | IV_MOREI | Call by reference | Type reference (TYPE) | MOREI | Reiseregelungsvariante | 20100811 | |||
| 3 | RV_VAT_STATUS_TRIP | Value transfer | Type reference (TYPE) | PTRV_VAT_STATUS | Status der Daten für die MWSt-Rückerstattung | 20100510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler aufgetreten | 20100510 |
Method MERGE_TAX_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TAX_ITEM_IN | Call by reference | Type reference (TYPE) | CL_FITV_VAT=>TT_TAX_ITEM | 20100510 | ||||
| 2 | CT_TAX_ITEM_IN_MAN | Call by reference | Type reference (TYPE) | CL_FITV_VAT=>TT_TAX_ITEM | 20100510 | ||||
| 3 | CT_TAX_ITEM_OUT | Call by reference | Type reference (TYPE) | CL_FITV_VAT=>TT_TAX_ITEM | Index interner Tabellen | 20100510 | |||
| 4 | CT_TAX_ITEM_OUT_MAN | Call by reference | Type reference (TYPE) | CL_FITV_VAT=>TT_TAX_ITEM | Index interner Tabellen | 20100510 | |||
| 5 | CV_EP_TAX_ITEM_LINE | Call by reference | Type reference (TYPE) | CL_FITV_VAT=>TV_EP_TAX_ITEM_LINE | Index interner Tabellen | 20100510 | |||
| 6 | CV_TAX_LINE_COUNTER | Call by reference | Type reference (TYPE) | SY-TABIX | Index interner Tabellen | 20100510 | |||
| 7 | IT_TAX_MAN_HELP | Call by reference | Type reference (TYPE) | CL_FITV_VAT=>TT_TAX_MAN_HELP | Index interner Tabellen | 20100510 |
Method MERGE_TAX_ITEM on class CL_FITV_VAT has no exception.
History
| Last changed by/on | SAP | 20110810 |
| SAP Release Created in |