SAP ABAP Class CL_IDGT_OUTBOUND_CANC (Create Outbound Cancellation Files for Golden Tax System)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   FI-LOC (Application Component) Localization
     ID-SD-CN-GT-01 (Package) Golden Tax Interface Enhancements
Properties
Class CL_IDGT_OUTBOUND_CANC  
Short Description Create Outbound Cancellation Files for Golden Tax System    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class IDGT_LC    
Program status P  SAP Standard Production Program 
Category 0   
Package ID-SD-CN-GT-01   Golden Tax Interface Enhancements 
Created 20120506   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_IDGT_UTILITY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_IDGT_OUTBOUND_CANC has no interface implemented.
Friends
Class CL_IDGT_OUTBOUND_CANC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_CANCELLED_T Constant Private Type reference (TYPE) CHAR28 'Issue Cancelled VAT Invoices' 20120607
2 CV_DOC Constant Private Type reference (TYPE) CHAR3 'Doc' 20120607
3 CV_FILEHEAD Constant Private Type reference (TYPE) CHAR9 'SJJK0102' 20120607
4 CV_FILETYPE Constant Private Type reference (TYPE) CHAR4 '.txt' 20120607
5 CV_IND_CLOG Constant Private Type reference (TYPE) CHAR1 'C' 20120607
6 CV_RESULT_FAILED Constant Private Type reference (TYPE) FPM_EVENT_RESULT 'FAILED' 20120607
7 CV_RESULT_OK Constant Private Type reference (TYPE) FPM_EVENT_RESULT 'OK' 20120607
8 MO_LOG_HANDLER Instance attribute Private Object reference (TYPE REF TO) IF_IDGT_APPLOG Application log interface for GTI 20120709
9 MT_CANC Instance attribute Private Type reference (TYPE) IDGT_T_CANC All Cancelled Billing Table 20120506
10 MT_CANC_SENT Instance attribute Private Type reference (TYPE) IDGT_T_CANC Cancelled Billing Could Be Sent 20120506
11 MT_ROW_SELECTED Instance attribute Private Type reference (TYPE) IDGT_T_CANC GTI Cancellation Table 20120506
12 MV_FILE_VAT_CONTENT Instance attribute Private Type reference (TYPE) STRING 20120506
13 MV_OUTBOUND_FILE Instance attribute Private Type reference (TYPE) STRING 20120506
14 SO_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_IDGT_OUTBOUND_CANC Single instance of this class 20120506
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AUTHORITY_CANCEL Instance method Private Method Perform authorization checking on cancelled billing item 20120506
2 CHECK_CANCEL Instance method Public Method Check all the complusory fields are filled 20120506
3 CONSTRUCTOR Instance method Private Constructor 20120607
4 GENERATE_CANCELLED_FILE Instance method Private Method Generate for cancelled billing docs file 20120506
5 GET_DATA Instance method Public Method Return the information of all entries 20120506
6 GET_INSTANCE Static method Public Method Get the object of this class 20120506
7 GET_LOG_HANDLE Instance method Public Method Get Log Class Handle 20120709
8 INITIALIZE_DATA Instance method Public Method Initialize data 20120506
9 INIT_LOG_HANDLE Instance method Private Method Initial Log 20120709
10 SAVE_TO_NEW_DB Instance method Private Method Save to new database 20120820
11 SAVE_TO_NEW_DB_FOR_MULTIDATA Instance method Private Method Save to new database for multidata 20130507
12 SEND_TO_GT Instance method Public Method Prepare the outbound data and download it 20120824
13 UPDATE_IDGT_INFO Instance method Private Method Update table IDGT_INFO when download file is successful 20120506
Events
Class CL_IDGT_OUTBOUND_CANC has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_SPLIT_CHECK Private See coding 20120823 BEGIN OF ty_split_check, vbeln TYPE vbeln, refvbeln TYPE gtrefvbeln, END OF ty_split_check
Method Signatures

Method CHECK_AUTHORITY_CANCEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_LOG_HANDLER Call by reference Object reference (TYPE REF TO) IF_IDGT_APPLOG Application log interface for GTI 20120710
2 Exporting ET_CANCELLED_BILLING Call by reference Type reference (TYPE) IDGT_T_CANC GTI Cancellation Table 20120506
3 Importing IT_CANC Call by reference Type reference (TYPE) IDGT_T_CANC GTI Cancellation Table 20120506
# Exception Resumable Description Created on
1 CX_IDGT_EXCEPTION Exception Class 20120710

