SAP ABAP Class CL_FIWTAR_VEND_EXEMPTION (AR Vendor Exemption)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-BF-TAX (Application Component) Tax Determination
     J1AF (Package) Financial Accounting Argentina
Properties
Class CL_FIWTAR_VEND_EXEMPTION  
Short Description AR Vendor Exemption    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package J1AF   Financial Accounting Argentina 
Created 20120911   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_FIWTAR_VEND_EXEMPTION has no forward declaration.
Interfaces
Class CL_FIWTAR_VEND_EXEMPTION has no interface implemented.
Friends
Class CL_FIWTAR_VEND_EXEMPTION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_EXMP_DATA Instance attribute Private Type reference (TYPE) TT_VEND_EXMP 20120913
2 GT_LFA1 Instance attribute Private Type reference (TYPE) TT_LFA1 20120913
3 GT_LFBW Instance attribute Private Type reference (TYPE) TT_LFBW 20120913
4 GT_VEND_OUT Instance attribute Private Type reference (TYPE) TT_VEND_OUT 20120926
5 GV_LINE_NO Instance attribute Private Type reference (TYPE) I 20121012
6 GV_TAXLAW Instance attribute Private Type reference (TYPE) FIWTAR_TAXLAW Argentina Tax law 20120918
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_DATE_TO_INTERNAL Instance method Private Method Convert date to internal format 20120913
2 GET_FILE_DATA Instance method Public Method Get File Data 20120911
3 GET_VENDOR_DATA Instance method Public Method Get Vendor Data 20120911
4 PROCESS_FILE_DATA Instance method Public Method Process File data 20120911
5 READ_FILE_FROM_APPL_SERVER Instance method Private Method Read file from application server 20120918
6 READ_FILE_FROM_LOCAL_PC Instance method Private Method Read file from Local system 20120918
7 SPLIT_STRING_TO_FIELDS Instance method Private Method Split String into fields 20120917
8 UPDATE_VENDOR_DATA Instance method Public Method Update Vendor Master data 20120911
Events
Class CL_FIWTAR_VEND_EXEMPTION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_LFA1 Public See coding 20120912 tt_lfa1 TYPE TABLE OF ty_lfa1
2 TT_LFBW Public See coding 20120912 tt_lfbw TYPE TABLE OF lfbw
3 TT_LIFNR Public See coding 20120912 tt_lifnr TYPE RANGE OF lfbw-lifnr
4 TT_VEND_EXMP Public See coding 20120911 tt_vend_exmp TYPE TABLE OF fiwtar_s_vend_exmp
5 TT_VEND_OUT Public See coding 20120926 tt_vend_out TYPE TABLE OF ty_vend_out
6 TT_WITHT Public See coding 20130103 tt_witht TYPE RANGE OF lfbw-witht
7 TY_LFA1 Public See coding 20120912 BEGIN OF ty_lfa1, lifnr TYPE lfa1-lifnr, stcd1 TYPE lfa1-stcd1, name1 TYPE lfa1-name1, END OF ty_lfa1
8 TY_RG17F Public See coding 20120914 BEGIN OF ty_rg17f, stcd1(11) TYPE c, name1(62) TYPE c, wt_exdf(10) TYPE c, wt_exdt(10) TYPE c, wt_exrt(3) TYPE c, resolution(6) TYPE c, END OF ty_rg17f
9 TY_RG17_STR Public See coding 20120914 BEGIN OF ty_rg17_str, str(115) TYPE c, END OF ty_rg17_str
10 TY_RG1904F Public See coding 20120914 BEGIN OF ty_rg1904f, stcd1 TYPE fiwtar_s_vend_exmp-stcd1, wt_exnr TYPE fiwtar_s_vend_exmp-wt_exnr, gjahr TYPE fiwtar_s_vend_exmp-gjahr, wt_exrt(3) TYPE c, resolution TYPE fiwtar_s_vend_exmp-resolution, status TYPE fiwtar_s_vend_exmp-status, wt_exdf(10) TYPE c, wt_exdt(10) TYPE c, END OF ty_rg1904f
11 TY_RG1904_STR Public See coding 20120914 BEGIN OF ty_rg1904_str, str(180) TYPE c, END OF ty_rg1904_str
12 TY_RG830F Public See coding 20120914 BEGIN OF ty_rg830f, wt_exnr TYPE fiwtar_s_vend_exmp-wt_exnr, stcd1 TYPE fiwtar_s_vend_exmp-stcd1, gjahr TYPE fiwtar_s_vend_exmp-gjahr, wt_exrt(3) TYPE c, resolution TYPE fiwtar_s_vend_exmp-resolution, status TYPE fiwtar_s_vend_exmp-status, blank(1) TYPE c, create_date(10) TYPE c, wt_exdf(10) TYPE c, wt_exdt(10) TYPE c, END OF ty_rg830f
13 TY_RG830_STR Public See coding 20120914 BEGIN OF ty_rg830_str, str(180) TYPE c, END OF ty_rg830_str
14 TY_VEND_OUT Public See coding 20120927 BEGIN OF ty_vend_out, stcd1 TYPE fiwtar_s_vend_exmp-stcd1, lifnr TYPE fiwtar_s_vend_exmp-lifnr, name1 TYPE fiwtar_s_vend_exmp-name1, wt_exrt TYPE fiwtar_s_vend_exmp-wt_exrt, wt_exdf TYPE fiwtar_s_vend_exmp-wt_exdf, wt_exdt TYPE fiwtar_s_vend_exmp-wt_exdt, comments(50) TYPE c, icon TYPE icon-id, END OF ty_vend_out
Method Signatures

