The Function Module TXW_EXTRACT_WRITE_INIT (Initialize new extract (write operation)) is a standard Function Module in SAP ERP and is part of the function group TXW2 within the package FTW1.
Function Module | TXW_EXTRACT_WRITE_INIT |
Short Text | Initialize new extract (write operation) |
Function Group | TXW2 |
Package | FTW1 |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DESCRIPTION | LIKE | TXW_DIR2-TXTLG | Extract description | |
FILE_NAME | LIKE | TXW_DIR2-L_FILE | Logical file name | |
FISCAL_YEAR | LIKE | TXW_DIR2-FISC_YEAR | Fiscal year | |
FLAG_CHECKSUM | LIKE | TXW_GLOBAL-X_CHECKSUM | 'X' | Flag: calculate checksums (byte-level) |
FLAG_COMPRESS | LIKE | TXW_GLOBAL-X_COMPRESS | 'X' | Flag: compress data records |
FLAG_USER_EXIT_1 | LIKE | TXW_VDF-X_EXIT1 | 'X' | Flag: perform user exit for added fields |
FLAG_USER_EXIT_2 | LIKE | TXW_TPARMS-P_CP_EX | 'X' | Flag: perform user exit for data sources |
PRINT_LOG | LIKE | SPACE | Flag: print log | |
PROG_NAME | LIKE | SY-REPID | Name of calling program | |
TEST_ONLY | LIKE | SPACE | Only perform tests | |
VOLDIR_SET | LIKE | TXW_C_VOL-VOL_SET | Volume directory set |
This function module does not define any EXPORTING parameters.
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
SEL_COMPANY_CODE | LIKE | TXW_SBUKRS | Selection criteria for company code | |
SEL_CUST | LIKE | TXW_SEXPST | Customer segments to include (fine tune) | |
SEL_PERIOD | LIKE | TXW_SPERIO | Selection criteria for period | |
T_TXW_NOTE | LIKE | TXW_NOTE | Note with plain text | |
T_TXW_SELPAR | LIKE | TXW_SELPAR | Selection parameters (when merging) |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
FILENAME_INVALID | Invalid filename |
FILE_LOCKED | File is locked |
FILE_OPEN_FAILED | File could not be opened |
GET_FILENAME_FAILED | Could not determine physical filename |
LOCK_SYSTEM_FAILURE | Lock failed for system reasons |
NO_AUTHORITY | No authority to create tax files |
VOLDIR_SET_INVALID | Directory set is invalid (not defined) |