SAP Reports / Programs | Basis Components | Use Subcomponents | Monitoring(BC-CCM-MON) SAP BC

RSSTATAS SAP ABAP INCLUDE - documentation and ABAP source code







RSSTATAS is a standard ABAP INCLUDE 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 RSSTATAS 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 RSSTATAS. "Basic submit
SUBMIT RSSTATAS AND RETURN. "Return to original report after report execution complete
SUBMIT RSSTATAS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RSSTATAS

No INCLUDES are used within this REPORT code!


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:

SAPWL_AS_STATREC_READ_FILE * CALL FUNCTION 'SAPWL_AS_STATREC_READ_FILE' * EXPORTING ** NO_OF_RECORDS = -1 * read_client = statl-smandt * read_end_date = rdate_type_d * read_end_time = rtstop * read_exclude_username = 'SYSPERF' ** READ_CONTINUE_RECORDNO = -1 * read_start_date = rdate_type_d * read_start_time = rtstart * read_username = statl-sbenu * read_workprocess = wp_number ** READ_FORWARD = 'X' ** STATISTIC_FILE = * IMPORTING * file_error = file_error * records_read = records_read * eof_reached = eof_reached ** CONTINUE_RECORDNO_FORWARD = ** CONTINUE_RECORDNO_BACKWARD = ** PROBLEMS = * TABLES * records = as_records * EXCEPTIONS * wrong_parameter_combination = 1 * OTHERS = 2 .

SAPWL_ASTAT_DIRECT_READ CALL FUNCTION 'SAPWL_ASTAT_DIRECT_READ' EXPORTING no_of_records = -1 read_start_date = rdate_type_d read_start_time = rtstart read_end_date = rdate_type_d read_end_time = rtstop read_client = statl-smandt read_username = statl-sbenu read_exclude_username = 'SYSPERF' read_workprocess = wp_number * STATISTIC_FILE = * NO_BUFFER_FLUSH = IMPORTING records_read = records_read eof_reached = eof_reached astat_records = astat_records_table EXCEPTIONS wrong_parameter_combination = 1 file_problems = 2 OTHERS = 3.

SAPWL_INST_LONG CALL FUNCTION 'SAPWL_INST_LONG' EXPORTING inst_short = rsystem IMPORTING inst_long = long_instance * HOST_LONG = EXCEPTIONS could_not_determine_long_name = 1 OTHERS = 2.

SAPWL_AS_WORKL_ADD_TO_SNAPSHOT CALL FUNCTION 'SAPWL_AS_WORKL_ADD_TO_SNAPSHOT' TABLES records = as_records as_statistic = application_stat as_hitl_dbcalls = appl_hitl_dbcalls as_hitl_respti = appl_hitl_respti EXCEPTIONS OTHERS = 1.

SAPWL_AS_WORKL_GET_STATISTIC CALL FUNCTION 'SAPWL_AS_WORKL_GET_STATISTIC' EXPORTING periodtype = rperiod(1) hostid = rsystem startdate = rdate_type_d * ONLY_APPLICATION_STATISTIC = ' ' * INSTANCE = ' ' TABLES as_statistic = application_stat as_hitl_dbcalls = appl_hitl_dbcalls as_hitl_respti = appl_hitl_respti EXCEPTIONS unknown_periodtype = 1 no_data_found = 2 no_server_given = 3 OTHERS = 4.

ASTAT_TEXT_OKEY_GET CALL FUNCTION 'ASTAT_TEXT_OKEY_GET' CHANGING t_texts = okey_texte EXCEPTIONS OTHERS = 99.

SAPWL_STATREC_GET_ENTRY_ID CALL FUNCTION 'SAPWL_STATREC_GET_ENTRY_ID' EXPORTING v2_record = sapwlpfnrm IMPORTING converted_report_name = sta2-report.



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 RSSTATAS or its description.