SAP Reports / Programs

SXMS_PF_AGGREGATE_FIRST SAP ABAP Report - Program SXMS_PF_AGGREGATE_FIRST







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT SXMS_PF_AGGREGATE_FIRST. "Basic submit
SUBMIT SXMS_PF_AGGREGATE_FIRST AND RETURN. "Return to original report after report execution complete
SUBMIT SXMS_PF_AGGREGATE_FIRST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program SXMS_PF_AGGREGATE_FIRST


INCLUDES used within this REPORT SXMS_PF_AGGREGATE_FIRST

INCLUDE SXMS_PF_CONST. "#EC INCL_OK


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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'.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SXMS_PF_AGGREGATE_FIRST or its description.