SAP ABAP Class CL_XTAX_DOCUMENT_ITEM (external tax document item)
Hierarchy
☛
SAP_FIN (Software Component) SAP_FIN
⤷
FI-GL-GL (Application Component) Basic Functions
⤷
FYTX/ETXDC (Package) External Tax document
⤷
⤷
Properties
| Class | CL_XTAX_DOCUMENT_ITEM | |
| Short Description | external tax document item | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FYTX/ETXDC | External Tax document |
| Created | 19990209 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_XTAX_DOCUMENT_ITEM has no forward declaration.
Interfaces
Class CL_XTAX_DOCUMENT_ITEM has no interface implemented.
Friends
Class CL_XTAX_DOCUMENT_ITEM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | EXTAX_DOC | Document header info | 20061006 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | EXTAX_ITEM_IN | Item input data | 19990209 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | XTAX_DOC_ITEM_NUMBER | Item number | 19990209 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_XTAX_RULES_CALCULATION | Mapping rules for calculation | 19990317 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | EXTAX_ITEM_OUT | Item output data | 19990209 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | EXTAX_POST_INFO | Item posting data | 19990209 | |||
| 7 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_XTAX_RULES_POSTING | Rules for mapping G/L tax data | 19990319 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | TAX_LINE_KEY | reference item key | 19990209 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | EXTAX_JUR_LEVEL_TABLE | Item tax data | 19990209 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | add input data for item | 19990209 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 19990317 | |
| 3 | Instance method | Public | Constructor | constructor for item | 19990209 | |
| 4 | Instance method | Public | Method | Get detailed item info | 19990223 | |
| 5 | Instance method | Public | Method | store input data for calculation into input data structure | 19990220 | |
| 6 | Instance method | Public | Method | get tax rate and tax amount for jurisd. level | 19990209 | |
| 7 | Instance method | Public | Method | reverse item data (when document canceled) | 19990209 | |
| 8 | Instance method | Public | Method | Store detailed item info | 19990311 | |
| 9 | Instance method | Public | Method | store gltax data as tax results for update (force) | 19990210 | |
| 10 | Instance method | Public | Method | store tax output results into the update structure | 19990211 | |
| 11 | Instance method | Public | Method | store output data from calculation | 19990221 | |
| 12 | Instance method | Public | Method | update gltax data and compare with taxes calculated | 19990209 |
Events
Class CL_XTAX_DOCUMENT_ITEM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | PERSISTENT_DATA_ITEM | Private | Type reference (TYPE) | ETXDCI | line item info | 19990209 | |
| 2 | PERSISTENT_DATA_LEVEL | Private | Type reference (TYPE) | ETXDCJ | tax rates and amounts by Jurisdict. level | 19990209 | |
Method Signatures
Method ADD_INPUT_DATA_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HEADER_INFO | Call by reference | Type reference (TYPE) | EXTAX_DOC | Kopfinformationen | 19990209 | |||
| 2 | I_INPUT_ITEM | Call by reference | Type reference (TYPE) | TAX_INPUT_ITEM | Steuereingabeposition für Preisfindung | 19990317 | |||
| 3 | I_TAX_CODE_INFO | Call by reference | Type reference (TYPE) | T007A | Eigenschaften Steuerkennzeichen | 19990209 | |||
| 4 | I_TAX_TTXD | Call by reference | Type reference (TYPE) | TTXD | Steuersysteminformationen | 19990209 | |||
| 5 | O_MAPPING_OK | Call by reference | Type reference (TYPE) | C | Mapping OK | 19990209 | |||
| 6 | O_MESSAGE | Call by reference | Type reference (TYPE) | TAX_MESSAGE | Meldung | 19990209 |
Method ADD_INPUT_DATA_ITEM on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_XTAX_DOCUMENT_ITEM has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DOCNR | Call by reference | Type reference (TYPE) | XTAX_DOCUMENT_NUMBER | Externe Belegnummer | 19990209 | |||
| 2 | I_ITEMNR | Call by reference | Type reference (TYPE) | XTAX_DOC_ITEM_NUMBER | Positionsnummer | 19990209 | |||
| 3 | I_ITEM_DETAIL | Call by reference | Type reference (TYPE) | TAX_ITEM_DETAIL | Positionsdaten | 19990311 | |||
| 4 | I_REF_ITEM_KEY | Call by reference | Type reference (TYPE) | TAX_LINE_KEY | Positionsschlüssel | 19990209 |
Method CONSTRUCTOR on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method GET_DETAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_ITEM_DETAIL | Call by reference | Type reference (TYPE) | TAX_ITEM_DETAIL | Positionsdetailinformationen | 19990223 |
Method GET_DETAIL on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method GET_INPUT_FOR_CALCULATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_DEFAULT_REASON | Call by reference | Type reference (TYPE) | TAX_DEFAULT_REASON | Vorschlagsgrund | 19990220 | |||
| 2 | O_ITEM_CALC_INPUT_DATA | Call by reference | Type reference (TYPE) | EXTAX_ITEM_CALC_INPUT | Eingabedatenstruktur | 19990220 |
Method GET_INPUT_FOR_CALCULATION on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method GET_TAX_RATE_AND_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_JUR_LEVEL | Call by reference | Type reference (TYPE) | TXJCD_LEVEL | Steuerstandortebene | 19990209 | |||
| 2 | O_TAXAMT | Call by reference | Type reference (TYPE) | ETDTAXAMOUNT | Steuerbetrag vom externen System zurückgegeben | 19990209 | |||
| 3 | O_TAXBAS | Call by reference | Type reference (TYPE) | ETDTAXBASE | Tax base amount | 20050607 | |||
| 4 | O_TAXPCT | Call by reference | Type reference (TYPE) | ETDTAXPERCNT | Steuersatz vom externen System zurückgegeben | 19990209 |
Method GET_TAX_RATE_AND_AMOUNT on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method REVERSE_ITEM_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUDAT | Call by reference | Type reference (TYPE) | BUDAT | FI-Buchungsdatum | 19990209 |
Method REVERSE_ITEM_INFO on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method SET_DETAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ITEM_DETAIL | Call by reference | Type reference (TYPE) | TAX_ITEM_DETAIL | Detaillierte Positionsinformation | 19990311 |
Method SET_DETAIL on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method STORE_GLTAX_FOR_AUDIT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HEADER_DATA | Value transfer | Attribute reference (LIKE) | HEADER_INFO | Document header info | 20061006 | |||
| 2 | O_ITEM_AUDIT_DATA | Call by reference | Type reference (TYPE) | EXTAX_ITEM_AUDIT_DATA | Positionssteuerdaten für Fortschreibung | 19990210 |
Method STORE_GLTAX_FOR_AUDIT_DATA on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method STORE_OUTPUT_FOR_AUDIT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_ITEM_AUDIT_DATA | Call by reference | Type reference (TYPE) | EXTAX_ITEM_AUDIT_DATA | Positionssteuerdaten für Fortschreibung | 19990211 |
Method STORE_OUTPUT_FOR_AUDIT_DATA on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method STORE_OUTPUT_FROM_CALCULATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ITEM_OUTPUT_DATA | Call by reference | Type reference (TYPE) | EXTAX_CAL_ITEM_OUT | Positionsausgabedaten aus Berechnung | 19990221 |
Method STORE_OUTPUT_FROM_CALCULATION on class CL_XTAX_DOCUMENT_ITEM has no exception.
Method UPDATE_GLTAX_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GLTAX_DATA | Value transfer | Type reference (TYPE) | GLTAX_DATA_TAB | Hauptbuchsteuerdaten | 19990209 | |||
| 2 | I_GLTAX_DATA_HEAD | Value transfer | Type reference (TYPE) | GLTAX_DATA_HEAD | Hauptbuchsteuer-Kopfdaten | 19990209 | |||
| 3 | I_REF_ITEM_KEY | Value transfer | Type reference (TYPE) | TAX_LINE_KEY | Positionsschlüssel | 19990209 | |||
| 4 | O_INTERN_CONSISTENCY_FAILED | Call by reference | Type reference (TYPE) | C | Hauptbuchsteuerdaten stimmen mit berech. Steuerdaten überein | 19990209 | |||
| 5 | O_TAXES_DEFAULTED | Call by reference | Type reference (TYPE) | C | Steuerbeträge/Steuersätze wurden vorgeschlagen | 19990209 | |||
| 6 | O_TAX_DATA_EXIST_FOR_UPDATE | Call by reference | Type reference (TYPE) | C | Keine Steuerdaten für Fortschreibung | 19990209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | In Position # keine Steuerdaten fortzuschreiben | 19990209 |
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in |