SAP Reports / Programs | Payroll | Sweden(PY-SE) SAP PY

RPCEDTS0_XML_SUBROUTINE SAP ABAP INCLUDE - Include RPCEDTS0_XML_SUBROUTINE







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


Text pool values


Title: Include RPCEDTS0_XML_SUBROUTINE


INCLUDES used within this REPORT RPCEDTS0_XML_SUBROUTINE

INCLUDE RPCEDD99.
INCLUDE RPCEDX09. "WHICH REPORT TO USE FOR A COUNTRY ?


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:

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'BATCH' report = lv_edt_repna no_dialog = ' ' IMPORTING out_parameters = user_print_params out_archive_parameters = user_arc_params valid = valid EXCEPTIONS OTHERS = 99.

LIST_FREE_MEMORY CALL FUNCTION 'LIST_FREE_MEMORY' * TABLES * LISTOBJECT = .

PY_XX_SPECIAL_PAYTY_EXIST CALL FUNCTION 'PY_XX_SPECIAL_PAYTY_EXIST' EXPORTING molga = gv_molga IMPORTING RESULT = lv_subrc.

F4_POPUP_EDT_VARI CALL FUNCTION 'F4_POPUP_EDT_VARI' EXPORTING molga = gv_molga CHANGING edt_vari = edt_vari EXCEPTIONS OTHERS = 0.

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

HR_SE_XML_REGISTER_ITAB CALL FUNCTION 'HR_SE_XML_REGISTER_ITAB' EXPORTING itabn = 'MSGINF' datatab = it_msginf[] TABLES itabs = lt_ref.

HR_SE_XML_REGISTER_ITAB CALL FUNCTION 'HR_SE_XML_REGISTER_ITAB' EXPORTING itabn = 'MESSG' datatab = it_msg[] TABLES itabs = lt_ref.

HR_SE_XML_FILE_OUTPUT CALL FUNCTION 'HR_SE_XML_FILE_OUTPUT' EXPORTING molga = molga sagrp = sagrp appli = docty dstyp = sdocty date = date TABLES itabs = lt_ref busy_errors = x_errors CHANGING tree_stream = lt_xml * display_xml = disp_xml EXCEPTIONS runtime_error = 1 schema_not_found = 2 subschema_not_found = 3 OTHERS = 4.

HR_SE_SHOW_XML CALL FUNCTION 'HR_SE_SHOW_XML' EXPORTING filename = filename .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = filename * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * DAT_MODE = ' ' * CONFIRM_OVERWRITE = ' ' * NO_AUTH_CHECK = ' ' * CODEPAGE = ' ' * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * WRITE_BOM = ' ' * TRUNC_TRAILING_BLANKS_EOL = 'X' * WK1_N_FORMAT = ' ' * WK1_N_SIZE = ' ' * WK1_T_FORMAT = ' ' * WK1_T_SIZE = ' ' * WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE show_transfer_status = show_status * IMPORTING * FILELENGTH = TABLES data_tab = down_xml * FIELDNAMES = EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22 .

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = c_logical_filename CHANGING physical_filename = filename EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

SO_SPLIT_FILE_AND_PATH CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH' EXPORTING full_name = l_filename IMPORTING stripped_name = l_fname file_path = l_fpath EXCEPTIONS x_error = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-e23 text_question = l_str text_button_1 = 'Yes' text_button_2 = 'No' default_button = '2' display_cancel_button = space start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = l_answer EXCEPTIONS text_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 RPCEDTS0_XML_SUBROUTINE or its description.