SAP Reports / Programs | Payroll | Argentina(PY-AR) SAP PY

PCTMSAR1 SAP ABAP INCLUDE - documentation and ABAP source code







PCTMSAR1 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 PCTMSAR1 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 PCTMSAR1. "Basic submit
SUBMIT PCTMSAR1 AND RETURN. "Return to original report after report execution complete
SUBMIT PCTMSAR1 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 PCTMSAR1

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:

RSTS_OPEN_RLC CALL FUNCTION 'RSTS_OPEN_RLC' EXPORTING name = p_temse_object-full_name EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 no_object = 5 no_permission = 6 OTHERS = 7.

RSTS_READ CALL FUNCTION 'RSTS_READ' TABLES datatab = temse_tab EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 OTHERS = 5.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_pf_status_set = 'EXIT_PF_STATUS' i_callback_user_command = 'EXIT_USER_COMMAND' i_callback_top_of_page = 'TOP_OF_PAGE' i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE' i_structure_name = record_control_wa-structure it_fieldcat = it_fieldcatalog[] TABLES t_outtab = p_temse_tab EXCEPTIONS program_error = 1 OTHERS = 2.

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_other = 03.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING lay_out = 0 basic_list_title = sy-title file_name = myreport head_line1 = p_record_control-record_title head_line2 = headline2 foot_note3 = p_temse_object-full_name list_level = p_record_control-screen current_report = myreport * data_structure = p_record_control-structure TABLES data_tab = t_input_table fieldname_tab = p_field_name_table EXCEPTIONS download_problem = 1 no_data_tab_entries = 2 table_mismatch = 3 print_problems = 4 OTHERS = 5.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = p_structure_name TABLES dfies_tab = table_info_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = filename mask = ',*.*,*.*.'

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = filename TRUNC_TRAILING_BLANKS = ' ' " con espacios TRUNC_TRAILING_BLANKS_EOL = ' ' " con espacios en EOL TABLES DATA_TAB = T_TEMSE_TAB EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * PERCENTAGE = 0 text = gui_text EXCEPTIONS OTHERS = 1.

RSTS_GET_ATTRIBUTES CALL FUNCTION 'RSTS_GET_ATTRIBUTES' EXPORTING name = name IMPORTING size = g_temse_file_size EXCEPTIONS fb_error = 1 fb_rsts_other = 2 no_object = 3 no_permission = 4 OTHERS = 5.

RSTS_READ CALL FUNCTION 'RSTS_READ' EXPORTING maxix = p_maxix IMPORTING alldata = p_fl_alldata TABLES datatab = p_temse_tab EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 OTHERS = 5.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = is_log IMPORTING e_log_handle = xs_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = gs_log_handle i_msgty = gc_info i_probclass = gc_probclass i_text = iv_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = is_display_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_display_profile EXCEPTIONS OTHERS = 1.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = iv_log_handle EXCEPTIONS log_not_found = 1 OTHERS = 2.



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