Method CHECK_CANCEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_LOG_HANDLER Call by reference Object reference (TYPE REF TO) IF_IDGT_APPLOG Application log interface for GTI 20120710
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D Return flag 20120515
3 Importing IT_CANC Call by reference Type reference (TYPE) IDGT_T_CANC All Cancelled Billing Table 20120506
4 Importing IV_LOGREF Call by reference Type reference (TYPE) C 'X' 20120515
# Exception Resumable Description Created on
1 CX_IDGT_EXCEPTION Exception Class 20120712

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_LOG_HANDLER Call by reference Object reference (TYPE REF TO) IF_IDGT_APPLOG 20120607
# Exception Resumable Description Created on
1 CX_IDGT_EXCEPTION 20120607

Method GENERATE_CANCELLED_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CANCELLED_BILLING Call by reference Type reference (TYPE) IDGT_T_CANC GTI Cancellation Table 20120506

Method GENERATE_CANCELLED_FILE on class CL_IDGT_OUTBOUND_CANC has no exception.

Method GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CANC Call by reference Type reference (TYPE) IDGT_T_CANC GTI Cancellation Table 20120506

Method GET_DATA on class CL_IDGT_OUTBOUND_CANC has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_LOG_HANDLER Call by reference Object reference (TYPE REF TO) IF_IDGT_APPLOG 20120607
2 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_IDGT_OUTBOUND_CANC GTI China: Send Data to GTS - Cancellation Format 20120506

Method GET_INSTANCE on class CL_IDGT_OUTBOUND_CANC has no exception.

Method GET_LOG_HANDLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_LOG Value transfer Object reference (TYPE REF TO) IF_IDGT_APPLOG Application log interface for GTI 20120709

Method GET_LOG_HANDLE on class CL_IDGT_OUTBOUND_CANC has no exception.

Method INITIALIZE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CANC Call by reference Type reference (TYPE) IDGT_T_CANC GTI Cancellation Table 20120506
2 Importing IT_CANC_SENT Call by reference Type reference (TYPE) IDGT_T_CANC GTI Cancellation Table 20120506

Method INITIALIZE_DATA on class CL_IDGT_OUTBOUND_CANC has no exception.

Method INIT_LOG_HANDLE Signature

Method INIT_LOG_HANDLE on class CL_IDGT_OUTBOUND_CANC has no parameter.
Method INIT_LOG_HANDLE on class CL_IDGT_OUTBOUND_CANC has no exception.

Method SAVE_TO_NEW_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CANC Call by reference Type reference (TYPE) IDGT_T_CANC Cancellation Format 20120822
2 Importing LO_LOG Call by reference Object reference (TYPE REF TO) IF_IDGT_APPLOG Application Log Interface for GTI 20120820

Method SAVE_TO_NEW_DB on class CL_IDGT_OUTBOUND_CANC has no exception.

Method SAVE_TO_NEW_DB_FOR_MULTIDATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CANC Call by reference Type reference (TYPE) IDGT_T_CANC Cancellation Format 20130507
2 Importing IV_INV_CTRL Call by reference Type reference (TYPE) IDGT_CONF_LC GTI China: Tax Invoice table 20130507
3 Importing LO_LOG Call by reference Object reference (TYPE REF TO) IF_IDGT_APPLOG Application Log Interface for GTI 20130507

Method SAVE_TO_NEW_DB_FOR_MULTIDATA on class CL_IDGT_OUTBOUND_CANC has no exception.

Method SEND_TO_GT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_LOG_HANDLER Call by reference Object reference (TYPE REF TO) IF_IDGT_APPLOG Application log interface for GTI 20120824
2 Exporting ES_FILE Call by reference Type reference (TYPE) CL_IDGT_UTILITY=>TY_S_FILE File Info 20120824
3 Exporting EV_RESULT Call by reference Type reference (TYPE) FPM_EVENT_RESULT FPM Event Result 20120824
4 Importing IT_ROW_SELECTED Call by reference Type reference (TYPE) IDGT_T_CANC GTI Cancellation Table 20120824
# Exception Resumable Description Created on
1 CX_IDGT_EXCEPTION Exception Class 20120824

Method UPDATE_IDGT_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_LOG_HANDLER Call by reference Object reference (TYPE REF TO) IF_IDGT_APPLOG Application log interface for GTI 20120710
# Exception Resumable Description Created on
1 CX_IDGT_EXCEPTION Exception Class 20120710
History
Last changed by/on SAP  20130531 
SAP Release Created in 607