SAP Reports / Programs | Personnel Management | Recruitment(PA-RC) SAP PA

MPAP3F10 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

HR_READ_INFOTYPE_AUTHC_DISABLE *CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'B' pernr = rpapp-aplno infty = '0002' begda = sy-datum endda = sy-datum TABLES infty_tab = ip0002 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

PRINT_TEXT CALL FUNCTION 'PRINT_TEXT' EXPORTING application = 'TX' archive_index = toa_dara archive_params = arc_params device = $destination dialog = 'X' header = header * OPTIONS = ' ' "VLZK097514 options = $itcpo "VLZK097514 IMPORTING new_archive_params = arc_params RESULT = itcpp TABLES lines = output EXCEPTIONS "VLZK101725 canceled = 01 "VLZK101725 device = 02 "VLZK101725 form = 03 "VLZK101725 options = 04 "VLZK101725 unclosed = 05 "VLZK101725 unknown = 06. "VLZK101725

READ_TEXT CALL FUNCTION 'READ_TEXT' * exporting id = 'ST' "VLZK141308 * exporting id = 'PALT' "VLZK141308 "XDPK157630 EXPORTING id = appl_id "XDPK157630 language = letter_language name = $textno * object = 'TEXT' "XDPK157630 object = appl_obj "XDPK157630 IMPORTING header = header TABLES lines = work_letter EXCEPTIONS object = 1 id = 2 language = 3 name = 4 not_found = 6.

CHECK_TEXT_AUTHORITY CALL FUNCTION 'CHECK_TEXT_AUTHORITY' EXPORTING activity = 'EDIT' id = appl_id language = letter_language name = $textno OBJECT = appl_obj EXCEPTIONS NO_AUTHORITY = 1 OTHERS = 2.

CHECK_TEXT_AUTHORITY CALL FUNCTION 'CHECK_TEXT_AUTHORITY' EXPORTING activity = 'DISPLAY' id = appl_id language = letter_language name = $textno OBJECT = appl_obj EXCEPTIONS NO_AUTHORITY = 1 OTHERS = 2.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' "VLZK127394 EXPORTING display = edit-mode "VLZK127394 editor_title = ' ' "VLZK127394 header = header "VLZK127394 save = save-mode "VLZK127394 IMPORTING function = et_function "VLZK127394 newheader = header "VLZK127394 TABLES lines = work_letter. "VLZK127394

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' "VLZK087790 EXPORTING display = display "VLZK087790 editor_title = ' ' "VLZK087790 header = header2 "XJGN379925 "VLZK087790 save = ' ' "VLZK087790 IMPORTING function = et_function "VLZK087790 newheader = header "VLZK087790 TABLES lines = output. "VLZK087790

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt * id = 'ST' "VLZK141308 * id = 'PALT' "VLZK141308 "XDPK157630 id = appl_id "XDPK157630 language = letter_language name = memoact-idtxt * object = 'TEXT' "XDPK157630 object = appl_obj "XDPK157630 IMPORTING header = header TABLES lines = letter EXCEPTIONS not_found = 01 OTHERS = 02.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-l05 textline2 = text-l06 titel = text-ttm IMPORTING answer = antwort.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'PINCH' struc_content = pme17 kind_of_error = '3' IMPORTING back = $sbmod CHANGING status = $retcd EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'PRELR' struc_content = pme15 kind_of_error = '3' IMPORTING back = integration CHANGING status = retcd EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-l01 textline2 = text-l02 titel = text-ttp IMPORTING answer = antwort.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING environment = 'TEMP' query = 'EN' IMPORTING return = down_load_path EXCEPTIONS inv_query = 1 no_batch = 2 frontend_error = 3 OTHERS = 4.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING environment = 'TMP' query = 'EN' IMPORTING return = down_load_path EXCEPTIONS inv_query = 1 no_batch = 2 frontend_error = 3 OTHERS = 4.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = fname filetype = 'ASC' TABLES data_tab = tab_dq 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 .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = fname filetype = 'ASC' * IMPORTING * FILELENGTH = TABLES data_tab = error_tab 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 .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = fname filetype = 'ASC' * IMPORTING * FILELENGTH = TABLES data_tab = fctab 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 .

READ_TEXT





