SAP Reports / Programs

MP086340 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = l_wa_interface_hr_maint-pernr.

BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = l_wa_interface_hr_maint-pernr.

BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = l_wa_interface_hr_maint-pernr.

BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = l_wa_interface_hr_maint-pernr.

HR_99S_READ_INFOTYPE CALL FUNCTION 'HR_99S_READ_INFOTYPE' EXPORTING im_pernr = p0863-pernr im_begda = low_date im_endda = high_date im_infty = '0863' IMPORTING ex_tab_infty = l_tab_p0863.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING client = sy-mandt id = l_wa_del_quali-tdid language = sy-langu name = l_wa_del_quali-tdname object = l_wa_del_quali-tdobject savemode_direct = 'X' EXCEPTIONS OTHERS = 0.

HR_99S_READ_INFOTYPE CALL FUNCTION 'HR_99S_READ_INFOTYPE' EXPORTING im_pernr = p0863-pernr im_begda = low_date im_endda = high_date im_infty = '0863' IMPORTING ex_tab_infty = l_tab_p0863.

ARCHIVOBJECT_DISPLAY CALL FUNCTION 'ARCHIVOBJECT_DISPLAY' EXPORTING archiv_doc_id = ls_objconn-arc_doc_id archiv_id = ls_objconn-archiv_id objecttype = ls_objconn-sap_object object_id = ls_objconn-object_id ar_object = ls_objconn-ar_object window_id = ls_objconn-ar_object "#EC DOM_EQUAL window_title = 'Attestation'(007) doc_type = ls_doctype EXCEPTIONS error_archiv = 1 error_communicationtable = 2 error_kernel = 3 OTHERS = 4.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING client = sy-mandt id = '0001' language = sy-langu name = l_wa_thead-tdname object = l_wa_thead-tdobject savemode_direct = 'X' EXCEPTIONS OTHERS = 0.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING client = sy-mandt id = l_wa_thead-tdid language = sy-langu name = l_wa_thead-tdname object = l_wa_thead-tdobject savemode_direct = 'X' EXCEPTIONS OTHERS = 0.

ARCHIV_GET_CONNECTIONS CALL FUNCTION 'ARCHIV_GET_CONNECTIONS' EXPORTING objecttype = ls_object object_id = ls_objectid client = sy-mandt from_ar_date = low_date until_ar_date = high_date IMPORTING count = ls_objcount TABLES connections = tab_objconn EXCEPTIONS nothing_found = 1 OTHERS = 2.

ARCHIV_DELETE_META CALL FUNCTION 'ARCHIV_DELETE_META' EXPORTING archiv_id = ls_objconn-archiv_id arc_doc_id = ls_objconn-arc_doc_id ar_object = ls_objconn-ar_object delete_flag = 2 "Verkn.+Obj. 3=nur Verkn.



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