TXW_AL_EXPORT_PROCESS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name TXW_AL_EXPORT_PROCESS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
TXW1
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'TXW_AL_EXPORT_PROCESS' "Import process for any archive link object
EXPORTING
i_mode = 'J' " char1 schedule batch 'J'ob - execute 'D'irectly
i_obj_type = 'E' " char1 'E'xtract file - 'V'iew file
* i_rerun = SPACE " txw_repeat_export Repeat archiv export/import
* i_failed_only = SPACE " txw_repeat_export export/import failed files only
it_obj_uuid = " txw_t_uuid UUID identifier table of the files
i_voldir = " txw_volset Data file directory set - need to be unique for all files
EXCEPTIONS
WRONG_CALL = 1 " call with wrong parameters
CANCELED_BY_USER = 2 " process was canceled by the user
. " TXW_AL_EXPORT_PROCESS
The ABAP code below is a full code listing to execute function module TXW_AL_EXPORT_PROCESS including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
DATA(ld_i_mode) = 'Check type of data required'.
DATA(ld_i_obj_type) = 'Check type of data required'.
DATA(ld_i_rerun) = 'Check type of data required'.
DATA(ld_i_failed_only) = 'Check type of data required'.
DATA(ld_it_obj_uuid) = 'Check type of data required'.
DATA(ld_i_voldir) = 'Check type of data required'. . CALL FUNCTION 'TXW_AL_EXPORT_PROCESS' EXPORTING i_mode = ld_i_mode i_obj_type = ld_i_obj_type * i_rerun = ld_i_rerun * i_failed_only = ld_i_failed_only it_obj_uuid = ld_it_obj_uuid i_voldir = ld_i_voldir EXCEPTIONS WRONG_CALL = 1 CANCELED_BY_USER = 2 . " TXW_AL_EXPORT_PROCESS
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_i_mode | TYPE CHAR1 , |
| ld_i_obj_type | TYPE CHAR1 , |
| ld_i_rerun | TYPE TXW_REPEAT_EXPORT , |
| ld_i_failed_only | TYPE TXW_REPEAT_EXPORT , |
| ld_it_obj_uuid | TYPE TXW_T_UUID , |
| ld_i_voldir | TYPE TXW_VOLSET . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name TXW_AL_EXPORT_PROCESS or its description.
TXW_AL_EXPORT_PROCESS - Import process for any archive link object TXW_AL_EXPORT_LOG - Call-back function module for asychronous ArchiveLink error log TXW_ALV_VARIANT_DELETE - Delete ALV Variant on deleting view TXW_ADD_MASTER_DATA - Add master data to internal reference tables TXW_ADDR_CONVERT - Address conversion for customer & vendor (Obsolete) TXS_SET_APPL_PACK - Set Application Pack for Reference