SAP Reports / Programs | Personnel Management | Personnel Administration | Singapore(PA-PA-SG) SAP PA

MP074140 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING * CLIENT = SY-MANDT database_only = 'X' "read only from DB * TEXTMEMORY_ONLY = ' ' object = c_text_object name = ls_header-tdname id = c_text_id * LANGUAGE = '*' * ARCHIVE_HANDLE = 0 * LOCAL_CAT = ' ' * IMPORTING * ENTRIES = TABLES selections = lt_sapscript_thead * T_OBJECT = * T_NAME = * T_ID = * T_LANGUAGE = * I_NAME = EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING * CLIENT = SY-MANDT id = c_text_id language = c_text_language name = ls_header-tdname object = c_text_object * ARCHIVE_HANDLE = 0 * LOCAL_CAT = ' ' * IMPORTING * HEADER = TABLES lines = lt_sapscript_tline EXCEPTIONS id = 0 language = 1 name = 2 not_found = 3 object = 4 reference_check = 5 wrong_access_to_archive = 6 OTHERS = 7.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'KEY_FIELD' pvalkey = 'X' dynpprog = l_repid dynpnr = l_dynnr * DYNPROFIELD = * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' * VALUE_ORG = 'S' * MULTIPLE_CHOICE = ' ' display = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = lt_valuetab field_tab = lt_fields * RETURN_TAB = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING * CLIENT = SY-MANDT id = c_text_id language = 'E' name = l_text_name object = c_text_object * SAVEMODE_DIRECT = ' ' * TEXTMEMORY_ONLY = ' ' * LOCAL_CAT = ' ' EXCEPTIONS not_found = 1 OTHERS = 2 .

COMMIT_TEXT CALL FUNCTION 'COMMIT_TEXT' EXPORTING object = c_text_object * NAME = '*' * ID = '*' * LANGUAGE = '*' savemode_direct = 'X' * KEEP = ' ' * LOCAL_CAT = ' ' IMPORTING commit_count = l_count.

CONVERT_STREAM_TO_ITF_TEXT CALL FUNCTION 'CONVERT_STREAM_TO_ITF_TEXT' TABLES text_stream = lt_text_stream itf_text = lt_sapscript_tline.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING * CLIENT = SY-MANDT header = ls_header * INSERT = ' ' * SAVEMODE_DIRECT = ' ' * OWNER_SPECIFIED = ' ' * LOCAL_CAT = ' ' * IMPORTING * FUNCTION = * NEWHEADER = TABLES lines = lt_sapscript_tline EXCEPTIONS id = 1 language = 2 name = 3 object = 4 OTHERS = 5.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING * CLIENT = SY-MANDT id = c_text_id language = 'E' name = l_text_name object = c_text_object savemode_direct = p_direct_flag * TEXTMEMORY_ONLY = ' ' * LOCAL_CAT = ' ' EXCEPTIONS 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 MP074140 or its description.