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

PCTMSAR6 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RP_TS_OPEN * call function 'RP_TS_OPEN' * exporting * tsobj = g_temse_object-full_name * empfg = receiver_report.

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_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID 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.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = DRT_NOMBRE_FICHERO TABLES DATA_TAB = T_TEMSE_TAB EXCEPTIONS * INVALID_FILESIZE = 1 * INVALID_TABLE_WIDTH = 2 INVALID_TYPE = 3 NO_BATCH = 4 UNKNOWN_ERROR = 5.

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 = lc_info I_PROBCLASS = lc_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.



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