CALL FUNCTION 'READ_TEXT' EXPORTING id = 'PALT' language = letter_language name = memoact-idtxt object = 'TEXT' IMPORTING header = header TABLES lines = work_letter EXCEPTIONS not_found = 1 OTHERS = 2.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'application' subtype = 'msword' TABLES data = data_table_a CHANGING url = item_url EXCEPTIONS dp_invalid_parameter = 1 dp_error_put_table = 2 dp_error_general = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'application' subtype = 'msword' TABLES data = data_table_a_char CHANGING url = item_url EXCEPTIONS dp_invalid_parameter = 1 dp_error_put_table = 2 dp_error_general = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'msword' TABLES DATA = DATA_TABLE_A CHANGING URL = ITEM_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'application' subtype = 'msword' TABLES data = data_table CHANGING url = item_url EXCEPTIONS dp_invalid_parameter = 1 dp_error_put_table = 2 dp_error_general = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'msword' TABLES DATA = DATA_TABLE_A_CHAR CHANGING URL = ITEM_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'application' subtype = 'msword' TABLES data = data_table_char CHANGING url = item_url EXCEPTIONS dp_invalid_parameter = 1 dp_error_put_table = 2 dp_error_general = 3 OTHERS = 4.

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING file = path_template_ext IMPORTING RETURN = return.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'application' subtype = 'msword' TABLES data = data_table_1 CHANGING url = item_url EXCEPTIONS dp_invalid_parameter = 1 dp_error_put_table = 2 dp_error_general = 3 OTHERS = 4.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING * v============================ XRGUNI ==============================v * filename = path_errortab filename = path_errtab_str * ^============================ XRGUNI ==============================^ * FILETYPE = 'DAT' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * IMPORTING * FILELENGTH = * HEADER = TABLES data_tab = errors 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 CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-005 "Bewerberkorrespondenz text_question = text-007 "Dokument sichern? display_cancel_button = 'X' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-005 "Bewerberkorrespondenz text_question = text-007 "Dokument sichern? display_cancel_button = 'X' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

SAP_OI_GET_UNIQUE_URL CALL FUNCTION 'SAP_OI_GET_UNIQUE_URL' IMPORTING unique_url = doc_url EXCEPTIONS OTHERS = 1.

DP_GET_STREAM_FROM_URL CALL FUNCTION 'DP_GET_STREAM_FROM_URL' EXPORTING url = doc_url IMPORTING size = data_size TABLES data = data_table EXCEPTIONS dp_fail = 1 dp_failed_init = 2 OTHERS = 3.

DP_GET_STREAM_FROM_URL CALL FUNCTION 'DP_GET_STREAM_FROM_URL' EXPORTING url = doc_url IMPORTING size = data_size TABLES data = data_table_char EXCEPTIONS dp_fail = 1 dp_failed_init = 2 OTHERS = 3.

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING file = path_datasource IMPORTING return = return EXCEPTIONS OTHERS = 1.

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING file = path_comment IMPORTING return = return EXCEPTIONS OTHERS = 1.

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING file = path_errortab IMPORTING return = return EXCEPTIONS OTHERS = 1.

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING * file = path_template "XRGN528216 file = path_template_ext "XRGN528216 IMPORTING return = return EXCEPTIONS OTHERS = 1.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'application' subtype = 'msword' TABLES * data = data_table_n "XDVN560272_2 data = data_table_n_char "XDVN560272_2 CHANGING url = item_url EXCEPTIONS dp_invalid_parameter = 1 dp_error_put_table = 2 dp_error_general = 3 OTHERS = 4.




DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'application' subtype = 'msword' TABLES data = data_table_n CHANGING url = item_url EXCEPTIONS dp_invalid_parameter = 1 dp_error_put_table = 2 dp_error_general = 3 OTHERS = 4.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = '000' id = 'TAPP' language = sprache name = temp_name object = 'APP-DOT' TABLES lines = dot EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

HR_FEATURE_BACKTABLE CALL FUNCTION 'HR_FEATURE_BACKTABLE' EXPORTING feature = 'WPROC' struc_content = pme15 kind_of_error = '3' TABLES back = wproc CHANGING status = rc EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 tab_in_report_field_in_pe03 = 6 OTHERS = 7.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING OBJECT = p_appl_obj NAME = p_pc3ac_idtxt ID = p_appl_id LANGUAGE = p_letter_language TABLES SELECTIONS = header_tab EXCEPTIONS WRONG_ACCESS_TO_ARCHIVE = 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 MPAP3F10 or its description.