SAP SXMS_PF_TIME_HANDLER Function Module for
SXMS_PF_TIME_HANDLER is a standard sxms pf time handler 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 sxms pf time handler FM, simply by entering the name SXMS_PF_TIME_HANDLER into the relevant SAP transaction such as SE37 or SE38.
Function Group: SXMS_PF_TIME_HANDLER
Program Name: SAPLSXMS_PF_TIME_HANDLER
Main Program: SAPLSXMS_PF_TIME_HANDLER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SXMS_PF_TIME_HANDLER 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 'SXMS_PF_TIME_HANDLER'".
EXPORTING
TIME_IN = "
PERIOD = "
* TIMEZONE = "
* MOVE_PERIODS = "
IMPORTING
TIME_OUT = "
BEGIN_OF_PERIOD = "
END_OF_PERIOD = "
BEGIN_OF_PREV_PERIOD = "
END_OF_PREV_PERIOD = "
BEGIN_OF_NEXT_PERIOD = "
END_OF_NEXT_PERIOD = "
EXCEPTIONS
INVALID_PERIOD = 1 INVALID_USE_OF_FUNCTION = 2
IMPORTING Parameters details for SXMS_PF_TIME_HANDLER
TIME_IN -
Data type: POptional: No
Call by Reference: Yes
PERIOD -
Data type: SXI_PF_AGG_INTERVOptional: No
Call by Reference: Yes
TIMEZONE -
Data type: SYSTZONLOOptional: Yes
Call by Reference: Yes
MOVE_PERIODS -
Data type: INT4Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SXMS_PF_TIME_HANDLER
TIME_OUT -
Data type: POptional: No
Call by Reference: Yes
BEGIN_OF_PERIOD -
Data type: POptional: No
Call by Reference: Yes
END_OF_PERIOD -
Data type: POptional: No
Call by Reference: Yes
BEGIN_OF_PREV_PERIOD -
Data type: POptional: No
Call by Reference: Yes
END_OF_PREV_PERIOD -
Data type: POptional: No
Call by Reference: Yes
BEGIN_OF_NEXT_PERIOD -
Data type: POptional: No
Call by Reference: Yes
END_OF_NEXT_PERIOD -
Data type: POptional: No
Call by Reference: Yes
EXCEPTIONS details
INVALID_PERIOD -
Data type:Optional: No
Call by Reference: Yes
INVALID_USE_OF_FUNCTION -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SXMS_PF_TIME_HANDLER 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_time_in | TYPE P, " | |||
| lv_time_out | TYPE P, " | |||
| lv_invalid_period | TYPE P, " | |||
| lv_period | TYPE SXI_PF_AGG_INTERV, " | |||
| lv_begin_of_period | TYPE P, " | |||
| lv_invalid_use_of_function | TYPE P, " | |||
| lv_timezone | TYPE SYSTZONLO, " | |||
| lv_end_of_period | TYPE P, " | |||
| lv_move_periods | TYPE INT4, " | |||
| lv_begin_of_prev_period | TYPE P, " | |||
| lv_end_of_prev_period | TYPE P, " | |||
| lv_begin_of_next_period | TYPE P, " | |||
| lv_end_of_next_period | TYPE P. " |
|   CALL FUNCTION 'SXMS_PF_TIME_HANDLER' " |
| EXPORTING | ||
| TIME_IN | = lv_time_in | |
| PERIOD | = lv_period | |
| TIMEZONE | = lv_timezone | |
| MOVE_PERIODS | = lv_move_periods | |
| IMPORTING | ||
| TIME_OUT | = lv_time_out | |
| BEGIN_OF_PERIOD | = lv_begin_of_period | |
| END_OF_PERIOD | = lv_end_of_period | |
| BEGIN_OF_PREV_PERIOD | = lv_begin_of_prev_period | |
| END_OF_PREV_PERIOD | = lv_end_of_prev_period | |
| BEGIN_OF_NEXT_PERIOD | = lv_begin_of_next_period | |
| END_OF_NEXT_PERIOD | = lv_end_of_next_period | |
| EXCEPTIONS | ||
| INVALID_PERIOD = 1 | ||
| INVALID_USE_OF_FUNCTION = 2 | ||
| . " SXMS_PF_TIME_HANDLER | ||
ABAP code using 7.40 inline data declarations to call FM SXMS_PF_TIME_HANDLER
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.Search for further information about these or an SAP related objects