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
⤷ 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 | CC | 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 | CO_CAT_CODE_PAYABLE | Constant | Private | Type reference (TYPE) | SAPPLCO_DUE_CATEGORY_CODE | '1' | Payable | 20101008 | |
2 | CO_CAT_CODE_RECEIVABLE | Constant | Private | Type reference (TYPE) | SAPPLCO_DUE_CATEGORY_CODE | '2' | Receivable | 20101008 | |
3 | CO_ITEMCAT_RET | Constant | Private | Type reference (TYPE) | WSHKZG | '1' | Agency Business: Item Category | 20101008 | |
4 | CO_ITEMCAT_TXT | Constant | Private | Type reference (TYPE) | WSHKZG | '2' | Agency Business: Item Category | 20101008 | |
5 | CO_KOAID_TAX | Constant | Private | Type reference (TYPE) | KOAID | 'D' | Taxes | 20101008 | |
6 | CO_KRECH_PERCENT | Constant | Private | Type reference (TYPE) | CHAR10 | 'AHI' | Krech Percent | 20101008 | |
7 | CO_MSGTY_E | Constant | Private | Type reference (TYPE) | SYMSGTY | 'E' | Message Type 'E' | 20100901 | |
8 | CO_MSG_CLASS | Constant | Private | Type reference (TYPE) | SYMSGID | 'WZRE_PRX_MAPPING' | Message Class | 20100901 | |
9 | CO_MWART_INPUT | Constant | Private | Type reference (TYPE) | MWART | 'V' | Input tax | 20101008 | |
10 | CO_MWART_OUTPUT | Constant | Private | Type reference (TYPE) | MWART | 'A' | Output Tax | 20101008 | |
11 | CO_NAME_BADI | 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 | COLLECT_TAX_ITEM | Static method | Private | Method | collect tax-item | 20101008 |
2 | CONVERT_COUNTRY_OUT | Static method | Private | Method | outbound conversion country | 20101008 |
3 | CONVERT_INDICATOR_OUT | Static method | Private | Method | outbound conversion Indicator | 20101008 |
4 | GET_DUE_CATEGORY_CODE | Static method | Private | Method | delivers DueCategoryCode | 20101008 |
5 | GET_PERCENTAGE | Static method | Private | Method | delivers percentage | 20101008 |
6 | GET_PRODUCT_TAX_HEAD | Static method | Private | Method | delivers ProductTax for the header | 20101008 |
7 | GET_PRODUCT_TAX_ITEM | Static method | Private | Method | delivers ProductTax for an item | 20101008 |
8 | GET_TAX_FOR_HEAD | Static method | Private | Method | delivers tax-info for head | 20101008 |
9 | GET_TAX_KEYS | Static method | Private | Method | delivers tax keys into attribute | 20101008 |
10 | GET_VALUE_FROM_ITEMCAT | Static method | Private | Method | delivers value dependent from itemcat | 20101008 |
11 | MAP_HEADER_TO_PROD_TAX | Static method | Public | Method | maps Information on header level to ProductTax (Table) | 20100901 |
12 | MAP_HEADER_TO_PROD_TAX_DEF | Static method | Private | Method | Default: maps Information on header level to ProductTax | 20101008 |
13 | MAP_ITEM_INFO_TO_PROD_TAX | Static method | Public | Method | maps Information on item level to ProductTax (Table) | 20100901 |
14 | MAP_ITEM_INFO_TO_PROD_TAX_DEF | 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 | Changing | CT_TAX | Call by reference | Type reference (TYPE) | TY_TAX_STAB | 20101008 | |||
2 | Importing | 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 | Exporting | E_TARGET | Call by reference | Type reference (TYPE) | DATA | 20101008 | |||
2 | Importing | I_SOURCE | Call by reference | Type reference (TYPE) | DATA | 20101008 | |||
3 | Importing | I_SOURCE_FIELD | Call by reference | Type reference (TYPE) | STRING | 20101008 | |||
4 | Importing | I_TARGET_FIELD | Call by reference | Type reference (TYPE) | STRING | 20101008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20101008 |
Method CONVERT_INDICATOR_OUT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_TARGET | Call by reference | Type reference (TYPE) | DATA | 20101008 | |||
2 | Importing | I_SOURCE | Call by reference | Type reference (TYPE) | DATA | 20101008 | |||
3 | Importing | I_SOURCE_FIELD | Call by reference | Type reference (TYPE) | STRING | 20101008 | |||
4 | Importing | I_TARGET_FIELD | Call by reference | Type reference (TYPE) | STRING | 20101008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20101008 |
Method GET_DUE_CATEGORY_CODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_CATEGORY_CODE | Call by reference | Type reference (TYPE) | SAPPLCO_DUE_CATEGORY_CODE | Proxy Data Element (Generated) | 20101008 | ||
2 | Importing | 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 | Exporting | E_KAWRT | Call by reference | Type reference (TYPE) | KAWRT | Condition base value | 20101008 | ||
2 | Exporting | E_KWERT | Call by reference | Type reference (TYPE) | KWERT | Condition value | 20101008 | ||
3 | Exporting | E_MWSKZ | Call by reference | Type reference (TYPE) | MWSKZ | Sales Tax Code | 20101008 | ||
4 | Exporting | E_PERCENT | Call by reference | Type reference (TYPE) | SAPPLCO_PERCENT | Proxy Data Element (Generated) | 20101008 | ||
5 | Exporting | E_TXJCD | Call by reference | Type reference (TYPE) | TXJCD | Tax Jurisdiction | 20101008 | ||
6 | Importing | IT_KOMV | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | ||
7 | Importing | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 | ||
8 | Importing | I_KOMLFP | Call by reference | Type reference (TYPE) | KOMLFP | Vendor billing document: billing document items | 20101008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20101008 |
Method GET_PRODUCT_TAX_HEAD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | 20101008 | |||
2 | Importing | IT_TAX | Call by reference | Type reference (TYPE) | TY_TAX_STAB | 20101008 | |||
3 | Importing | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | 20101008 | |||
4 | Importing | I_T001 | Call by reference | Type reference (TYPE) | T001 | 20101008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | 20101008 |
Method GET_PRODUCT_TAX_ITEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PROD_TAX | Product Tax | 20101008 | ||
2 | Importing | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | ||
3 | Importing | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 | ||
4 | Importing | I_KOMLFP | Call by reference | Type reference (TYPE) | KOMLFP | Vendor billing document: billing document items | 20101008 | ||
5 | Importing | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20101008 | ||
6 | Importing | I_T007A | Call by reference | Type reference (TYPE) | T007A | Tax Keys | 20101008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20101008 |
Method GET_TAX_FOR_HEAD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_TAX | Call by reference | Type reference (TYPE) | TY_TAX_STAB | Boolean Variable (X=True, -=False, Space=Unknown) | 20101008 | ||
2 | Importing | IT_KOMLFP | Call by reference | Type reference (TYPE) | WZRE_KOMLFP_TAB | Items | 20101008 | ||
3 | Importing | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | ||
4 | Importing | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | 20101008 |
Method GET_TAX_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_T007A | Call by reference | Type reference (TYPE) | T007A | Tax Keys | 20101008 | ||
2 | Importing | I_LAND1 | Call by reference | Type reference (TYPE) | LAND1 | Country Key | 20101008 | ||
3 | Importing | I_MWSKZ | Call by reference | Type reference (TYPE) | MWSKZ | Sales Tax Code | 20101008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20101008 |
Method GET_VALUE_FROM_ITEMCAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_VALUE | Call by reference | Type reference (TYPE) | P | 20101008 | |||
2 | Importing | I_ITEMCAT | Call by reference | Type reference (TYPE) | WSHKZG | 20101008 | |||
3 | Importing | 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 | Exporting | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | Product Tax | 20100901 | ||
2 | Importing | IT_KOMLFP | Call by reference | Type reference (TYPE) | WZRE_KOMLFP_TAB | Vendor billing document: billing document items | 20100907 | ||
3 | Importing | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20100901 | ||
4 | Importing | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20100901 | ||
5 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100901 | ||
6 | Importing | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20100901 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | 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 | Exporting | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | Product Tax | 20101008 | ||
2 | Importing | IT_KOMLFP | Call by reference | Type reference (TYPE) | WZRE_KOMLFP_TAB | Items | 20101008 | ||
3 | Importing | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | ||
4 | Importing | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 | ||
5 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20101008 | ||
6 | Importing | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20101008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | 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 | Exporting | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | Product Tax (Table) | 20100901 | ||
2 | Importing | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20100901 | ||
3 | Importing | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20100901 | ||
4 | Importing | I_KOMLFP | Call by reference | Type reference (TYPE) | KOMLFP | Vendor billing document: billing document items | 20100901 | ||
5 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100901 | ||
6 | Importing | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20100901 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | 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 | Exporting | ET_PRODUCT_TAX | Call by reference | Type reference (TYPE) | SAPPLCO_PRODUCT_TAX_TAB | Product Tax | 20101008 | ||
2 | Importing | IT_KOMV_TAX | Call by reference | Type reference (TYPE) | WZRE_KOMV_TAB | Pricing: Communications Condition Record | 20101008 | ||
3 | Importing | I_KOMLFK | Call by reference | Type reference (TYPE) | KOMLFK | Comm. Structure: Vendor Billing Doc. Header | 20101008 | ||
4 | Importing | I_KOMLFP | Call by reference | Type reference (TYPE) | KOMLFP | Vendor billing document: billing document items | 20101008 | ||
5 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20101008 | ||
6 | Importing | I_T001 | Call by reference | Type reference (TYPE) | T001 | Company Codes | 20101008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20101008 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 606 |