SXMS_PF_AGGREGATE_FIRST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter SXMS_PF_AGGREGATE_FIRST into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Program SXMS_PF_AGGREGATE_FIRST
INCLUDE SXMS_PF_CONST. "#EC INCL_OK
No SAP DATABASE tables are accessed within this REPORT code!
SXMS_PF_TIME_HANDLER CALL FUNCTION 'SXMS_PF_TIME_HANDLER' "#EC * EXPORTING time_in = lv_now period = gc_interval_1_hour timezone = gc_timezone_utc IMPORTING begin_of_period = cv_upper_agg_limit EXCEPTIONS invalid_period = 1 invalid_use_of_function = 2 OTHERS = 3.
SXMB_GET_CONFIG CALL FUNCTION 'SXMB_GET_CONFIG' EXPORTING im_area = if_xms_config=>co_area_performance im_param = lc_aggregation_method im_subparam = lc_perf_data_agg_first IMPORTING ex_value = lv_value EXCEPTIONS parameter_not_found = 1 OTHERS = 2.
SXMB_GET_CONFIG CALL FUNCTION 'SXMB_GET_CONFIG' EXPORTING im_area = if_xms_config=>co_area_performance im_param = lc_aggregation_method IMPORTING ex_value = lv_value EXCEPTIONS parameter_not_found = 1 OTHERS = 2.
SXMS_PF_TIME_HANDLER CALL FUNCTION 'SXMS_PF_TIME_HANDLER' EXPORTING time_in = lv_lowest period = gc_interval_1_hour timezone = gc_timezone_utc IMPORTING begin_of_period = lv_agg_lower_bound end_of_period = lv_agg_upper_bound.
SXMS_PF_TIME_HANDLER CALL FUNCTION 'SXMS_PF_TIME_HANDLER' EXPORTING time_in =
-asmfirst period = gc_interval_1_hour timezone = gc_timezone_utc IMPORTING begin_of_period = lv_comp_agg_ub.
SXMS_PF_AGGREGATE_FIRST_AS CALL FUNCTION 'SXMS_PF_AGGREGATE_FIRST_AS' "#EC EXISTS EXPORTING " lower_bound =
-lower_bound " will be part of XI3.0SPS21
SXMS_PF_AGGREGATE_FIRST_AS CALL FUNCTION 'SXMS_PF_AGGREGATE_FIRST_AS' "#EC EXISTS EXPORTING " lower_bound =
-lower_bound " will be part of XI3.0SPS21
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
SXMS_PF_AGGREGATE_FIRST CALL FUNCTION 'SXMS_PF_AGGREGATE_FIRST' EXPORTING sender =
-sender receiver = -receiver componentid = -componentid procmode = -procmode SOURCE = -source lower_bound = -lower_bound upper_bound = -upper_bound agg_interval = gc_interval_1_hour.
SXMB_GET_CONFIG CALL FUNCTION 'SXMB_GET_CONFIG' EXPORTING im_area = if_xms_config=>co_area_performance im_param = if_xms_config=>co_param_perf_days_keep_data im_subparam = if_xms_config=>co_subparam_perf_mea_items IMPORTING ex_value = lv_value.
SXMS_PF_TIME_HANDLER CALL FUNCTION 'SXMS_PF_TIME_HANDLER' EXPORTING time_in = lv_now period = gc_interval_1_day move_periods = lv_days timezone = gc_timezone_utc IMPORTING time_out = cp_del_ub.
ENQUEUE_E_SXMSPFAGG CALL FUNCTION 'ENQUEUE_E_SXMSPFAGG' EXPORTING mode_sxmspfagg = 'E' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_E_SXMSPFAGG CALL FUNCTION 'DEQUEUE_E_SXMSPFAGG' EXPORTING mode_sxmspfagg = 'E'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.