SAP ABAP Class CL_WLF_TRANSF_TO_PRODU_TAX (Transformation to ProductTax)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-AB (Application Component) Agency Business (Global Trade)
⤷
WZRE_XI_PROXY (Package) Agency Business: SOA proxy implementations
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WLF_TRANSFORMATION_ABSTR | General functions for transformations | 20100901 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMT_PREFETCH | Prefetch Methods | 20100901 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMT_TRANSFORMATION | Transformation Class | 20100901 |
Properties
| Class | CL_WLF_TRANSF_TO_PRODU_TAX | |
| Short Description | Transformation to ProductTax | |
| Super Class | CL_WLF_TRANSFORMATION_ABSTR | General functions for transformations |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WZRE_XI_PROXY | Agency Business: SOA proxy implementations |
| Created | 20100901 | SAP |
| Last change | 20110908 | 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_SMT_PREFETCH | Prefetch Methods | 20100901 | ||
| 2 | IF_SMT_TRANSFORMATION | Transformation Class | 20100901 |
Friends
Class CL_WLF_TRANSF_TO_PRODU_TAX has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SAPPLCO_DUE_CATEGORY_CODE | '1' | Payable | 20101008 | ||
| 2 | Constant | Private | Type reference (TYPE) | SAPPLCO_DUE_CATEGORY_CODE | '2' | Receivable | 20101008 | ||
| 3 | Constant | Private | Type reference (TYPE) | WSHKZG | '1' | Agency Business: Item Category | 20101008 | ||
| 4 | Constant | Private | Type reference (TYPE) | WSHKZG | '2' | Agency Business: Item Category | 20101008 | ||
| 5 | Constant | Private | Type reference (TYPE) | KOAID | 'D' | Taxes | 20101008 | ||
| 6 | Constant | Private | Type reference (TYPE) | CHAR10 | 'AHI' | Krech Percent | 20101008 | ||
| 7 | Constant | Private | Type reference (TYPE) | SYMSGTY | 'E' | Message Type 'E' | 20100901 | ||
| 8 | Constant | Private | Type reference (TYPE) | SYMSGID | 'WZRE_PRX_MAPPING' | Message Class | 20100901 | ||
| 9 | Constant | Private | Type reference (TYPE) | MWART | 'V' | Input tax | 20101008 | ||
| 10 | Constant | Private | Type reference (TYPE) | MWART | 'A' | Output Tax | 20101008 | ||
| 11 | Constant | Private | Type reference (TYPE) | ENHBADIID | 'WLF_SE_PRODUCT_TAX' | Name of a BAdI in Enhancement Framework | 20100901 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | collect tax-item | 20101008 | |
| 2 | Static method | Private | Method | outbound conversion country | 20101008 | |
| 3 | Static method | Private | Method | outbound conversion Indicator | 20101008 | |
| 4 | Static method | Private | Method | delivers DueCategoryCode | 20101008 | |
| 5 | Static method | Private | Method | delivers percentage | 20101008 | |
| 6 | Static method | Private | Method | delivers ProductTax for the header | 20101008 | |
| 7 | Static method | Private | Method | delivers ProductTax for an item | 20101008 | |
| 8 | Static method | Private | Method | delivers tax-info for head | 20101008 | |
| 9 | Static method | Private | Method | delivers tax keys into attribute | 20101008 | |
| 10 | Static method | Private | Method | delivers value dependent from itemcat | 20101008 | |
| 11 | Static method | Public | Method | maps Information on header level to ProductTax (Table) | 20100901 | |
| 12 | Static method | Private | Method | Default: maps Information on header level to ProductTax | 20101008 | |
| 13 | Static method | Public | Method | maps Information on item level to ProductTax (Table) | 20100901 | |
| 14 | Static method | Private | Method | Default: maps Information on item level to ProductTax | 20101008 |
Events
Class CL_WLF_TRANSF_TO_PRODU_TAX has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_TAX | Private | See coding | 20101008 | BEGIN OF ty_tax,
mwskz TYPE mwskz,
txjcd TYPE txjcd,
percentage TYPE sapplco_percent,
kawrt TYPE kawrt,
kwert TYPE kwert,
END OF ty_tax
|
||
| 2 | TY_TAX_STAB | Private | See coding | 20101008 | ty_tax_stab TYPE SORTED TABLE OF ty_tax
WITH UNIQUE KEY mwskz
txjcd
percentage
|
Method Signatures
Method COLLECT_TAX_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TAX | Call by reference | Type reference (TYPE) | TY_TAX_STAB | 20101008 | ||||
| 2 | I_TAX | Call by reference | Type reference (TYPE) | TY_TAX | 20101008 |
Method COLLECT_TAX_ITEM on class CL_WLF_TRANSF_TO_PRODU_TAX has no exception.
Method CONVERT_COUNTRY_OUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TARGET | Call by reference | Type reference (TYPE) | DATA | 20101008 | ||||
| 2 | I_SOURCE | Call by reference | Type reference (TYPE) | DATA | 20101008 | ||||
| 3 | I_SOURCE_FIELD | Call by reference | Type reference (TYPE) | STRING | 20101008 | ||||
| 4 | I_TARGET_FIELD | Call by reference | Type reference (TYPE) | STRING | 20101008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20101008 |
Method CONVERT_INDICATOR_OUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TARGET | Call by reference | Type reference (TYPE) | DATA | 20101008 | ||||
| 2 | I_SOURCE | Call by reference | Type reference (TYPE) | DATA | 20101008 | ||||
| 3 | I_SOURCE_FIELD | Call by reference | Type reference (TYPE) | STRING | 20101008 | ||||
| 4 | I_TARGET_FIELD | Call by reference | Type reference (TYPE) | STRING | 20101008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20101008 |
Method GET_DUE_CATEGORY_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CATEGORY_CODE | Call by reference | Type reference (TYPE) | SAPPLCO_DUE_CATEGORY_CODE | Proxy Data Element (Generated) | 20101008 | |||
| 2 | I_TAX_TYPE | Call by reference | Type reference (TYPE) | MWART | Tax Type | 20101008 |
Method GET_DUE_CATEGORY_CODE on class CL_WLF_TRANSF_TO_PRODU_TAX has no exception.
Method GET_PERCENTAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_KAWRT | Call by reference | Type reference (TYPE) | KAWRT | Condition base value | 20101008 | |||
| 2 | E_KWERT | Call by reference | Type reference (TYPE) | KWERT | Condition value | 20101008 | |||
| 3 | E_MWSKZ | Call by reference | Type reference (TYPE) | MWSKZ | Sales Tax Code | 20101008 | |||
| 4 | E_PERCENT | Call by reference | Type reference (TYPE) | SAPPLCO_PERCENT | Proxy Data Element (Generated) | 20101008 | |||
| 5 | E_TXJCD | Call by reference | Type reference (TYPE) | TXJCD | Tax Jurisdiction | 20101008 | |||
| 6 | IT_KOMV | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | |||
| 7 | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 | |||
| 8 | I_KOMLFP | Call by reference | Type reference (TYPE) | KOMLFP | Vendor billing document: billing document items | 20101008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20101008 |
Method GET_PRODUCT_TAX_HEAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | 20101008 | ||||
| 2 | IT_TAX | Call by reference | Type reference (TYPE) | TY_TAX_STAB | 20101008 | ||||
| 3 | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | 20101008 | ||||
| 4 | I_T001 | Call by reference | Type reference (TYPE) | T001 | 20101008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20101008 |
Method GET_PRODUCT_TAX_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PROD_TAX | Product Tax | 20101008 | |||
| 2 | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | |||
| 3 | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 | |||
| 4 | I_KOMLFP | Call by reference | Type reference (TYPE) | KOMLFP | Vendor billing document: billing document items | 20101008 | |||
| 5 | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20101008 | |||
| 6 | I_T007A | Call by reference | Type reference (TYPE) | T007A | Tax Keys | 20101008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20101008 |
Method GET_TAX_FOR_HEAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TAX | Call by reference | Type reference (TYPE) | TY_TAX_STAB | Boolean Variable (X=True, -=False, Space=Unknown) | 20101008 | |||
| 2 | IT_KOMLFP | Call by reference | Type reference (TYPE) | WZRE_KOMLFP_TAB | Items | 20101008 | |||
| 3 | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | |||
| 4 | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20101008 |
Method GET_TAX_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T007A | Call by reference | Type reference (TYPE) | T007A | Tax Keys | 20101008 | |||
| 2 | I_LAND1 | Call by reference | Type reference (TYPE) | LAND1 | Country Key | 20101008 | |||
| 3 | I_MWSKZ | Call by reference | Type reference (TYPE) | MWSKZ | Sales Tax Code | 20101008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20101008 |
Method GET_VALUE_FROM_ITEMCAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_VALUE | Call by reference | Type reference (TYPE) | P | 20101008 | ||||
| 2 | I_ITEMCAT | Call by reference | Type reference (TYPE) | WSHKZG | 20101008 | ||||
| 3 | I_VALUE | Call by reference | Type reference (TYPE) | P | 20101008 |
Method GET_VALUE_FROM_ITEMCAT on class CL_WLF_TRANSF_TO_PRODU_TAX has no exception.
Method MAP_HEADER_TO_PROD_TAX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | Product Tax | 20100901 | |||
| 2 | IT_KOMLFP | Call by reference | Type reference (TYPE) | WZRE_KOMLFP_TAB | Vendor billing document: billing document items | 20100907 | |||
| 3 | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20100901 | |||
| 4 | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20100901 | |||
| 5 | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100901 | |||
| 6 | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20100901 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20100901 |
Method MAP_HEADER_TO_PROD_TAX_DEF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | Product Tax | 20101008 | |||
| 2 | IT_KOMLFP | Call by reference | Type reference (TYPE) | WZRE_KOMLFP_TAB | Items | 20101008 | |||
| 3 | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | |||
| 4 | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 | |||
| 5 | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20101008 | |||
| 6 | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20101008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20101008 |
Method MAP_ITEM_INFO_TO_PROD_TAX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | Product Tax (Table) | 20100901 | |||
| 2 | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20100901 | |||
| 3 | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20100901 | |||
| 4 | I_KOMLFP | Call by reference | Type reference (TYPE) | KOMLFP | Vendor billing document: billing document items | 20100901 | |||
| 5 | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100901 | |||
| 6 | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20100901 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20100901 |
Method MAP_ITEM_INFO_TO_PROD_TAX_DEF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | Product Tax | 20101008 | |||
| 2 | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | |||
| 3 | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 | |||
| 4 | I_KOMLFP | Call by reference | Type reference (TYPE) | KOMLFP | Vendor billing document: billing document items | 20101008 | |||
| 5 | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20101008 | |||
| 6 | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20101008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20101008 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 606 |