SAP ISU_TIMESL_UC_SEC_COMP_UPDATE Function Module for INTERNAL: Compress and Match Time Slices (Date, Time)









ISU_TIMESL_UC_SEC_COMP_UPDATE is a standard isu timesl uc sec comp update SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Compress and Match Time Slices (Date, Time) processing and below is the pattern details for this FM, 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 timesl uc sec comp update FM, simply by entering the name ISU_TIMESL_UC_SEC_COMP_UPDATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_TIMESL_UC_SEC_COMP_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_TIMESL_UC_SEC_COMP_UPDATE'"INTERNAL: Compress and Match Time Slices (Date, Time)
EXPORTING
X_DATEFROM_FNAME = "
X_DATETO_FNAME = "
X_TIMEFROM_FNAME = "
X_TIMETO_FNAME = "
X_TABNAME = "
* X_CONFIRM_COMPRESS = ' ' "
* X_SORTED_FOR_COMPRESS = ' ' "
* X_HIDE_FNAME_FROM = "
* X_HIDE_FNAME_TO = "

IMPORTING
Y_LINES = "

CHANGING
* XY_POINTER = "

TABLES
XT_TIMESL_OLD = "
T_TIMESL = "
YT_TIMESL_INSERT = "
YT_TIMESL_UPDATE = "
YT_TIMESL_DELETE = "
* XT_HIDE_FNAMES = "

EXCEPTIONS
CANCELLED = 1 TYPE_CONFLICT = 2
.



IMPORTING Parameters details for ISU_TIMESL_UC_SEC_COMP_UPDATE

X_DATEFROM_FNAME -

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

X_DATETO_FNAME -

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

X_TIMEFROM_FNAME -

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

X_TIMETO_FNAME -

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

X_TABNAME -

Data type: DDOBJNAME
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_FNAME_FROM -

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

X_HIDE_FNAME_TO -

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

EXPORTING Parameters details for ISU_TIMESL_UC_SEC_COMP_UPDATE

Y_LINES -

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

CHANGING Parameters details for ISU_TIMESL_UC_SEC_COMP_UPDATE

XY_POINTER -

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

TABLES Parameters details for ISU_TIMESL_UC_SEC_COMP_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)

XT_HIDE_FNAMES -

Data type: TTFIELDNAME
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

CANCELLED - Terminated

Data type:
Optional: No
Call by Reference: Yes

TYPE_CONFLICT - Type conflict

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_TIMESL_UC_SEC_COMP_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_cancelled  TYPE SY, "   
lv_xy_pointer  TYPE SY-INDEX, "   
lt_xt_timesl_old  TYPE STANDARD TABLE OF SY, "   
lv_x_datefrom_fname  TYPE FIELDNAME, "   
lt_t_timesl  TYPE STANDARD TABLE OF FIELDNAME, "   
lv_type_conflict  TYPE FIELDNAME, "   
lv_x_dateto_fname  TYPE FIELDNAME, "   
lv_x_timefrom_fname  TYPE FIELDNAME, "   
lt_yt_timesl_insert  TYPE STANDARD TABLE OF FIELDNAME, "   
lv_x_timeto_fname  TYPE FIELDNAME, "   
lt_yt_timesl_update  TYPE STANDARD TABLE OF FIELDNAME, "   
lv_x_tabname  TYPE DDOBJNAME, "   
lt_yt_timesl_delete  TYPE STANDARD TABLE OF DDOBJNAME, "   
lt_xt_hide_fnames  TYPE STANDARD TABLE OF TTFIELDNAME, "   
lv_x_confirm_compress  TYPE REGEN-KENNZX, "   SPACE
lv_x_sorted_for_compress  TYPE REGEN-KENNZX, "   SPACE
lv_x_hide_fname_from  TYPE FIELDNAME, "   
lv_x_hide_fname_to  TYPE FIELDNAME. "   

  CALL FUNCTION 'ISU_TIMESL_UC_SEC_COMP_UPDATE'  "INTERNAL: Compress and Match Time Slices (Date, Time)
    EXPORTING
         X_DATEFROM_FNAME = lv_x_datefrom_fname
         X_DATETO_FNAME = lv_x_dateto_fname
         X_TIMEFROM_FNAME = lv_x_timefrom_fname
         X_TIMETO_FNAME = lv_x_timeto_fname
         X_TABNAME = lv_x_tabname
         X_CONFIRM_COMPRESS = lv_x_confirm_compress
         X_SORTED_FOR_COMPRESS = lv_x_sorted_for_compress
         X_HIDE_FNAME_FROM = lv_x_hide_fname_from
         X_HIDE_FNAME_TO = lv_x_hide_fname_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
         XT_HIDE_FNAMES = lt_xt_hide_fnames
    EXCEPTIONS
        CANCELLED = 1
        TYPE_CONFLICT = 2
. " ISU_TIMESL_UC_SEC_COMP_UPDATE




ABAP code using 7.40 inline data declarations to call FM ISU_TIMESL_UC_SEC_COMP_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 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) = ' '.
 
 
 


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!