SAP ABAP Class CL_XTAX_RULES_POSTING (Rules for posting an external tax document)
Hierarchy
☛
SAP_FIN (Software Component) SAP_FIN
⤷
FI-GL-GL (Application Component) Basic Functions
⤷
FYTX/ETXDC (Package) External Tax document
⤷
⤷
Properties
| Class | CL_XTAX_RULES_POSTING | |
| Short Description | Rules for posting an external tax document | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FYTX/ETXDC | External Tax document |
| Created | 19990317 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_XTAX_RULES_POSTING has no forward declaration.
Interfaces
Class CL_XTAX_RULES_POSTING has no interface implemented.
Friends
Class CL_XTAX_RULES_POSTING has no friend class.
Attributes
Class CL_XTAX_RULES_POSTING has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Check if the taxes are relevant for reporting | 19990317 | |
| 2 | Static method | Private | Method | Check if G/L tax data match with calculated tax data | 19990317 | |
| 3 | Static method | Public | Method | Check if the tax records can be uniquely identified | 19990525 | |
| 4 | Static method | Private | Method | Determine the credit indicator | 19990317 | |
| 5 | Static method | Private | Method | Determine the posting date | 19990317 | |
| 6 | Static method | Public | Method | Filter the G/L tax data from BSET for the external system | 19990512 | |
| 7 | Static method | Public | Method | Determine whether taxes have to be forced | 19990820 | |
| 8 | Static method | Public | Method | Check if the document is being reversed | 19990319 | |
| 9 | Static method | Public | Method | Check if document is relevant to be saved | 19990521 | |
| 10 | Static method | Public | Method | Map posting data on document (header) level | 19990319 | |
| 11 | Static method | Private | Method | Map the tax data as posted in G/L | 19990317 | |
| 12 | Static method | Private | Method | Map and check the G/L account | 19990504 | |
| 13 | Static method | Private | Method | Map the rate and amount from G/L to external system fields | 19990317 | |
| 14 | Static method | Public | Method | Map posting data on item level | 19990330 | |
| 15 | Static method | Public | Method | Reverse the information from the header data | 19990317 | |
| 16 | Static method | Public | Method | Reverse the information from the item data | 19990317 |
Events
Class CL_XTAX_RULES_POSTING has no event.
Types
Class CL_XTAX_RULES_POSTING has no local type.
Method Signatures
Method CHECK_IF_GLTAX_RELEVANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GLTAX_LINE | Call by reference | Type reference (TYPE) | GLTAX_DATA | Hauptbuchsteuerdaten | 19990317 | |||
| 2 | O_RELEVANT_FOR_AUDIT_FILE | Call by reference | Type reference (TYPE) | CHAR1 | Audit-relevant | 19990317 |
Method CHECK_IF_GLTAX_RELEVANT on class CL_XTAX_RULES_POSTING has no exception.
Method CHECK_INTERNAL_CONSISTENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TAX_DATA_TABLE | Call by reference | Type reference (TYPE) | EXTAX_JUR_LEVEL_TABLE | Alle Steuerdaten | 19990317 | |||
| 2 | O_INTERN_CONSISTENCY_FAILED | Call by reference | Type reference (TYPE) | CHAR1 | Steuerbeträge stimmen nicht überein | 19990317 |
Method CHECK_INTERNAL_CONSISTENCY on class CL_XTAX_RULES_POSTING has no exception.
Method CHECK_UNIQUENESS_TAX_RECORDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GLTAX_TAB | Call by reference | Type reference (TYPE) | GLTAX_DATA_TAB | Hauptbuchsteuersätze | 19990525 |
Method CHECK_UNIQUENESS_TAX_RECORDS on class CL_XTAX_RULES_POSTING has no exception.
Method DETERMINE_CREDIT_INDICATOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TAX_DATA_REC | Call by reference | Type reference (TYPE) | EXTAX_JUR_LEVEL | Hauptbuchsteuerdaten | 19990317 | |||
| 2 | O_CREDIT_IND | Call by reference | Type reference (TYPE) | EXTCREDFLG | Kennzeichen für Steuerhaben | 19990317 |
Method DETERMINE_CREDIT_INDICATOR on class CL_XTAX_RULES_POSTING has no exception.
Method DETERMINE_POSTING_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GLTAX_DATA | Call by reference | Type reference (TYPE) | GLTAX_DATA | Hauptbuchsteuerdaten | 19990505 | |||
| 2 | I_GLTAX_DATA_HEAD | Call by reference | Type reference (TYPE) | GLTAX_DATA_HEAD | Hauptbuchsteuer-Kopfdaten | 19990505 | |||
| 3 | O_REP_DATE | Call by reference | Type reference (TYPE) | EXTREPDATE | Buchungsdatum /Reporting-Datum) | 19990317 |
Method DETERMINE_POSTING_DATE on class CL_XTAX_RULES_POSTING has no exception.
Method FILTER_GLTAX_DATA_FROM_BSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BSET_REC | Call by reference | Type reference (TYPE) | BSET | BSET-Satz | 19990512 | |||
| 2 | O_OK_FOR_EXTERNAL_SYSTEM | Call by reference | Type reference (TYPE) | CHAR1 | BSET-Steuerdaten können für externes System verwendet werden | 19990512 | |||
| 3 | O_REC_GLTAX_DATA | Call by reference | Type reference (TYPE) | GLTAX_DATA | gltax_data relevant für externes System | 19990512 |
Method FILTER_GLTAX_DATA_FROM_BSET on class CL_XTAX_RULES_POSTING has no exception.
Method IF_FORCED_UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXCON | Call by reference | Type reference (TYPE) | CHAR1 | externe Konsistenzprüfung fehlgeschlagen | 19990820 | |||
| 2 | I_INCON | Call by reference | Type reference (TYPE) | CHAR1 | Interne Konsistenzprüfung fehlgeschlagen | 19990820 | |||
| 3 | RE_FORCED_UPDATE | Value transfer | Type reference (TYPE) | CHAR1 | Erzwungene Fortschreibung Beleg | 19990820 |
Method IF_FORCED_UPDATE on class CL_XTAX_RULES_POSTING has no exception.
Method IS_BEING_REVERSED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GLTAX_DATA_HEAD | Call by reference | Type reference (TYPE) | GLTAX_DATA_HEAD | Hauptbuchkopfdaten | 19990319 | |||
| 2 | RE_REVERSAL_DOC | Value transfer | Type reference (TYPE) | CHAR1 | Dies ist ein Stornobeleg | 19990319 |
Method IS_BEING_REVERSED on class CL_XTAX_RULES_POSTING has no exception.
Method IS_RELEVANT_TO_BE_SAVED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACC_POSTED | Call by reference | Type reference (TYPE) | CHAR1 | space | Beleg wird in die Buchhaltung gebucht | 19990521 | ||
| 2 | I_CURRENT_STATUS | Call by reference | Type reference (TYPE) | ETXDC_STATUS_CUR | Aktueller Status des externen Steuerbelegs | 19990521 | |||
| 3 | I_NR_ITEMS | Call by reference | Type reference (TYPE) | I | Anzahl der Positionen im externen Steuerbeleg | 19990521 | |||
| 4 | O_RELEVANT_TO_BE_SAVED | Call by reference | Type reference (TYPE) | CHAR1 | Beleg soll in der DB gespeichert werden | 19990521 |
Method IS_RELEVANT_TO_BE_SAVED on class CL_XTAX_RULES_POSTING has no exception.
Method MAP_DOCUMENT_POSTING_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_HEADER_INFO | Call by reference | Type reference (TYPE) | EXTAX_DOC | Belegkopfinformationen | 19990319 | |||
| 2 | I_GLTAX_DATA_HEAD | Call by reference | Type reference (TYPE) | GLTAX_DATA_HEAD | Hauptbuchsteuer-Kopfdaten | 19990319 | |||
| 3 | O_LOC_AND_DOC_CUR_DIFFER | Call by reference | Type reference (TYPE) | CHAR1 | Unterschiedliche Währungen | 19990319 |
Method MAP_DOCUMENT_POSTING_DATA on class CL_XTAX_RULES_POSTING has no exception.
Method MAP_GLTAX_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_OUTPUT_DATA | Call by reference | Type reference (TYPE) | EXTAX_ITEM_OUT | Positionsausgabedaten | 19990317 | |||
| 2 | CH_REC_TAX_DATA | Call by reference | Type reference (TYPE) | EXTAX_JUR_LEVEL | Steuerdaten | 19990317 | |||
| 3 | I_GLTAX_DATA_HEAD | Call by reference | Type reference (TYPE) | GLTAX_DATA_HEAD | Hauptbuchkopfdaten | 19990317 | |||
| 4 | I_REC_GLTAX_DATA | Call by reference | Type reference (TYPE) | GLTAX_DATA | Hauptbuchsteuerdaten | 19990317 | |||
| 5 | O_POSTING_DATA | Call by reference | Type reference (TYPE) | EXTAX_POST_INFO | Buchungsdaten an externes System übergeben | 19990317 |
Method MAP_GLTAX_DATA on class CL_XTAX_RULES_POSTING has no exception.
Method MAP_GL_ACCOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_REC_TAX_DATA | Call by reference | Type reference (TYPE) | EXTAX_JUR_LEVEL | Steuerdaten | 19990504 | |||
| 2 | I_GLTAX_DATA_HEAD | Call by reference | Type reference (TYPE) | GLTAX_DATA_HEAD | Hauptbuchkopfdaten | 19990504 | |||
| 3 | I_REC_GLTAX_DATA | Call by reference | Type reference (TYPE) | GLTAX_DATA | Hauptbuchsteuerdaten | 19990504 |
Method MAP_GL_ACCOUNT on class CL_XTAX_RULES_POSTING has no exception.
Method MAP_GL_TAX_RATE_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_OUTPUT_DATA | Call by reference | Type reference (TYPE) | EXTAX_ITEM_OUT | Positionsausgabedaten | 19990317 | |||
| 2 | CH_REC_TAX_DATA | Call by reference | Type reference (TYPE) | EXTAX_JUR_LEVEL | Steuerdaten | 19990317 | |||
| 3 | I_GLTAX_DATA | Call by reference | Type reference (TYPE) | GLTAX_DATA | Im Hauptbuch gebuchte Steuern | 19990317 |
Method MAP_GL_TAX_RATE_AMOUNT on class CL_XTAX_RULES_POSTING has no exception.
Method MAP_ITEM_POSTING_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_OUTPUT_DATA | Call by reference | Type reference (TYPE) | EXTAX_ITEM_OUT | Positionsausgabedaten | 19990330 | |||
| 2 | CH_TAX_DATA | Call by reference | Type reference (TYPE) | EXTAX_JUR_LEVEL_TABLE | Positionssteuerdaten | 19990330 | |||
| 3 | I_GLTAX_DATA | Call by reference | Type reference (TYPE) | GLTAX_DATA_TAB | Hauptbuchsteuerdaten | 19990330 | |||
| 4 | I_GLTAX_DATA_HEAD | Call by reference | Type reference (TYPE) | GLTAX_DATA_HEAD | Hauptbuchsteuer-Kopfdaten | 19990330 | |||
| 5 | O_INTERN_CONSISTENCY_FAILED | Call by reference | Type reference (TYPE) | CHAR1 | Hauptbuchsteuerdaten stimmen mit berech. Steuerdaten überein | 19990330 | |||
| 6 | O_POSTING_DATA | Call by reference | Type reference (TYPE) | EXTAX_POST_INFO | Positionsbuchungsdaten | 19990330 | |||
| 7 | O_TAXES_DEFAULTED | Call by reference | Type reference (TYPE) | CHAR1 | Steuerbeträge/Steuersätze wurden vorgeschlagen | 19990330 | |||
| 8 | O_TAX_DATA_EXIST_FOR_UPDATE | Call by reference | Type reference (TYPE) | CHAR1 | Keine Steuerdaten für Fortschreibung | 19990330 |
Method MAP_ITEM_POSTING_DATA on class CL_XTAX_RULES_POSTING has no exception.
Method REVERSE_HEADER_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_HEADER_INFO | Call by reference | Type reference (TYPE) | EXTAX_DOC | Kopfinformationen | 19990319 | |||
| 2 | I_NEW_REF_DOC_KEY | Call by reference | Type reference (TYPE) | TAX_REF_DOC_KEY | Neuer Buchhaltungsschlüssel für Löschbeleg | 19990317 |
Method REVERSE_HEADER_INFO on class CL_XTAX_RULES_POSTING has no exception.
Method REVERSE_ITEM_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_POSTING_DATA | Call by reference | Type reference (TYPE) | EXTAX_POST_INFO | Positionsbuchungsdaten | 19990317 | |||
| 2 | CH_TAX_DATA | Call by reference | Type reference (TYPE) | EXTAX_JUR_LEVEL_TABLE | Steuerdaten für die einzelnen Steuerstandorte | 19990317 | |||
| 3 | I_BUDAT | Call by reference | Type reference (TYPE) | BUDAT | Buchungsdatum | 19990317 |
Method REVERSE_ITEM_INFO on class CL_XTAX_RULES_POSTING has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |