SAP ABAP Class CL_WT_EXCL_IN_FI_INVOICE (Class for BAdI Impl: IM_WT_EXCLUSIONS_IN_INVOICE)
Hierarchy
BBPCRM (Software Component) BBPCRM
   FI-AP-AP (Application Component) Basic Functions
     FQST (Package) Infrastructure for withholding tax
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20111025
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WT_EXCLUSIONS_IN_INVOICE Interface for BAdI: BADI_WT_EXCLUSIONS_IN_INVOICE 20111025
Properties
Class CL_WT_EXCL_IN_FI_INVOICE  
Short Description Class for BAdI Impl: IM_WT_EXCLUSIONS_IN_INVOICE    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FQST   Infrastructure for withholding tax 
Created 20111025   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_WT_EXCLUSIONS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 IF_WT_EXCLUSIONS_IN_INVOICE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20111025
2 IF_WT_EXCLUSIONS_IN_INVOICE Interface for BAdI: BADI_WT_EXCLUSIONS_IN_INVOICE 20111025
Friends
Class CL_WT_EXCL_IN_FI_INVOICE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CON_BUZID_DISC Constant Public Type reference (TYPE) BUZID 'Z' 20111025
2 CON_BUZID_TAX Constant Public Type reference (TYPE) BUZID 'T' 20111025
3 CON_CURTP_DOC_CURR Constant Public Type reference (TYPE) CURTP '00' 20111025
4 CON_KOART_GL Constant Public Type reference (TYPE) KOART 'S' 20111025
5 CON_SHKZG_CREDIT Constant Public Type reference (TYPE) SHKZG 'H' 20111025
6 CON_SHKZG_DEBIT Constant Public Type reference (TYPE) SHKZG 'S' 20111025
7 CON_UMSKS_DOWNPAYM Constant Public Type reference (TYPE) UMSKS 'A' 20111025
8 MS_H_BSEG Static Attribute Protected Type reference (TYPE) BSEG_LINE 20111025
9 MT_BSEG Static Attribute Protected Type reference (TYPE) BSEG_T 20111025
10 MT_BSET Static Attribute Protected Type reference (TYPE) BSET_TAB 20111025
11 MT_WITH_EXCL_WITHT Static Attribute Protected See coding 20111101
12 MV_ABADRENV Static Attribute Protected Type reference (TYPE) ABADRENV 20111025
13 MV_BUKRS Static Attribute Protected Type reference (TYPE) BUKRS 20111025
14 MV_FIRST_WITH_TYPE Static Attribute Protected Type reference (TYPE) WITHT 20111025
15 MV_NO_INFINITE_LOOP Static Attribute Public Type reference (TYPE) I 20111104
16 MV_WITHT Static Attribute Protected Type reference (TYPE) WITHT 20111025
17 ST_BSEG Static Attribute Private Type reference (TYPE) BSEG_T 20111101
18 ST_RENUM Static Attribute Private See coding 20111101
19 ST_WITH_ITEM_EXCL Static Attribute Private Type reference (TYPE) TTYP_WITH_ITEM_EXCL 20111025
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_AMOUNTS_DISC Instance method Protected Method 20111025
2 CHECK_EXPENSE_LINE Instance method Protected Method 20111025
3 DISPLAY_EXCLUSION_DETAILS Instance method Private Method 20111101
4 DISPLAY_IN_SIMULATION Instance method Protected Method 20111104
5 EXCLUDE_LINE_ITEM Instance method Private Method 20111101
6 EXCLUSIONS_IN_DOWNPAYMENTS Instance method Protected Method 20111025
7 GET_DERIVATION_STRATEGY Instance method Protected Method 20111025
8 GET_VENDOR_LINE_DISC Instance method Protected Method 20111025
9 GET_VENDOR_LINE_FRACTION Instance method Protected Method 20111025
10 GET_WITH_ITEM_EXCL Static method Public Method 20111025
11 READ_EXCL_INCL_CURRENT_DOC Instance method Protected Method 20111104
12 READ_EXCL_INCL_IN_CLEARED_DOCS Instance method Protected Method 20111104
13 READ_EXCL_INCL_IN_OPEN_DOCS Instance method Protected Method 20111104
14 READ_PO_EF_NUMBER Instance method Protected Method 20111104
15 RESET_WITH_ITEM_EXCL Static method Public Method 20111025
16 SAVE_OR_REFRESH_INPUT Instance method Protected Method 20111025
17 SET_BUZEI Instance method Private Method 20111101
18 SET_WITH_ITEM_EXCL Static method Public Method 20111025
19 SHOW_TRACE Instance method Protected Method 20111101
20 STORE_RENUMBERING_BUZEI Instance method Private Method 20111101
21 STORE_WITH_ITEM_EXCL Instance method Private Method 20111101
22 TRACE Instance method Protected Method 20111101
Events
Class CL_WT_EXCL_IN_FI_INVOICE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TTYP_RENUM Public See coding 20111101 ttyp_renum type standard table of typ_renum
2 TTYP_WITH_ITEM Private Attribute reference (LIKE) 20111101
3 TTYP_WITH_ITEMX Private Attribute reference (LIKE) 20111101
4 TTYP_WITH_ITEM_EXCL Public See coding Withholding Tax Info per WTax Type (Exclusion) 20111025 ttyp_with_item_excl type sorted table of with_item_excl with non-unique key bukrs belnr gjahr
5 TTYP_XWITH_ITEM_EXCL Public See coding 20111101 ttyp_xwith_item_excl type standard table of typ_xwith_item_excl
6 TYP_RENUM Public See coding 20111101 begin of typ_renum, oldbz type mblpo, " old position number newbz type buzei, " new position number end of typ_renum
7 TYP_XWITH_ITEM_EXCL Public See coding 20111101 begin of typ_xwith_item_excl . include type with_item_excl. types: wrbtr type wrbtr, dmbtr type dmbtr, ebeln type ebeln, ebelp type ebelp, zekkn type dzekkn, kblnr type kblnr_fi, kblpos type kblpos, end of typ_xwith_item_excl
Method Signatures

Method ADJUST_AMOUNTS_DISC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TXBFW Call by reference Type reference (TYPE) TXBFW 20111025
2 Changing C_WRBTR Call by reference Type reference (TYPE) WRBTR 20111025
3 Importing I_TAXRATE Call by reference Type reference (TYPE) F 20111025
4 Importing I_VENDOR_LINE_DISC Call by reference Type reference (TYPE) WRBTR 20111025
5 Importing I_WRBTR_SAVE Call by reference Type reference (TYPE) WRBTR 20111025

Method ADJUST_AMOUNTS_DISC on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method CHECK_EXPENSE_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_INCLUDED Value transfer Type reference (TYPE) BOOLEAN 20111025
2 Importing IS_BKPF Call by reference Type reference (TYPE) BKPF_LINE 20111025
3 Importing IS_BSEG Call by reference Type reference (TYPE) BSEG_LINE 20111025
4 Importing IV_ABADRENV Call by reference Type reference (TYPE) ABADRENV 20111025

Method CHECK_EXPENSE_LINE on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method DISPLAY_EXCLUSION_DETAILS Signature

Method DISPLAY_EXCLUSION_DETAILS on class CL_WT_EXCL_IN_FI_INVOICE has no parameter.
Method DISPLAY_EXCLUSION_DETAILS on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method DISPLAY_IN_SIMULATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BELNR Call by reference Type reference (TYPE) BELNR_D 20111104
2 Importing BUKRS Call by reference Type reference (TYPE) BUKRS 20111104
3 Importing BUZEI Call by reference Type reference (TYPE) BUZEI 20111104
4 Exporting ET_XWITH_EXCL Call by reference Type reference (TYPE) TTYP_XWITH_ITEM_EXCL 20111104
5 Exporting EX_FLAG_EF Call by reference Type reference (TYPE) CHAR1 20111104
6 Exporting EX_FLAG_PO Call by reference Type reference (TYPE) CHAR1 20111104
7 Importing GJAHR Call by reference Type reference (TYPE) GJAHR 20111104
8 Importing WITHT Call by reference Type reference (TYPE) WITHT 20111104

Method DISPLAY_IN_SIMULATION on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method EXCLUDE_LINE_ITEM Signature

Method EXCLUDE_LINE_ITEM on class CL_WT_EXCL_IN_FI_INVOICE has no parameter.
Method EXCLUDE_LINE_ITEM on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method EXCLUSIONS_IN_DOWNPAYMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_BSEG Call by reference Type reference (TYPE) BSEG_LINE 20111025
2 Importing IS_BKPF Call by reference Type reference (TYPE) BKPF_LINE 20111025
3 Importing IV_ABADRENV Call by reference Type reference (TYPE) ABADRENV 20111025

Method EXCLUSIONS_IN_DOWNPAYMENTS on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method GET_DERIVATION_STRATEGY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS 20111025
2 Importing IV_WITHT Call by reference Type reference (TYPE) WITHT 20111025
3 Returning RV_ABADRENV Value transfer Type reference (TYPE) ABADRENV 20111025

Method GET_DERIVATION_STRATEGY on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method GET_VENDOR_LINE_DISC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TAXRATE Call by reference Type reference (TYPE) F 20111025
2 Exporting EV_VENDOR_LINE_DISC Value transfer Type reference (TYPE) WRBTR 20111025
3 Importing IS_H_BSEG Call by reference Type reference (TYPE) BSEG_LINE 20111025
4 Importing IT_BSEG Call by reference Type reference (TYPE) BSEG_T 20111025

Method GET_VENDOR_LINE_DISC on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method GET_VENDOR_LINE_FRACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_H_BSEG Call by reference Type reference (TYPE) BSEG_LINE 20111025
2 Importing IT_BSEG Call by reference Type reference (TYPE) BSEG_T 20111025
3 Returning RV_VENDOR_LINE_FRAC Value transfer Type reference (TYPE) F 20111025

Method GET_VENDOR_LINE_FRACTION on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method GET_WITH_ITEM_EXCL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WITH_ITEM_EXCL Call by reference Type reference (TYPE) TTYP_WITH_ITEM_EXCL 20111025

Method GET_WITH_ITEM_EXCL on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method READ_EXCL_INCL_CURRENT_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BELNR Call by reference Type reference (TYPE) BELNR_D 20111104
2 Importing BUKRS Call by reference Type reference (TYPE) BUKRS 20111104
3 Importing BUZEI Call by reference Type reference (TYPE) BUZEI 20111104
4 Exporting ET_XWITH_EXCL Call by reference Type reference (TYPE) TTYP_XWITH_ITEM_EXCL 20111104
5 Importing GJAHR Call by reference Type reference (TYPE) GJAHR 20111104
6 Importing WITHT Call by reference Type reference (TYPE) WITHT 20111104

Method READ_EXCL_INCL_CURRENT_DOC on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method READ_EXCL_INCL_IN_CLEARED_DOCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BELNR Call by reference Type reference (TYPE) BELNR_D Accounting Document Number 20111104
2 Importing BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20111104
3 Importing BUZEI Call by reference Type reference (TYPE) BUZEI Line Item Number Within the Accounting Document 20111104
4 Exporting ET_XWITH_EXCL Call by reference Type reference (TYPE) TTYP_XWITH_ITEM_EXCL 20111104
5 Exporting EX_FLAG_EF Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20111104
6 Exporting EX_FLAG_PO Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20111104
7 Importing GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20111104
8 Importing WITHT Call by reference Type reference (TYPE) WITHT Indicator for Withholding Tax Type 20111104

Method READ_EXCL_INCL_IN_CLEARED_DOCS on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method READ_EXCL_INCL_IN_OPEN_DOCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BELNR Call by reference Type reference (TYPE) BELNR_D Accounting Document Number 20111104
2 Importing BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20111104
3 Importing BUZEI Call by reference Type reference (TYPE) BUZEI Line Item Number Within the Accounting Document 20111104
4 Exporting ET_XWITH_EXCL Call by reference Type reference (TYPE) TTYP_XWITH_ITEM_EXCL 20111104
5 Importing GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20111104
6 Importing WITHT Call by reference Type reference (TYPE) WITHT Indicator for Withholding Tax Type 20111104

Method READ_EXCL_INCL_IN_OPEN_DOCS on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method READ_PO_EF_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BELNR Call by reference Type reference (TYPE) BELNR_D Accounting Document Number 20111104
2 Importing BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20111104
3 Importing BUZEI Call by reference Type reference (TYPE) BUZEI Line Item Number Within the Accounting Document 20111104
4 Exporting ET_XWITH_EXCL Call by reference Type reference (TYPE) TTYP_XWITH_ITEM_EXCL 20111104
5 Exporting EX_FLAG_EF Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20111104
6 Exporting EX_FLAG_PO Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20111104
7 Importing GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20111104

Method READ_PO_EF_NUMBER on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method RESET_WITH_ITEM_EXCL Signature

Method RESET_WITH_ITEM_EXCL on class CL_WT_EXCL_IN_FI_INVOICE has no parameter.
Method RESET_WITH_ITEM_EXCL on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method SAVE_OR_REFRESH_INPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_BSEG Call by reference Type reference (TYPE) BSEG_LINE 20111025
2 Changing CT_BSEG Call by reference Type reference (TYPE) BSEG_T 20111025
3 Changing CT_BSET Call by reference Type reference (TYPE) BSET_TAB 20111025
4 Importing IV_WITHT Call by reference Type reference (TYPE) WITHT 20111025

Method SAVE_OR_REFRESH_INPUT on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method SET_BUZEI Signature

Method SET_BUZEI on class CL_WT_EXCL_IN_FI_INVOICE has no parameter.
Method SET_BUZEI on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method SET_WITH_ITEM_EXCL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BSEG Call by reference Type reference (TYPE) BSEG_LINE 20111101
2 Importing IM_WITH_ITEM_EXCL Call by reference Type reference (TYPE) WITH_ITEM_EXCL 20111025

Method SET_WITH_ITEM_EXCL on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method SHOW_TRACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DER_SOURCE Call by reference Type reference (TYPE) WITH_EXCL_DERIVE_SOURCE 20111101
2 Importing IV_ABADRENV Call by reference Type reference (TYPE) ABADRENV 20111101

Method SHOW_TRACE on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method STORE_RENUMBERING_BUZEI Signature

Method STORE_RENUMBERING_BUZEI on class CL_WT_EXCL_IN_FI_INVOICE has no parameter.
Method STORE_RENUMBERING_BUZEI on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method STORE_WITH_ITEM_EXCL Signature

Method STORE_WITH_ITEM_EXCL on class CL_WT_EXCL_IN_FI_INVOICE has no parameter.
Method STORE_WITH_ITEM_EXCL on class CL_WT_EXCL_IN_FI_INVOICE has no exception.

Method TRACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DER_SOURCE Call by reference Type reference (TYPE) WITH_EXCL_DERIVE_SOURCE 20111101
2 Importing IV_ABADRENV Call by reference Type reference (TYPE) ABADRENV 20111101

Method TRACE on class CL_WT_EXCL_IN_FI_INVOICE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 607