HR_TIME_DELIM_BY_TIME_SET 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 HR_TIME_DELIM_BY_TIME_SET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRTIM00COLLISION
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_TIME_DELIM_BY_TIME_SET' "
EXPORTING
old_infty = " prelp
new_time_set = " time_set
* nts_begda = SPACE06 " datum
* nts_endda = SPACE06 " datum
pws_infties = " hrtim00ws_pws_infties
sono = " intyp
* simple_mode = 'X' " c
* get_propose_infties = 'X' " c
IMPORTING
propose_infties = " prelp_tab
original = " hrtim00col_original_entry
delim_forbidden = " c
intersect = " c
subrc = " sy-subrc
CHANGING
errors = " hrerror_tab
* pws_info = " hrtim00ws_pws_info_buffer
. " HR_TIME_DELIM_BY_TIME_SET
The ABAP code below is a full code listing to execute function module HR_TIME_DELIM_BY_TIME_SET 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_propose_infties | TYPE PRELP_TAB , |
| ld_original | TYPE HRTIM00COL_ORIGINAL_ENTRY , |
| ld_delim_forbidden | TYPE C , |
| ld_intersect | TYPE C , |
| ld_subrc | TYPE SY-SUBRC . |
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_errors | TYPE HRERROR_TAB , |
| ld_propose_infties | TYPE PRELP_TAB , |
| ld_old_infty | TYPE PRELP , |
| ld_pws_info | TYPE HRTIM00WS_PWS_INFO_BUFFER , |
| ld_original | TYPE HRTIM00COL_ORIGINAL_ENTRY , |
| ld_new_time_set | TYPE TIME_SET , |
| ld_delim_forbidden | TYPE C , |
| ld_nts_begda | TYPE DATUM , |
| ld_intersect | TYPE C , |
| ld_nts_endda | TYPE DATUM , |
| ld_subrc | TYPE SY-SUBRC , |
| ld_pws_infties | TYPE HRTIM00WS_PWS_INFTIES , |
| ld_sono | TYPE INTYP , |
| ld_simple_mode | TYPE C , |
| ld_get_propose_infties | TYPE C . |
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 HR_TIME_DELIM_BY_TIME_SET or its description.