SAP Reports / Programs

MP029840 SAP ABAP INCLUDE - IncludeLHRPADRUTILITIESTOP







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

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_RU_PERSONS_FROM_ORDER CALL FUNCTION 'HR_RU_PERSONS_FROM_ORDER' EXPORTING p_p0298 = p0298 IMPORTING massn = massn massg = massg subty = subty TABLES pnr = pnr.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = '33ORD' struc_content = l_s_pme04 IMPORTING back = 33ord 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_RU_PRINT_ORDER CALL FUNCTION 'HR_RU_PRINT_ORDER' EXPORTING molga = pme04-molga land1 = t500p-land1 massn = massn massg = massg subty = subty begda = p0298-begda endda = p0298-begda ordnu = p0298-ordnu orddt = p0298-orddt variant = 33ord maspr = ' ' noarch = lv_noarch TABLES pnr = pnr CHANGING docid = p0298-docid.

HR_RU_GET_AUTO_NUMBER CALL FUNCTION 'HR_RU_GET_AUTO_NUMBER' EXPORTING P_PME04 = PME04 ORDDT = p0298-ORDDT FLAG = 'NEW' IMPORTING ORDNU = P0298-ORDNU.

HR_RU_READ_MASS_TEXT CALL FUNCTION 'HR_RU_READ_MASS_TEXT' EXPORTING sprsl = sy-langu massn = p0298-massn massg = p0298-massg fr530 = space masss = p0298-masss todat = p0298-begda * SH530 = ' ' IMPORTING mstxt = t7rurst-mstxt mltxt = t7rurst-mltxt mltxt_long = mltxt_long.

RH_EDITOR_SET CALL FUNCTION 'RH_EDITOR_SET' EXPORTING REPID = 'MP029800' DYNNR = '2000' CONTROLNAME = 'EDIT_CONTROL' MAX_COLS = 75 MAX_LINES = 11 SHOW_TOOL = ' ' SHOW_STATUS = ' ' DISPLAY_MODE = 'X' TABLES LINES = LT_LINES EXCEPTIONS CREATE_ERROR = 1 INTERNAL_ERROR = 2 OTHERS = 3.

HR_RU_SLPIT_STRING0 * CALL FUNCTION 'HR_RU_SLPIT_STRING0' * EXPORTING * string = string * length = 80 * separator = separator * TABLES * split = split.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = '33CHF' struc_content = l_s_pme04 kind_of_error = 2 IMPORTING back = p0298-chper 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_RU_GET_MANAGER_DATA_IT0298 CALL FUNCTION 'HR_RU_GET_MANAGER_DATA_IT0298' EXPORTING i0298 = p0298 IMPORTING e_cname = pru0298-chnam e_plans = pru0298-plstx.

HR_RU_ORDER_ARCH_DOC_LIST CALL FUNCTION 'HR_RU_ORDER_ARCH_DOC_LIST' EXPORTING iv_pernr = p0298-pernr iv_doc_id = p0298-docid TABLES ct_docs = lt_docs.

HR_RU_ORDER_ARCH_DOC_LIST CALL FUNCTION 'HR_RU_ORDER_ARCH_DOC_LIST' EXPORTING iv_doc_id = p0298-docid TABLES ct_docs = lt_docs.

ARCHIV_DISPLAY_LIST CALL FUNCTION 'ARCHIV_DISPLAY_LIST' TABLES archivtreffer = lt_docs EXCEPTIONS error_archiv = 1 OTHERS = 2.

HR_RU_PERSONS_FROM_ORDER CALL FUNCTION 'HR_RU_PERSONS_FROM_ORDER' EXPORTING p_p0298 = p0298 TABLES pnr = lt_pnr.

HR_RU_ORDER_ARCH_DOC_LIST CALL FUNCTION 'HR_RU_ORDER_ARCH_DOC_LIST' EXPORTING iv_doc_id = p0298-docid TABLES ct_docs = lt_doc1.

HR_RU_ORDER_ARCH_DOC_LIST CALL FUNCTION 'HR_RU_ORDER_ARCH_DOC_LIST' EXPORTING iv_pernr = p0298-pernr iv_doc_id = p0298-docid TABLES ct_docs = lt_docs.

HR_RU_ORDER_ARCH_DOC_LIST CALL FUNCTION 'HR_RU_ORDER_ARCH_DOC_LIST' EXPORTING iv_doc_id = p0298-docid TABLES ct_docs = lt_docs.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = lv_text display_cancel_button = space IMPORTING answer = lv_answer.

HR_RU_ORDER_ARCH_DOC_DELETE CALL FUNCTION 'HR_RU_ORDER_ARCH_DOC_DELETE' TABLES ct_docs = lt_docs.

HR_RU_ORDER_ARCH_DOC_DELETE





CALL FUNCTION 'HR_RU_ORDER_ARCH_DOC_DELETE' TABLES ct_docs = lt_docs.

HR_99S_GET_TEXT_ID CALL FUNCTION 'HR_99S_GET_TEXT_ID' EXPORTING iv_infty = p0298-infty iv_subty = p0298-subty iv_pernr = p0298-pernr iv_tdobject = gc_tdobj iv_tdid = gc_tdid IMPORTING iv_prefix = p0298-lgtxt EXCEPTIONS no_prefix_available = 1 OTHERS = 2.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = p_tdid language = sy-langu name = p_text_name object = p_tdobj IMPORTING header = ls_thead TABLES lines = lt_linetab EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING display = p_display header = ls_thead TABLES lines = lt_linetab EXCEPTIONS id = 1 language = 2 linesize = 3 name = 4 object = 5 textformat = 6 communication = 7 OTHERS = 8.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = 'ST' "gc_tdid language = sy-langu name = p_old_text_name object = 'TEXT' "gc_tdobj IMPORTING header = ls_thead TABLES lines = lt_linetab EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING header = ls_thead TABLES lines = lt_linetab EXCEPTIONS id = 1 language = 2 linesize = 3 name = 4 object = 5 textformat = 6 communication = 7 OTHERS = 8.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING id = gc_tdid language = sy-langu name = p_text_name object = gc_tdobj 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 MP029840 or its description.