SAP ABAP Class CL_FICA_SAFT_EXTRACT_SRCDOC_PT (Portugal: SAF-T extract Source Documents)
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
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FICA_SAFT_EXTRACT_SRCDOC_XX FICA SAF-T extract Source Documents 20130211
Properties
Class CL_FICA_SAFT_EXTRACT_SRCDOC_PT  
Short Description Portugal: SAF-T extract Source Documents    
Super Class CL_FICA_SAFT_EXTRACT_SRCDOC_XX FICA SAF-T extract Source Documents 
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 20130110   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_FICA_SAFT_UTILITY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no interface implemented.
Friends
Class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_T001 Instance attribute Protected Type reference (TYPE) T001 Company Codes 20130318
2 MT_AMT Instance attribute Protected See coding 20130318
3 MT_BP_EXTRACT Instance attribute Protected Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_T_EXTRACT 20130318
4 MT_CI Instance attribute Protected Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_T_CI 20130318
5 MT_DFKKPTSAFTSAL Instance attribute Protected See coding 20130211
6 MT_DFKKSAFTINV_H Instance attribute Protected Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_T_DFKKSAFTINV_H SAF-T Source Document: Header 20130211
7 MT_DFKKSAFTINV_I Instance attribute Protected Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_T_DFKKSAFTINV_I SAF-T Source Document: Item 20130211
8 MT_ETRFT Instance attribute Protected Type reference (TYPE) TY_T_ETRFT 20130318
9 MT_INV_DOC Instance attribute Protected Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_T_INV_DOC 20130211
10 MT_ISU Instance attribute Protected Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_T_ISU 20130318
11 MT_REASON_TEXT Instance attribute Private See coding 20130701
12 MT_SAFT_PT_TAX_DATA Instance attribute Protected Type reference (TYPE) TY_T_SAFT_PT_TAX_DATA 20130318
13 MT_TCURC Instance attribute Private See coding 20130701
14 MT_TE835T Instance attribute Protected Type reference (TYPE) TY_T_TE835T 20130318
15 MT_TFK2608T Instance attribute Protected Type reference (TYPE) TY_T_TFK2608T 20130318
16 MV_PAVAL Instance attribute Protected Type reference (TYPE) T001Z-PAVAL Parameter value 20130701
17 MV_SELECT_COLUMN_ITEM Instance attribute Protected Type reference (TYPE) STRING 20130318
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_ITEM_TO_MT_AMT Instance method Protected Method append to table mt_amt 20130318
2 BUILD_DFKKPTSAFTSAL_TAB Instance method Protected Method build balances table 20130318
3 DERIVE_MULTI_DFKKSAFTINV_I Instance method Protected Method derive and append item/items 20130318
4 DERIVE_SINGLE_DFKKSAFTINV_H Instance method Protected Method derive and append single header 20130318
5 GET_REVERSAL_REASON_TEXT Instance method Protected Method Get reason text 20130701
6 SELECT_BUSINESS_PARTNER Instance method Protected Method select business partner data 20130318
7 SELECT_NON_FICA_APP_SRCDOC Instance method Protected Method select none-FICA application source document 20130318
8 SELECT_REQUIRED_DATA Instance method Protected Method select required data 20130318
9 SET_AMOUNT_CI Instance method Protected Method Set Net/Tax/Gross amount for CI 20130701
10 SET_AMOUNT_FICA Instance method Protected Method Set Net/Tax/Gross amount for FI-CA 20130701
11 SET_AMOUNT_ISU Instance method Protected Method Set Net/Tax/Gross amount for IS-U 20130701
12 SET_DFKKSAFTINV_I_CI Instance method Protected Method Set DFKKSAFTINV_I table for CI 20130701
13 SET_DFKKSAFTINV_I_FICA Instance method Protected Method Set DFKKSAFTINV_I table for FI-CA 20130701
14 SET_DFKKSAFTINV_I_ISU Instance method Protected Method Set DFKKSAFTINV_I table for IS-U 20130701
15 SET_DOCUMENT_STATUS Instance method Protected Method Set document status 20130701
16 SET_ITEM_CREDIT_DEBIT_AMT Instance method Protected Method set item credit / debit amount 20130318
17 SET_ITEM_TAX_FIELDS Instance method Protected Method set item tax fields 20130318
18 SET_SOURCE Instance method Protected Method Set Source 20130211
19 SET_SOURCEDOCNUM_CI Instance method Protected Method Set source document for CI 20130701
20 SET_SOURCEDOCNUM_FICA Instance method Protected Method Set source document for FI-CA 20130701
21 SET_SOURCEDOCNUM_ISU Instance method Protected Method Set source document for IS-U 20130701
Events
Class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_S_AMT Protected See coding 20130318 BEGIN OF TY_S_AMT, bukrs TYPE dfkksaftinv_h-bukrs, gjahr TYPE dfkksaftinv_h-gjahr, monat TYPE dfkksaftinv_h-monat, sourcedocnum TYPE dfkksaftinv_h-sourcedocnum, inv_status TYPE dfkksaftinv_h-inv_status, credit_amt TYPE dfkksaftinv_i-credit_amt, debit_amt TYPE dfkksaftinv_i-debit_amt, period TYPE dfkkptsaftsal-period, END OF TY_S_AMT
2 TY_S_ETRFT Protected See coding 20130318 BEGIN OF TY_S_ETRFT, MANDT TYPE MANDT, SPRAS TYPE SPRAS, TARIFNR TYPE char10, TARIFBEZ TYPE CHAR50, END OF TY_S_ETRFT
3 TY_S_REASON_TEXT Private See coding 20130701 BEGIN OF ty_s_reason_text, source TYPE dfkksaftinv_h-source, reason TYPE char2, text TYPE string, END OF ty_s_reason_text
4 TY_S_TE835T Protected See coding 20130318 BEGIN OF TY_S_TE835T, MANDT TYPE MANDT, SPRAS TYPE SPRAS, BELZART TYPE char6, TEXT30 TYPE TEXT30, END OF TY_S_TE835T
5 TY_T_ETRFT Protected See coding 20130318 TY_T_ETRFT TYPE STANDARD TABLE OF TY_S_ETRFT
6 TY_T_SAFT_PT_TAX_DATA Protected See coding 20130318 TY_T_SAFT_PT_TAX_DATA TYPE STANDARD TABLE OF saft_pt_tax_data
7 TY_T_TE835T Protected See coding 20130318 TY_T_TE835T TYPE STANDARD TABLE OF TY_S_TE835T
8 TY_T_TFK2608T Protected See coding 20130318 TY_T_TFK2608T TYPE STANDARD TABLE OF tfk2608t
Method Signatures

