SAP ABAP Class CL_SAFT_UTILITY (SAF-T Utility)
Hierarchy
FI-CA (Software Component) FI-CA
   FI-CA (Application Component) Contract Accounts Receivable and Payable
     FKK_ID_PT_SAFT (Package) FI-CA Localization Portugal - SAF-T
Properties
Class CL_SAFT_UTILITY  
Short Description SAF-T Utility    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FKK_ID_PT_SAFT   FI-CA Localization Portugal - SAF-T 
Created 20110112   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_FICA_SAFT_UTILITY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_PT_CUSTOMER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_SAFT_UTILITY has no interface implemented.
Friends
Class CL_SAFT_UTILITY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_INIT_DESCONHECIDO Constant Public Type reference (TYPE) CHAR12 'Desconhecido' 20130212
2 MC_INIT_OMISSO Constant Public Type reference (TYPE) CHAR6 'omisso' 20130212
3 MC_LANG_PT Constant Public Type reference (TYPE) LANG 'P' 20130212
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_BLANK_DATA Static method Public Method Build Blank data 20110825
2 FORMAT_DATE Instance method Public Method Format date 20110825
3 GET_ADDRESS Instance method Public Method Get Address 20110825
4 GET_BP_DATA Instance method Public Method Get BP data 20110825
5 GET_COMPANY Instance method Public Method Get Company 20110825
6 GET_EMAIL Instance method Public Method Get email address 20110825
7 GET_GLACNT_MAINTR Static method Public Method Get G/L account for Maint Transaction 20130212
8 GET_PARMVALUE Static method Public Method Get parameter/value from PARMTAB 20110825
9 GET_RELEASE Instance method Public Method Get Release version 20110825
10 GET_TAXDATA Instance method Public Method Get Tax data from saf_pt_ta_data 20110825
11 GET_WEBURL Instance method Public Method Get Web site 20110825
12 HANDLE_INIT_DESCONHECIDO Static method Public Method Handle initial value (fill Desconhecido) 20130212
13 HANDLE_INIT_OMISSO Static method Public Method Handle initial value (fill omisso) 20130212
14 SET_PARMVALUE Static method Public Method Set parameter/value into PARMTAB 20110825
15 SET_TAXTYPE Instance method Public Method Set TaxCode 20110825
16 S_SET_ADDRESS_INFO Static method Public Method Set address info 20130527
Events
Class CL_SAFT_UTILITY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_S_ACCNT_X000 Public See coding 20130212 begin of ty_s_accnt_x000 , bukrs type bukrs , spart type spart_kk , kofiz type kofiz_kk , hvorg type hvorg_kk , saknr type saknr , end of ty_s_accnt_x000
2 TY_T_ACCNT_X000 Public See coding 20130212 ty_t_accnt_x000 type standard table of ty_s_accnt_x000
Method Signatures

Method BUILD_BLANK_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EO_DATA Value transfer Object reference (TYPE REF TO) DATA 20110825

Method BUILD_BLANK_DATA on class CL_SAFT_UTILITY has no exception.

Method FORMAT_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_DATE Value transfer Type reference (TYPE) CHAR10 Character Field Length = 10 20110825
2 Importing I_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20110825
3 Importing I_FORMAT Call by reference Type reference (TYPE) CHAR10 Character Field Length = 10 20110825

Method FORMAT_DATE on class CL_SAFT_UTILITY has no exception.

Method GET_ADDRESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_ADRC Value transfer Type reference (TYPE) ADRC Addresses (Business Address Services) 20110825
2 Importing I_ADRNR Call by reference Type reference (TYPE) AD_ADDRNUM Address number 20110825

Method GET_ADDRESS on class CL_SAFT_UTILITY has no exception.

Method GET_BP_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_EXTRACT Value transfer Type reference (TYPE) FKK_GPSHAD Data Extract: Business Partner Data (Faster Access) 20110825
2 Importing I_GPART Call by reference Type reference (TYPE) GPART_KK Business Partner Number 20110825

Method GET_BP_DATA on class CL_SAFT_UTILITY has no exception.

Method GET_COMPANY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_T001 Value transfer Type reference (TYPE) T001 Company Codes 20110825
2 Importing I_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20110825

Method GET_COMPANY on class CL_SAFT_UTILITY has no exception.

Method GET_EMAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_EMAIL Value transfer Type reference (TYPE) AD_SMTPADR E-Mail Address 20110825
2 Importing I_ADRNR Call by reference Type reference (TYPE) AD_ADDRNUM Address number 20110825

