SAP ISU_TIMESLICE_COMPRESS_UPDATE Function Module for









ISU_TIMESLICE_COMPRESS_UPDATE is a standard isu timeslice compress update 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 compress update FM, simply by entering the name ISU_TIMESLICE_COMPRESS_UPDATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_TIMESLICE_COMPRESS_UPDATE 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_COMPRESS_UPDATE'"
EXPORTING
X_AB_OFFSET = "
X_BIS_OFFSET = "
X_KEY_LENGTH = "
* X_CONFIRM_COMPRESS = ' ' "
* X_SORTED_FOR_COMPRESS = ' ' "
* X_HIDE_OFFSET_FROM = 0 "
* X_HIDE_OFFSET_TO = 0 "

IMPORTING
Y_LINES = "

CHANGING
* XY_POINTER = "

TABLES
XT_TIMESL_OLD = "
T_TIMESL = "
YT_TIMESL_INSERT = "
YT_TIMESL_UPDATE = "
YT_TIMESL_DELETE = "
.



IMPORTING Parameters details for ISU_TIMESLICE_COMPRESS_UPDATE

X_AB_OFFSET -

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

X_BIS_OFFSET -

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

X_KEY_LENGTH -

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

X_CONFIRM_COMPRESS -

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

X_SORTED_FOR_COMPRESS -

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-HIDEFROM
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_HIDE_OFFSET_TO -

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

EXPORTING Parameters details for ISU_TIMESLICE_COMPRESS_UPDATE

Y_LINES -

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

CHANGING Parameters details for ISU_TIMESLICE_COMPRESS_UPDATE

XY_POINTER -

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

TABLES Parameters details for ISU_TIMESLICE_COMPRESS_UPDATE

XT_TIMESL_OLD -

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

T_TIMESL -

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

YT_TIMESL_INSERT -

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

YT_TIMESL_UPDATE -

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

YT_TIMESL_DELETE -

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

Copy and paste ABAP code example for ISU_TIMESLICE_COMPRESS_UPDATE 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, "   
lv_xy_pointer  TYPE SY-INDEX, "   
lv_x_ab_offset  TYPE ISU_TIMESL-ABOFFSET, "   
lt_xt_timesl_old  TYPE STANDARD TABLE OF ISU_TIMESL, "   
lt_t_timesl  TYPE STANDARD TABLE OF ISU_TIMESL, "   
lv_x_bis_offset  TYPE ISU_TIMESL-BISOFFSET, "   
lv_x_key_length  TYPE ISU_EE00-KEY_LENGTH, "   
lt_yt_timesl_insert  TYPE STANDARD TABLE OF ISU_EE00, "   
lt_yt_timesl_update  TYPE STANDARD TABLE OF ISU_EE00, "   
lv_x_confirm_compress  TYPE REGEN-KENNZX, "   SPACE
lt_yt_timesl_delete  TYPE STANDARD TABLE OF REGEN, "   
lv_x_sorted_for_compress  TYPE REGEN-KENNZX, "   SPACE
lv_x_hide_offset_from  TYPE ISU_TIMESL-HIDEFROM, "   0
lv_x_hide_offset_to  TYPE ISU_TIMESL-HIDETO. "   0

  CALL FUNCTION 'ISU_TIMESLICE_COMPRESS_UPDATE'  "
    EXPORTING
         X_AB_OFFSET = lv_x_ab_offset
         X_BIS_OFFSET = lv_x_bis_offset
         X_KEY_LENGTH = lv_x_key_length
         X_CONFIRM_COMPRESS = lv_x_confirm_compress
         X_SORTED_FOR_COMPRESS = lv_x_sorted_for_compress
         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
         XT_TIMESL_OLD = lt_xt_timesl_old
         T_TIMESL = lt_t_timesl
         YT_TIMESL_INSERT = lt_yt_timesl_insert
         YT_TIMESL_UPDATE = lt_yt_timesl_update
         YT_TIMESL_DELETE = lt_yt_timesl_delete
. " ISU_TIMESLICE_COMPRESS_UPDATE




ABAP code using 7.40 inline data declarations to call FM ISU_TIMESLICE_COMPRESS_UPDATE

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 ABOFFSET FROM ISU_TIMESL INTO @DATA(ld_x_ab_offset).
 
 
 
"SELECT single BISOFFSET FROM ISU_TIMESL INTO @DATA(ld_x_bis_offset).
 
"SELECT single KEY_LENGTH FROM ISU_EE00 INTO @DATA(ld_x_key_length).
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_confirm_compress).
DATA(ld_x_confirm_compress) = ' '.
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_sorted_for_compress).
DATA(ld_x_sorted_for_compress) = ' '.
 
"SELECT single HIDEFROM FROM ISU_TIMESL INTO @DATA(ld_x_hide_offset_from).
 
"SELECT single HIDETO FROM ISU_TIMESL 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!