Method APPEND_ITEM_TO_MT_AMT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_AMT Call by reference Type reference (TYPE) TY_S_AMT 20130318
2 Importing IS_DFKKSAFTINV_I Call by reference Type reference (TYPE) DFKKSAFTINV_I SAF-T Source Document: Item 20130318

Method APPEND_ITEM_TO_MT_AMT on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method BUILD_DFKKPTSAFTSAL_TAB Signature

Method BUILD_DFKKPTSAFTSAL_TAB on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no parameter.
Method BUILD_DFKKPTSAFTSAL_TAB on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method DERIVE_MULTI_DFKKSAFTINV_I Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_AMT Call by reference Type reference (TYPE) TY_S_AMT 20130318
2 Importing IS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130318
3 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130318
4 Importing IX_REVERSAL Call by reference Type reference (TYPE) FLAG General Flag 20130318
# Exception Resumable Description Created on
1 CX_ABAP_NOT_IN_WHITELIST Value is not in the whitelist 20130318

Method DERIVE_SINGLE_DFKKSAFTINV_H Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_CON_HEADER Call by reference Type reference (TYPE) I 20130318
2 Exporting ES_AMT Call by reference Type reference (TYPE) TY_S_AMT 20130318
3 Exporting ES_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130318
4 Exporting EX_REVERSAL Call by reference Type reference (TYPE) FLAG General Flag 20130318
5 Exporting EX_SKIP Call by reference Type reference (TYPE) FLAG General Flag 20130318
6 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130318
# Exception Resumable Description Created on
1 CX_ABAP_NOT_IN_WHITELIST Value is not in the whitelist 20130318

Method GET_REVERSAL_REASON_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REV_REASON Call by reference Type reference (TYPE) CHAR2 Version Number Component 20130701
2 Importing IV_SOURCE Call by reference Type reference (TYPE) DFKKSAFTINV_H-SOURCE Document source 20130701
3 Returning RV_INV_STAT_REAS Value transfer Type reference (TYPE) SAFTPT_REASON Portugal: SAF-T Reason 20130701

Method GET_REVERSAL_REASON_TEXT on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SELECT_BUSINESS_PARTNER Signature

Method SELECT_BUSINESS_PARTNER on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no parameter.
Method SELECT_BUSINESS_PARTNER on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SELECT_NON_FICA_APP_SRCDOC Signature