Method CONVERT_DATE_TO_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20120914
2 Importing IV_DATE Call by reference Type reference (TYPE) CHAR9 Character field of 9 digits 20120914
# Exception Resumable Description Created on
1 DATE_CONVERSION_ERROR Error in date conversion 20120918
2 INVALID_MONTH Invalid month 20120918

Method GET_FILE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILE_LOCAL Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20120918
2 Importing IV_FILE_PATH Call by reference Type reference (TYPE) LOCALFILE Local file for upload/download 20120914
3 Importing IV_RESOLUTION Call by reference Type reference (TYPE) FIWTAR_RESOLUTION Resolution for Updation of vendor tax rate 20121025
4 Importing IV_TAXLAW Call by reference Type reference (TYPE) FIWTAR_TAXLAW Argentina Tax law 20120911
5 Importing IV_UPD_DATE Call by reference Type reference (TYPE) FIWTAR_UPD_DATE Date for Updation of vendor details 20121025
# Exception Resumable Description Created on
1 FILE_PATH_NOT_FOUND File path Not Found 20120911

Method GET_VENDOR_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_LIFNR Call by reference Type reference (TYPE) TT_LIFNR 20120912
2 Importing IT_WITHT Call by reference Type reference (TYPE) TT_WITHT Indicator for withholding tax type 20130103
3 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20120912

Method GET_VENDOR_DATA on class CL_FIWTAR_VEND_EXEMPTION has no exception.

Method PROCESS_FILE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VEND_OUT Call by reference Type reference (TYPE) TT_VEND_OUT 20120927
2 Importing IV_UPD_DATE Call by reference Type reference (TYPE) FIWTAR_UPD_DATE Date for Updation of vendor details 20130104

Method PROCESS_FILE_DATA on class CL_FIWTAR_VEND_EXEMPTION has no exception.

Method READ_FILE_FROM_APPL_SERVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILE_PATH Call by reference Type reference (TYPE) LOCALFILE Local file for upload/download 20120918
2 Importing IV_RESOLUTION Call by reference Type reference (TYPE) FIWTAR_RESOLUTION Resolution for Updation of vendor tax rate 20121025
3 Importing IV_TAXLAW Call by reference Type reference (TYPE) FIWTAR_TAXLAW 20120918
4 Importing IV_UPD_DATE Call by reference Type reference (TYPE) FIWTAR_UPD_DATE Date for Updation of vendor details 20121025

Method READ_FILE_FROM_APPL_SERVER on class CL_FIWTAR_VEND_EXEMPTION has no exception.

Method READ_FILE_FROM_LOCAL_PC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILE_PATH Call by reference Type reference (TYPE) LOCALFILE Local file for upload/download 20120918
2 Importing IV_RESOLUTION Call by reference Type reference (TYPE) FIWTAR_RESOLUTION Resolution for Updation of vendor tax rate 20121025
3 Importing IV_TAXLAW Call by reference Type reference (TYPE) FIWTAR_TAXLAW 20120918
4 Importing IV_UPD_DATE Call by reference Type reference (TYPE) FIWTAR_UPD_DATE Date for Updation of vendor details 20121025

Method READ_FILE_FROM_LOCAL_PC on class CL_FIWTAR_VEND_EXEMPTION has no exception.

Method SPLIT_STRING_TO_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_EXMP_DATA Call by reference Type reference (TYPE) FIWTAR_S_VEND_EXMP Structure for AR Vendor exemption file processing 20120917
2 Importing IS_RG_STRING Call by reference Type reference (TYPE) ANY 20120917
3 Importing IV_TAXLAW Call by reference Type reference (TYPE) FIWTAR_TAXLAW Argentina Tax law 20120917

Method SPLIT_STRING_TO_FIELDS on class CL_FIWTAR_VEND_EXEMPTION has no exception.

Method UPDATE_VENDOR_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VEND_OUT Call by reference Type reference (TYPE) TT_VEND_OUT 20120927

Method UPDATE_VENDOR_DATA on class CL_FIWTAR_VEND_EXEMPTION has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 617