SAP Function TXW_EXTRACT_WRITE_INIT - Initialize new extract (write operation)

Parameter Reference Type Length Default Optional Text
DESCRIPTION TXW_DIR2-TXTLG C 60 Extract description
FILE_NAME TXW_DIR2-L_FILE C 30 Logical file name
FISCAL_YEAR TXW_DIR2-FISC_YEAR N 4 Fiscal year
FLAG_CHECKSUM TXW_GLOBAL-X_CHECKSUM C 1 'X' X Flag: calculate checksums (byte-level)
FLAG_COMPRESS TXW_GLOBAL-X_COMPRESS C 1 'X' X Flag: compress data records
FLAG_USER_EXIT_1 TXW_VDF-X_EXIT1 C 1 'X' X Flag: perform user exit for added fields
FLAG_USER_EXIT_2 TXW_TPARMS-P_CP_EX C 1 'X' X Flag: perform user exit for data sources
PRINT_LOG 0 SPACE X Flag: print log
PROG_NAME SYST-REPID C 40 Name of calling program
TEST_ONLY 0 SPACE X Only perform tests
VOLDIR_SET TXW_C_VOL-VOL_SET C 10 Volume directory set

Parameter Reference Length Optional Text
SEL_COMPANY_CODE TXW_SBUKRS 11 X Selection criteria for company code
SEL_CUST TXW_SEXPST 63 X Customer segments to include (fine tune)
SEL_PERIOD TXW_SPERIO 7 X Selection criteria for period
T_TXW_NOTE TXW_NOTE 72 X Note with plain text
T_TXW_SELPAR TXW_SELPAR 69 X Selection parameters (when merging)

Exception 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)