SAP Reports / Programs | Payroll | Switzerland(PY-CH) SAP PY

RPUQSTCI SAP ABAP INCLUDE - HR-CH: Include RPUYSTCx







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


Text pool values


Title: HR-CH: Include RPUYSTCx


INCLUDES used within this REPORT RPUQSTCI

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:

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT logical_filename = gc_logical_file * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' * IMPORTING * VALIDATION_ACTIVE = * TS_ALIAS = changing physical_filename = g_dataset EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT logical_filename = gc_logical_file * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' * IMPORTING * VALIDATION_ACTIVE = * TS_ALIAS = changing physical_filename = g_dataset EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' "UC * EXPORTING * FILENAME = G_FILE "Zielfile * FILETYPE = C_TYPE "ASCII * TABLES * DATA_TAB = TAB0 * "Beginn XQTPH9K001800 * EXCEPTIONS * CONVERSION_ERROR = 1 * FILE_OPEN_ERROR = 2 * FILE_READ_ERROR = 3 * INVALID_TYPE = 4 * NO_BATCH = 5 * UNKNOWN_ERROR = 6 * INVALID_TABLE_WIDTH = 7 * GUI_REFUSE_FILETRANSFER = 8 * CUSTOMER_ERROR = 9 * OTHERS = 10 * .

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' "UC EXPORTING filename = g_file filetype = 'ASC' "ACII * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' * IMPORTING * FILELENGTH = * HEADER = TABLES data_tab = tab0 EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17 .

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = p_action enqueue_mode = 'E' view_name = c_table EXCEPTIONS OTHERS = 7.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = p_action enqueue_mode = 'E' view_name = c_table2 EXCEPTIONS OTHERS = 7.

POPUP_TO_GET_ONE_VALUE CALL FUNCTION 'POPUP_TO_GET_ONE_VALUE' EXPORTING textline1 = text-q11 * TEXTLINE2 = ' ' textline3 = text-b05 titel = text-001 valuelength = 30 IMPORTING answer = g_answer value1 = g_dataset EXCEPTIONS titel_too_long = 1 OTHERS = 2.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT logical_filename = gc_logical_file * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' * IMPORTING * VALIDATION_ACTIVE = * TS_ALIAS = changing physical_filename = g_dataset EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .

POPUP_TO_GET_ONE_VALUE CALL FUNCTION 'POPUP_TO_GET_ONE_VALUE' EXPORTING textline1 = text-q11 * TEXTLINE2 = ' ' textline3 = text-b05 titel = text-001 valuelength = 30 IMPORTING answer = g_answer value1 = g_dataset EXCEPTIONS titel_too_long = 1 OTHERS = 2.

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING mask = c_mask title = 'BIGA-Quellensteuertarife einlesen'(001) mode = 'O' IMPORTING filename = g_file "Zielfile EXCEPTIONS inv_winsys = 04 no_batch = 08 selection_cancel = 12 selection_error = 16.

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' "UC * EXPORTING * FILENAME = G_FILE * FILETYPE = C_TYPE * HEADLEN = 2 * TABLES * DATA_TAB = TAB0.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' "UC EXPORTING filename = g_file filetype = 'ASC' "ASCII * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 2 * READ_BY_LINE = 'X' * IMPORTING * FILELENGTH = * HEADER = TABLES data_tab = tab0 EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17 .

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING titel = ' ' textline1 = text-q11 diagnosetext1 = g_dataset diagnosetext2 = text-d01 cancel_display = ' ' IMPORTING answer = g_answer.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING titel = text-001 textline1 = text-q01 textline2 = text-q02 diagnosetext1 = g_file diagnosetext2 = text-d01 cancel_display = ' ' IMPORTING answer = g_answer.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING titel = text-q30 textline1 = text-q31 diagnosetext1 = l_txt1 diagnosetext2 = l_txt2 defaultoption = 'J' cancel_display = 'X' IMPORTING answer = g_answer.



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