Method GET_EMAIL on class CL_SAFT_UTILITY has no exception.

Method GET_GLACNT_MAINTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_X000 Call by reference Type reference (TYPE) TY_T_ACCNT_X000 20130212
2 Importing IV_APPLK Call by reference Type reference (TYPE) APPLK_KK Application area 20130212
3 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20130212
4 Importing IV_HVORG Call by reference Type reference (TYPE) HVORG_KK Main Transaction for Line Item 20130212
5 Importing IV_KTOPL Call by reference Type reference (TYPE) KTOPL Chart of Accounts 20130212

Method GET_GLACNT_MAINTR on class CL_SAFT_UTILITY has no exception.

Method GET_PARMVALUE 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) ANY 20110825
2 Importing I_NAME Call by reference Type reference (TYPE) ABAP_PARMNAME 20110825
3 Importing I_PARMTAB Call by reference Type reference (TYPE) RSPARAMS_TT rsparams Table 20110825

Method GET_PARMVALUE on class CL_SAFT_UTILITY has no exception.

Method GET_RELEASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_RELEASE Value transfer Type reference (TYPE) SAPRELEASE SAP Release 20110825
2 Importing I_COMPONENT Call by reference Type reference (TYPE) DLVUNIT Software Component 20110825

Method GET_RELEASE on class CL_SAFT_UTILITY has no exception.

Method GET_TAXDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_TAX_DATA Value transfer Type reference (TYPE) SAFT_PT_TAX_DATA Tax Details for SAFT-PT 20110825
2 Importing I_MWSKZ Call by reference Type reference (TYPE) MWSKZ Tax on sales/purchases code 20110825

Method GET_TAXDATA on class CL_SAFT_UTILITY has no exception.

Method GET_WEBURL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_URL Value transfer Type reference (TYPE) AD_URI Universal Resource Identifier (URI) 20110825
2 Importing I_ADRNR Call by reference Type reference (TYPE) AD_ADDRNUM Address number 20110825
3 Importing I_PERNR Call by reference Type reference (TYPE) AD_PERSNUM Person number 20130319

Method GET_WEBURL on class CL_SAFT_UTILITY has no exception.

Method HANDLE_INIT_DESCONHECIDO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY 20130212

Method HANDLE_INIT_DESCONHECIDO on class CL_SAFT_UTILITY has no exception.

Method HANDLE_INIT_OMISSO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALUE Call by reference Type reference (TYPE) ANY 20130212

Method HANDLE_INIT_OMISSO on class CL_SAFT_UTILITY has no exception.

Method SET_PARMVALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) ABAP_PARMNAME 20110825
2 Importing I_VALUE Call by reference Type reference (TYPE) ANY 20110825
3 Changing R_PARMTAB Call by reference Type reference (TYPE) RSPARAMS_TT rsparams Table 20110825

Method SET_PARMVALUE on class CL_SAFT_UTILITY has no exception.

Method SET_TAXTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_TAXCODE Value transfer Type reference (TYPE) CHAR3 3-Byte field 20110825
2 Importing I_MWSKZ Call by reference Type reference (TYPE) MWSKZ Tax on sales/purchases code 20110825

Method SET_TAXTYPE on class CL_SAFT_UTILITY has no exception.

Method S_SET_ADDRESS_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ADDRESSDETAIL Call by reference Type reference (TYPE) CSEQUENCE 20130527
2 Exporting EV_BLDNO Call by reference Type reference (TYPE) CSEQUENCE 20130527
3 Exporting EV_CITY Call by reference Type reference (TYPE) CSEQUENCE 20130527
4 Exporting EV_COUNTRY Call by reference Type reference (TYPE) CSEQUENCE 20130527
5 Exporting EV_POSTCODE Call by reference Type reference (TYPE) CSEQUENCE 20130527
6 Exporting EV_REGION Call by reference Type reference (TYPE) CSEQUENCE 20130527
7 Exporting EV_STRNAME Call by reference Type reference (TYPE) CSEQUENCE 20130527
8 Importing IS_BP_EXTRACT Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_EXTRACT 20130527
9 Importing IT_T005 Call by reference Type reference (TYPE) CL_PT_CUSTOMER=>TY_T_T005 Country 20130527

Method S_SET_ADDRESS_INFO on class CL_SAFT_UTILITY has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in