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 | 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 | Constant | Private | Type reference (TYPE) | CHAR28 | 'Issue Cancelled VAT Invoices' | 20120607 | |||
| 2 | Constant | Private | Type reference (TYPE) | CHAR3 | 'Doc' | 20120607 | |||
| 3 | Constant | Private | Type reference (TYPE) | CHAR9 | 'SJJK0102' | 20120607 | |||
| 4 | Constant | Private | Type reference (TYPE) | CHAR4 | '.txt' | 20120607 | |||
| 5 | Constant | Private | Type reference (TYPE) | CHAR1 | 'C' | 20120607 | |||
| 6 | Constant | Private | Type reference (TYPE) | FPM_EVENT_RESULT | 'FAILED' | 20120607 | |||
| 7 | Constant | Private | Type reference (TYPE) | FPM_EVENT_RESULT | 'OK' | 20120607 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IDGT_APPLOG | Application log interface for GTI | 20120709 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | IDGT_T_CANC | All Cancelled Billing Table | 20120506 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | IDGT_T_CANC | Cancelled Billing Could Be Sent | 20120506 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | IDGT_T_CANC | GTI Cancellation Table | 20120506 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | STRING | 20120506 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | STRING | 20120506 | ||||
| 14 | 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 | Instance method | Private | Method | Perform authorization checking on cancelled billing item | 20120506 | |
| 2 | Instance method | Public | Method | Check all the complusory fields are filled | 20120506 | |
| 3 | Instance method | Private | Constructor | 20120607 | ||
| 4 | Instance method | Private | Method | Generate for cancelled billing docs file | 20120506 | |
| 5 | Instance method | Public | Method | Return the information of all entries | 20120506 | |
| 6 | Static method | Public | Method | Get the object of this class | 20120506 | |
| 7 | Instance method | Public | Method | Get Log Class Handle | 20120709 | |
| 8 | Instance method | Public | Method | Initialize data | 20120506 | |
| 9 | Instance method | Private | Method | Initial Log | 20120709 | |
| 10 | Instance method | Private | Method | Save to new database | 20120820 | |
| 11 | Instance method | Private | Method | Save to new database for multidata | 20130507 | |
| 12 | Instance method | Public | Method | Prepare the outbound data and download it | 20120824 | |
| 13 | 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 | EO_LOG_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_IDGT_APPLOG | Application log interface for GTI | 20120710 | |||
| 2 | ET_CANCELLED_BILLING | Call by reference | Type reference (TYPE) | IDGT_T_CANC | GTI Cancellation Table | 20120506 | |||
| 3 | IT_CANC | Call by reference | Type reference (TYPE) | IDGT_T_CANC | GTI Cancellation Table | 20120506 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class | 20120710 |
Method CHECK_CANCEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_LOG_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_IDGT_APPLOG | Application log interface for GTI | 20120710 | |||
| 2 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLE_D | Return flag | 20120515 | |||
| 3 | IT_CANC | Call by reference | Type reference (TYPE) | IDGT_T_CANC | All Cancelled Billing Table | 20120506 | |||
| 4 | IV_LOGREF | Call by reference | Type reference (TYPE) | C | 'X' | 20120515 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class | 20120712 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_LOG_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_IDGT_APPLOG | 20120607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120607 |
Method GENERATE_CANCELLED_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | IO_LOG_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_IDGT_APPLOG | 20120607 | ||||
| 2 | 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 | 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 | IT_CANC | Call by reference | Type reference (TYPE) | IDGT_T_CANC | GTI Cancellation Table | 20120506 | |||
| 2 | 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 | CT_CANC | Call by reference | Type reference (TYPE) | IDGT_T_CANC | Cancellation Format | 20120822 | |||
| 2 | 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 | CT_CANC | Call by reference | Type reference (TYPE) | IDGT_T_CANC | Cancellation Format | 20130507 | |||
| 2 | IV_INV_CTRL | Call by reference | Type reference (TYPE) | IDGT_CONF_LC | GTI China: Tax Invoice table | 20130507 | |||
| 3 | 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 | EO_LOG_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_IDGT_APPLOG | Application log interface for GTI | 20120824 | |||
| 2 | ES_FILE | Call by reference | Type reference (TYPE) | CL_IDGT_UTILITY=>TY_S_FILE | File Info | 20120824 | |||
| 3 | EV_RESULT | Call by reference | Type reference (TYPE) | FPM_EVENT_RESULT | FPM Event Result | 20120824 | |||
| 4 | IT_ROW_SELECTED | Call by reference | Type reference (TYPE) | IDGT_T_CANC | GTI Cancellation Table | 20120824 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class | 20120824 |
Method UPDATE_IDGT_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | Exception Class | 20120710 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 607 |