SAP ISU_TIMESLICE_SEC_COMPRESS Function Module for









ISU_TIMESLICE_SEC_COMPRESS is a standard isu timeslice sec compress SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for isu timeslice sec compress FM, simply by entering the name ISU_TIMESLICE_SEC_COMPRESS into the relevant SAP transaction such as SE37 or SE38.

Function Group: ET04
Program Name: SAPLET04
Main Program: SAPLET04
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISU_TIMESLICE_SEC_COMPRESS pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'ISU_TIMESLICE_SEC_COMPRESS'"
EXPORTING
X_DATEFROM_OFFSET = "
X_DATETO_OFFSET = "
X_TIMEFROM_OFFSET = "
X_TIMETO_OFFSET = "
* X_CONFIRM = ' ' "
* X_SORTED = ' ' "
* X_HIDE_OFFSET_FROM = 0 "
* X_HIDE_OFFSET_TO = 0 "

IMPORTING
Y_LINES = "

CHANGING
* XY_POINTER = "

TABLES
T_TIMESL = "

EXCEPTIONS
CANCELLED = 1
.



IMPORTING Parameters details for ISU_TIMESLICE_SEC_COMPRESS

X_DATEFROM_OFFSET -

Data type: ISU_TIMESL_SEC-DATEFROMOFFSET
Optional: No
Call by Reference: No ( called with pass by value option)

X_DATETO_OFFSET -

Data type: ISU_TIMESL_SEC-DATETOOFFSET
Optional: No
Call by Reference: No ( called with pass by value option)

X_TIMEFROM_OFFSET -

Data type: ISU_TIMESL_SEC-TIMEFROMOFFSET
Optional: No
Call by Reference: Yes

X_TIMETO_OFFSET -

Data type: ISU_TIMESL_SEC-TIMETOOFFSET
Optional: No
Call by Reference: Yes

X_CONFIRM -

Data type: REGEN-KENNZX
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_SORTED -

Data type: REGEN-KENNZX
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_HIDE_OFFSET_FROM -

Data type: ISU_TIMESL_SEC-HIDEFROM
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_HIDE_OFFSET_TO -

Data type: ISU_TIMESL_SEC-HIDETO
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISU_TIMESLICE_SEC_COMPRESS

Y_LINES -

Data type: SY-INDEX
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for ISU_TIMESLICE_SEC_COMPRESS

XY_POINTER -

Data type: SY-INDEX
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ISU_TIMESLICE_SEC_COMPRESS

T_TIMESL -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

CANCELLED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISU_TIMESLICE_SEC_COMPRESS Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_y_lines  TYPE SY-INDEX, "   
lt_t_timesl  TYPE STANDARD TABLE OF SY, "   
lv_cancelled  TYPE SY, "   
lv_xy_pointer  TYPE SY-INDEX, "   
lv_x_datefrom_offset  TYPE ISU_TIMESL_SEC-DATEFROMOFFSET, "   
lv_x_dateto_offset  TYPE ISU_TIMESL_SEC-DATETOOFFSET, "   
lv_x_timefrom_offset  TYPE ISU_TIMESL_SEC-TIMEFROMOFFSET, "   
lv_x_timeto_offset  TYPE ISU_TIMESL_SEC-TIMETOOFFSET, "   
lv_x_confirm  TYPE REGEN-KENNZX, "   SPACE
lv_x_sorted  TYPE REGEN-KENNZX, "   SPACE
lv_x_hide_offset_from  TYPE ISU_TIMESL_SEC-HIDEFROM, "   0
lv_x_hide_offset_to  TYPE ISU_TIMESL_SEC-HIDETO. "   0

  CALL FUNCTION 'ISU_TIMESLICE_SEC_COMPRESS'  "
    EXPORTING
         X_DATEFROM_OFFSET = lv_x_datefrom_offset
         X_DATETO_OFFSET = lv_x_dateto_offset
         X_TIMEFROM_OFFSET = lv_x_timefrom_offset
         X_TIMETO_OFFSET = lv_x_timeto_offset
         X_CONFIRM = lv_x_confirm
         X_SORTED = lv_x_sorted
         X_HIDE_OFFSET_FROM = lv_x_hide_offset_from
         X_HIDE_OFFSET_TO = lv_x_hide_offset_to
    IMPORTING
         Y_LINES = lv_y_lines
    CHANGING
         XY_POINTER = lv_xy_pointer
    TABLES
         T_TIMESL = lt_t_timesl
    EXCEPTIONS
        CANCELLED = 1
. " ISU_TIMESLICE_SEC_COMPRESS




ABAP code using 7.40 inline data declarations to call FM ISU_TIMESLICE_SEC_COMPRESS

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single INDEX FROM SY INTO @DATA(ld_y_lines).
 
 
 
"SELECT single INDEX FROM SY INTO @DATA(ld_xy_pointer).
 
"SELECT single DATEFROMOFFSET FROM ISU_TIMESL_SEC INTO @DATA(ld_x_datefrom_offset).
 
"SELECT single DATETOOFFSET FROM ISU_TIMESL_SEC INTO @DATA(ld_x_dateto_offset).
 
"SELECT single TIMEFROMOFFSET FROM ISU_TIMESL_SEC INTO @DATA(ld_x_timefrom_offset).
 
"SELECT single TIMETOOFFSET FROM ISU_TIMESL_SEC INTO @DATA(ld_x_timeto_offset).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_confirm).
DATA(ld_x_confirm) = ' '.
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_sorted).
DATA(ld_x_sorted) = ' '.
 
"SELECT single HIDEFROM FROM ISU_TIMESL_SEC INTO @DATA(ld_x_hide_offset_from).
 
"SELECT single HIDETO FROM ISU_TIMESL_SEC INTO @DATA(ld_x_hide_offset_to).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!