SUBST_SET_COMMANDFILE_NAME 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 SUBST_SET_COMMANDFILE_NAME into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SUG7
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SUBST_SET_COMMANDFILE_NAME' "Set the names of the export commandfiles
* EXPORTING
* iv_sapvers = SPACE " puttb-saprelease SAP R/3 Release
IMPORTING
ev_custa = " e070-trkorr Request/Task
ev_repta = " e070-trkorr Request/Task
ev_genta = " e070-trkorr Request/Task
ev_ddvta = " e070-trkorr Request/Task
ev_addta = " e070-trkorr Request/Task
ev_tstta = " e070-trkorr Request/Task
ev_docta = " e070-trkorr Request/Task
ev_pckta = " e070-trkorr Request/Task
ev_lanta = " e070-trkorr Request/Task
. " SUBST_SET_COMMANDFILE_NAME
The ABAP code below is a full code listing to execute function module SUBST_SET_COMMANDFILE_NAME 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).
| ld_ev_custa | TYPE E070-TRKORR , |
| ld_ev_repta | TYPE E070-TRKORR , |
| ld_ev_genta | TYPE E070-TRKORR , |
| ld_ev_ddvta | TYPE E070-TRKORR , |
| ld_ev_addta | TYPE E070-TRKORR , |
| ld_ev_tstta | TYPE E070-TRKORR , |
| ld_ev_docta | TYPE E070-TRKORR , |
| ld_ev_pckta | TYPE E070-TRKORR , |
| ld_ev_lanta | TYPE E070-TRKORR . |
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_ev_custa | TYPE E070-TRKORR , |
| ld_iv_sapvers | TYPE PUTTB-SAPRELEASE , |
| ld_ev_repta | TYPE E070-TRKORR , |
| ld_ev_genta | TYPE E070-TRKORR , |
| ld_ev_ddvta | TYPE E070-TRKORR , |
| ld_ev_addta | TYPE E070-TRKORR , |
| ld_ev_tstta | TYPE E070-TRKORR , |
| ld_ev_docta | TYPE E070-TRKORR , |
| ld_ev_pckta | TYPE E070-TRKORR , |
| ld_ev_lanta | TYPE E070-TRKORR . |
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 SUBST_SET_COMMANDFILE_NAME or its description.
SUBST_SET_COMMANDFILE_NAME - Set the names of the export commandfiles SUBST_SELECT_FROM_DDPRS - SUBST_SCHEDULE_GENERATOR_46B - RFC-enabled FM for scheduling a background job SUBST_SCHEDULE_GENERATORM - SUBST_SCHEDULE_GENERATOR - SUBST_SCHEDULE_BATCHJOB - RFC-enabled FM for scheduling a background job