ISU_TIMESLICE_SEC_PRORATE 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 ISU_TIMESLICE_SEC_PRORATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ET04
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISU_TIMESLICE_SEC_PRORATE' "
EXPORTING
x_datefrom_offset = " isu_timesl_sec-datefromoffset
x_dateto_offset = " isu_timesl_sec-datetooffset
x_timefrom_offset = " isu_timesl_sec-timefromoffset
x_timeto_offset = " isu_timesl_sec-timetooffset
x_prorate_date = " isu_timesl_sec-prorateday
* x_prorate_time = '000000' " isu_timesl_sec-proratetime
* x_prorate_date_limit = " isu_timesl_sec-prorateday
* x_prorate_date_limit_upper = " isu_timesl_sec-prorateday
* x_prorate_time_limit = '000000' " isu_timesl_sec-proratetime
* x_prorate_time_limit_upper = '235959' " isu_timesl_sec-proratetime
IMPORTING
y_lines = " sy-index
TABLES
t_timesl = "
* CHANGING
* xy_pointer = " sy-index
EXCEPTIONS
NOT_NECESSARY = 1 "
TABLE_EMPTY = 2 "
NOT_VALID = 3 "
BELOW_LIMIT = 4 "
IN_GAP = 5 "
. " ISU_TIMESLICE_SEC_PRORATE
The ABAP code below is a full code listing to execute function module ISU_TIMESLICE_SEC_PRORATE 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_y_lines | TYPE SY-INDEX , |
| it_t_timesl | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_t_timesl | LIKE LINE OF it_t_timesl . |
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_xy_pointer | TYPE SY-INDEX , |
| ld_y_lines | TYPE SY-INDEX , |
| ld_x_datefrom_offset | TYPE ISU_TIMESL_SEC-DATEFROMOFFSET , |
| it_t_timesl | TYPE STANDARD TABLE OF STRING , |
| wa_t_timesl | LIKE LINE OF it_t_timesl, |
| ld_x_dateto_offset | TYPE ISU_TIMESL_SEC-DATETOOFFSET , |
| ld_x_timefrom_offset | TYPE ISU_TIMESL_SEC-TIMEFROMOFFSET , |
| ld_x_timeto_offset | TYPE ISU_TIMESL_SEC-TIMETOOFFSET , |
| ld_x_prorate_date | TYPE ISU_TIMESL_SEC-PRORATEDAY , |
| ld_x_prorate_time | TYPE ISU_TIMESL_SEC-PRORATETIME , |
| ld_x_prorate_date_limit | TYPE ISU_TIMESL_SEC-PRORATEDAY , |
| ld_x_prorate_date_limit_upper | TYPE ISU_TIMESL_SEC-PRORATEDAY , |
| ld_x_prorate_time_limit | TYPE ISU_TIMESL_SEC-PRORATETIME , |
| ld_x_prorate_time_limit_upper | TYPE ISU_TIMESL_SEC-PRORATETIME . |
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 ISU_TIMESLICE_SEC_PRORATE or its description.
ISU_TIMESLICE_SEC_PRORATE - ISU_TIMESLICE_SEC_POPUP - ISU_TIMESLICE_SEC_DATE - INTERNAL: Check and Set From- and To-Date, From- and To-Time ISU_TIMESLICE_SEC_CONCAT - INTERNAL: Merge Two Time Slices (Date Time) ISU_TIMESLICE_SEC_COMPRESS - ISU_TIMESLICE_SEC_COMMON - Int: Determine Common Time Segment of Two Time Slices (Date Time)