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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | 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 | Constant | Public | Type reference (TYPE) | CHAR12 | 'Desconhecido' | 20130212 | |||
| 2 | Constant | Public | Type reference (TYPE) | CHAR6 | 'omisso' | 20130212 | |||
| 3 | Constant | Public | Type reference (TYPE) | LANG | 'P' | 20130212 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Build Blank data | 20110825 | |
| 2 | Instance method | Public | Method | Format date | 20110825 | |
| 3 | Instance method | Public | Method | Get Address | 20110825 | |
| 4 | Instance method | Public | Method | Get BP data | 20110825 | |
| 5 | Instance method | Public | Method | Get Company | 20110825 | |
| 6 | Instance method | Public | Method | Get email address | 20110825 | |
| 7 | Static method | Public | Method | Get G/L account for Maint Transaction | 20130212 | |
| 8 | Static method | Public | Method | Get parameter/value from PARMTAB | 20110825 | |
| 9 | Instance method | Public | Method | Get Release version | 20110825 | |
| 10 | Instance method | Public | Method | Get Tax data from saf_pt_ta_data | 20110825 | |
| 11 | Instance method | Public | Method | Get Web site | 20110825 | |
| 12 | Static method | Public | Method | Handle initial value (fill Desconhecido) | 20130212 | |
| 13 | Static method | Public | Method | Handle initial value (fill omisso) | 20130212 | |
| 14 | Static method | Public | Method | Set parameter/value into PARMTAB | 20110825 | |
| 15 | Instance method | Public | Method | Set TaxCode | 20110825 | |
| 16 | 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 | 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 | E_DATE | Value transfer | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20110825 | |||
| 2 | I_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20110825 | |||
| 3 | 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 | E_ADRC | Value transfer | Type reference (TYPE) | ADRC | Addresses (Business Address Services) | 20110825 | |||
| 2 | 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 | E_EXTRACT | Value transfer | Type reference (TYPE) | FKK_GPSHAD | Data Extract: Business Partner Data (Faster Access) | 20110825 | |||
| 2 | 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 | E_T001 | Value transfer | Type reference (TYPE) | T001 | Company Codes | 20110825 | |||
| 2 | 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 | E_EMAIL | Value transfer | Type reference (TYPE) | AD_SMTPADR | E-Mail Address | 20110825 | |||
| 2 | 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 | ET_X000 | Call by reference | Type reference (TYPE) | TY_T_ACCNT_X000 | 20130212 | ||||
| 2 | IV_APPLK | Call by reference | Type reference (TYPE) | APPLK_KK | Application area | 20130212 | |||
| 3 | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20130212 | |||
| 4 | IV_HVORG | Call by reference | Type reference (TYPE) | HVORG_KK | Main Transaction for Line Item | 20130212 | |||
| 5 | 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 | E_VALUE | Call by reference | Type reference (TYPE) | ANY | 20110825 | ||||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | ABAP_PARMNAME | 20110825 | ||||
| 3 | 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 | E_RELEASE | Value transfer | Type reference (TYPE) | SAPRELEASE | SAP Release | 20110825 | |||
| 2 | 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 | E_TAX_DATA | Value transfer | Type reference (TYPE) | SAFT_PT_TAX_DATA | Tax Details for SAFT-PT | 20110825 | |||
| 2 | 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 | E_URL | Value transfer | Type reference (TYPE) | AD_URI | Universal Resource Identifier (URI) | 20110825 | |||
| 2 | I_ADRNR | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20110825 | |||
| 3 | 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 | 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 | 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 | I_NAME | Call by reference | Type reference (TYPE) | ABAP_PARMNAME | 20110825 | ||||
| 2 | I_VALUE | Call by reference | Type reference (TYPE) | ANY | 20110825 | ||||
| 3 | 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 | E_TAXCODE | Value transfer | Type reference (TYPE) | CHAR3 | 3-Byte field | 20110825 | |||
| 2 | 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 | EV_ADDRESSDETAIL | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130527 | ||||
| 2 | EV_BLDNO | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130527 | ||||
| 3 | EV_CITY | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130527 | ||||
| 4 | EV_COUNTRY | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130527 | ||||
| 5 | EV_POSTCODE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130527 | ||||
| 6 | EV_REGION | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130527 | ||||
| 7 | EV_STRNAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130527 | ||||
| 8 | IS_BP_EXTRACT | Call by reference | Type reference (TYPE) | CL_FICA_SAFT_UTILITY=>TY_S_EXTRACT | 20130527 | ||||
| 9 | 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 |