Method SELECT_NON_FICA_APP_SRCDOC on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no parameter.
Method SELECT_NON_FICA_APP_SRCDOC on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SELECT_REQUIRED_DATA Signature

Method SELECT_REQUIRED_DATA on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no parameter.
Method SELECT_REQUIRED_DATA on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_AMOUNT_CI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
2 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701

Method SET_AMOUNT_CI on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_AMOUNT_FICA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
2 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701

Method SET_AMOUNT_FICA on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_AMOUNT_ISU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
2 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701

Method SET_AMOUNT_ISU on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_DFKKSAFTINV_I_CI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_I Call by reference Type reference (TYPE) DFKKSAFTINV_I SAF-T Source Document: Item 20130701
2 Importing IS_AMT Call by reference Type reference (TYPE) TY_S_AMT 20130701
3 Importing IS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
4 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701
5 Importing IX_REVERSAL Call by reference Type reference (TYPE) FLAG General Flag 20130701

Method SET_DFKKSAFTINV_I_CI on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_DFKKSAFTINV_I_FICA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_I Call by reference Type reference (TYPE) DFKKSAFTINV_I SAF-T Source Document: Item 20130701
2 Importing IS_AMT Call by reference Type reference (TYPE) TY_S_AMT 20130701
3 Importing IS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
4 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701
5 Importing IX_REVERSAL Call by reference Type reference (TYPE) FLAG General Flag 20130701

Method SET_DFKKSAFTINV_I_FICA on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_DFKKSAFTINV_I_ISU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_I Call by reference Type reference (TYPE) DFKKSAFTINV_I SAF-T Source Document: Item 20130701
2 Importing IS_AMT Call by reference Type reference (TYPE) TY_S_AMT 20130701
3 Importing IS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
4 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701
5 Importing IX_REVERSAL Call by reference Type reference (TYPE) FLAG General Flag 20130701

Method SET_DFKKSAFTINV_I_ISU on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_DOCUMENT_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
2 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701

Method SET_DOCUMENT_STATUS on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_ITEM_CREDIT_DEBIT_AMT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CREDIT_AMT Call by reference Type reference (TYPE) DFKKSAFTINV_I-CREDIT_AMT Value field 13(25) characters with 2 decimal places 20130318
2 Exporting EV_DEBIT_AMT Call by reference Type reference (TYPE) DFKKSAFTINV_I-DEBIT_AMT Value field 13(25) characters with 2 decimal places 20130318
3 Importing IV_AMOUNT Call by reference Type reference (TYPE) NUMERIC 20130318
4 Importing IV_TAX_AMOUNT Call by reference Type reference (TYPE) NUMERIC 20130318
5 Importing IX_REVERSAL Call by reference Type reference (TYPE) FLAG General Flag 20130318

Method SET_ITEM_CREDIT_DEBIT_AMT on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_ITEM_TAX_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_I Call by reference Type reference (TYPE) DFKKSAFTINV_I SAF-T Source Document: Item 20130318
2 Importing IV_MWSKZ Call by reference Type reference (TYPE) C 20130318

Method SET_ITEM_TAX_FIELDS on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130211
2 Returning RV_SOURCE Value transfer Type reference (TYPE) DFKKSAFTINV_H-SOURCE Document source 20130211

Method SET_SOURCE on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_SOURCEDOCNUM_CI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
2 Exporting EX_SKIP Call by reference Type reference (TYPE) FLAG General Flag 20130701
3 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701

Method SET_SOURCEDOCNUM_CI on class CL_FICA_SAFT_EXTRACT_SRCDOC_PT has no exception.

Method SET_SOURCEDOCNUM_FICA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
2 Changing CV_CON_HEADER Call by reference Type reference (TYPE) I Counter FI-CA Header 20130701
3 Exporting EX_FICA_HEADER_ADDED Call by reference Type reference (TYPE) FLAG General Flag 20130701
4 Exporting EX_SKIP Call by reference Type reference (TYPE) FLAG General Flag 20130701
5 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701
# Exception Resumable Description Created on
1 CX_ABAP_NOT_IN_WHITELIST Value is not in the whitelist 20130701

Method SET_SOURCEDOCNUM_ISU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DFKKSAFTINV_H Call by reference Type reference (TYPE) DFKKSAFTINV_H SAF-T Source Document: Header 20130701
2 Exporting EX_SKIP Call by reference Type reference (TYPE) FLAG General Flag 20130701
3 Importing IS_INV_DOC Call by reference Type reference (TYPE) CL_FICA_SAFT_UTILITY=>TY_S_INV_DOC 20130701

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