CRM_OLD_PRESELECT 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 CRM_OLD_PRESELECT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
DA_ARCDEL_UTILITIES
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CRM_OLD_PRESELECT' "
EXPORTING
preselect_func_old = " header_fb-name Function Module Name
bor_objtype = " tojtb-name Object Type
maxobjects = " i
numdays = " i
prot_guid = " guid_32 GUID in 'CHAR' Format in Uppercase
start_date = " d
start_time = " t
process_mode = " char1 Single-Character Flag
test_mode = " char1 Single-Character Flag
icount = " i
IMPORTING
arc_terminate = "
CHANGING
objects = " arcdel_object_tab Central Table for Application Checks
check_func = " arcdel_func_tab Table Type for Archiving/Delete Functions
input_values = " rsparams_tt rsparams Table
input_text = " arcdel_seltext_tab Text For Input Paramter (Data Archiving)
. " CRM_OLD_PRESELECT
The ABAP code below is a full code listing to execute function module CRM_OLD_PRESELECT 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_arc_terminate | TYPE STRING . |
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_objects | TYPE ARCDEL_OBJECT_TAB , |
| ld_arc_terminate | TYPE STRING , |
| ld_preselect_func_old | TYPE HEADER_FB-NAME , |
| ld_check_func | TYPE ARCDEL_FUNC_TAB , |
| ld_bor_objtype | TYPE TOJTB-NAME , |
| ld_input_values | TYPE RSPARAMS_TT , |
| ld_maxobjects | TYPE I , |
| ld_input_text | TYPE ARCDEL_SELTEXT_TAB , |
| ld_numdays | TYPE I , |
| ld_prot_guid | TYPE GUID_32 , |
| ld_start_date | TYPE D , |
| ld_start_time | TYPE T , |
| ld_process_mode | TYPE CHAR1 , |
| ld_test_mode | TYPE CHAR1 , |
| ld_icount | TYPE I . |
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 CRM_OLD_PRESELECT or its description.