SAP ABAP Class CL_WHT_NF (Withholding Tax Data in Nota Fiscal)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷ CRM-LOC-BR (Application Component) Brazil
⤷ J1BA (Package) Localization Brazil
⤷ CRM-LOC-BR (Application Component) Brazil
⤷ J1BA (Package) Localization Brazil
Properties
Class | CL_WHT_NF | |
Short Description | Withholding Tax Data in Nota Fiscal | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | J1BA | Localization Brazil |
Created | 20050210 | SAP |
Last change | 20100310 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_WHT_NF has no forward declaration.
Interfaces
Class CL_WHT_NF has no interface implemented.
Friends
Class CL_WHT_NF has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_COFINS_ACC | Static Attribute | Private | Type reference (TYPE) | J_1BTAXGRP | 'WACO' | Tax Group for COFINS WHT - Accumulated | 20050218 | |
2 | MC_CSLL_ACC | Static Attribute | Private | Type reference (TYPE) | J_1BTAXGRP | 'WACS' | Tax Group for CSLL WHT - Accumulated | 20050218 | |
3 | MC_GENERAL_ACC | Static Attribute | Private | Type reference (TYPE) | J_1BTAXGRP | 'WAT' | Tax Group for General WHT - Accumulated | 20050218 | |
4 | MC_IR_ACC | Static Attribute | Private | Type reference (TYPE) | J_1BTAXGRP | 'WAIR' | Tax Group for IR WHT - Accumulated | 20050218 | |
5 | MC_PIS_ACC | Static Attribute | Private | Type reference (TYPE) | J_1BTAXGRP | 'WAPI' | Tax Group for PIS WHT - Accumulated | 20050218 | |
6 | MT_J_1BAJ | Static Attribute | Private | Type reference (TYPE) | MTY_J_1BAJ_TAB | Tax Types | 20050218 | ||
7 | MT_NFLIN | Static Attribute | Private | Type reference (TYPE) | J_1BNFLIN_TAB | Table of Nota Fiscal Items (J_1BNFLIN) | 20050210 | ||
8 | MT_NFSTX | Static Attribute | Private | Type reference (TYPE) | J_1BNFSTX_TAB | Table of Nota Fiscal Tax Lines (J_1BNFSTX) | 20050210 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | GET_REAL_BASE_NF | Static method | Public | Method | Get WHT Accumulation Base Amount From NF Tax Lines | 20050210 |
2 | GET_TAX_GROUP | Static method | Private | Method | Get the tax group of a given tax type | 20050218 |
3 | GET_TAX_TYPE | Static method | Private | Method | Get the tax type of a given tax group | 20050608 |
4 | NF_WHT_BASE | Static method | Private | Method | Get WHT Base for a Given NFLine If Relevant for Accumulation | 20050211 |
5 | REFTYP_FROM_AWTYP | Static method | Public | Method | Get NF Reference Type From FI Document's AWTYP | 20050211 |
6 | TAXTYP_FROM_WITHTYP | Static method | Private | Method | Get NF Tax Type From WHT Type | 20050210 |
7 | WHT_BASE_FROM_NF | Static method | Private | Method | Get WHT Accumulation Base From NF Tax Lines Per Tax Type | 20050210 |
Events
Class CL_WHT_NF has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | MTY_J_1BAJ_TAB | Protected | See coding | Tax Types | 20050214 | mty_j_1baj_tab TYPE STANDARD TABLE OF j_1baj
|
Method Signatures
Method GET_REAL_BASE_NF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_WHT_BASE | Call by reference | Type reference (TYPE) | WT_BS | Quellensteuerbasisbetrag in Hauswährung | 20050210 | ||
2 | Importing | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Buchungskr. | 20050210 | ||
3 | Importing | IV_REFKEY | Call by reference | Type reference (TYPE) | AWKEY | Objektschlüssel . | 20050210 | ||
4 | Importing | IV_REFTYP | Call by reference | Type reference (TYPE) | AWTYP | Referenzvorgang | 20050210 | ||
5 | Importing | IV_WITHT | Call by reference | Type reference (TYPE) | WITHT | Kennzeichen für Quellensteuertyp | 20050210 | ||
6 | Importing | IV_WT_USE | Call by reference | Type reference (TYPE) | WT_USAGE | Table entry spec. accord. to use for mod. net - mod. tax amt | 20050210 |
Method GET_REAL_BASE_NF on class CL_WHT_NF has no exception.
Method GET_TAX_GROUP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_TAXGRP | Call by reference | Type reference (TYPE) | J_1BTAXGRP | Steuergrp. | 20050218 | ||
2 | Importing | IV_TAXTYP | Call by reference | Type reference (TYPE) | J_1BTAXTYP | Steuerart | 20050218 |
Method GET_TAX_GROUP on class CL_WHT_NF has no exception.
Method GET_TAX_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_J_1BAJ | Call by reference | Type reference (TYPE) | MTY_J_1BAJ_TAB | Tax Type | 20050614 | ||
2 | Importing | IV_TAXGRP | Call by reference | Type reference (TYPE) | J_1BTAXGRP | Tax group | 20050608 |
Method GET_TAX_TYPE on class CL_WHT_NF has no exception.
Method NF_WHT_BASE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_NFLIN | Call by reference | Type reference (TYPE) | J_1BNFLIN | Einzelposten Nota Fiscal | 20050211 | ||
2 | Importing | IV_TAXTYP | Call by reference | Type reference (TYPE) | J_1BTAXTYP | Steuerart | 20050211 | ||
3 | Returning | RV_BASE | Value transfer | Type reference (TYPE) | J_1BBASE | Basisbetrag | 20050211 |
Method NF_WHT_BASE on class CL_WHT_NF has no exception.
Method REFTYP_FROM_AWTYP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_AWTYP | Call by reference | Type reference (TYPE) | AWTYP | Referenzvorgang | 20050211 | ||
2 | Returning | RV_REFTYP | Value transfer | Type reference (TYPE) | J_1BREFTYP | Referenztyp | 20050211 |
Method REFTYP_FROM_AWTYP on class CL_WHT_NF has no exception.
Method TAXTYP_FROM_WITHTYP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_TAXTYP | Call by reference | Type reference (TYPE) | MTY_J_1BAJ_TAB | Steuerart | 20050214 | ||
2 | Importing | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Buchungskr. | 20050210 | ||
3 | Importing | IV_WITHT | Call by reference | Type reference (TYPE) | WITHT | Kennzeichen für Quellensteuertyp | 20050210 | ||
4 | Importing | IV_WT_USE | Call by reference | Type reference (TYPE) | WT_USAGE | Table entry spec. accord. to use for mod. net - mod. tax amt | 20050210 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_UNIQUE_TAXTYP | Keine eindeutige NF-Steuerart für angegebene QSt-Art | 20050210 |
Method WHT_BASE_FROM_NF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_WHT_BASE | Value transfer | Type reference (TYPE) | J_1BBASE | Basisbetrag | 20050210 | ||
2 | Importing | IV_REFKEY | Call by reference | Type reference (TYPE) | AWKEY | Objektschlüssel | 20050210 | ||
3 | Importing | IV_REFTYP | Call by reference | Type reference (TYPE) | AWTYP | Referenzvorgang | 20050210 | ||
4 | Importing | IV_TAXTYP | Call by reference | Type reference (TYPE) | J_1BTAXTYP | Steuerart | 20050210 |
Method WHT_BASE_FROM_NF on class CL_WHT_NF has no exception.
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 600 |