MP51EF10 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 MP51EF10 into the relevant SAP transactions such as SE38 or SE80
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.
Title: PT40: Common Routines
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = TCODE EXCEPTIONS OK = 0 NOT_OK = 1 OTHERS = 2.
SUSR_AUTHORITY_CHECK_S_TCODE CALL FUNCTION 'SUSR_AUTHORITY_CHECK_S_TCODE' EXPORTING TCODE = TCODE IMPORTING RC = SUBRC EXCEPTIONS OTHERS = 1.
HR_PSEL_EXISTENCE_CHECK CALL FUNCTION 'HR_PSEL_EXISTENCE_CHECK' EXPORTING CHECK_TCODE = SY-TCODE CHECK_UNAME = SY-UNAME IMPORTING CHECK_ANSWER = ANSWER.
HR_PSEL_SELECTION_CALLED CALL FUNCTION 'HR_PSEL_SELECTION_CALLED' IMPORTING CALL_ANSWER = ANSWER.
HR_PSEL_PERSONS_ADD CALL FUNCTION 'HR_PSEL_PERSONS_ADD' EXPORTING ADD_PERNR = RP51E-PERNR IMPORTING ADD_LINES = SY-TFILL ADD_POSID = SY-TABIX TABLES ADD_PERNRS = SELECTION_PERNRS.
HR_PSEL_PERSONS_DISPLAY CALL FUNCTION 'HR_PSEL_PERSONS_DISPLAY' EXPORTING show_repid = sy-cprog show_dynnr = sy-dynnr show_begda = sy-datum show_endda = sy-datum TABLES show_pernrs = selection_pernrs.
HR_PSEL_PERSONS_SELECT CALL FUNCTION 'HR_PSEL_PERSONS_SELECT' EXPORTING SEL_VIEW_NAME = 'PNP_PT50_SEL_PERNR' SEL_PROFILE = 'SAP_PT50' TABLES SEL_PERNRS = SELECTION_PERNRS EXCEPTIONS NO_VIEW_NAME_SPECIFIED = 1 NO_PROFILE_SPECIFIED = 2 NO_PERSON_SELECTED = 3 SELECTION_CANCELED = 4.
HR_PSEL_PERSONS_DISPLAY CALL FUNCTION 'HR_PSEL_PERSONS_DISPLAY' EXPORTING SHOW_REPID = 'SAPMP51E' SHOW_DYNNR = SY-DYNNR IMPORTING SHOW_PERNR = RP51E-PERNR SHOW_TREE = TREE SHOW_POPUP = HANDLE TABLES SHOW_PERNRS = SELECTION_PERNRS.
TREEV_GET_EP_EXPAND_NC CALL FUNCTION 'TREEV_GET_EP_EXPAND_NC' EXPORTING HANDLE = TREE IMPORTING NODE_KEY = NODE_KEY EXCEPTIONS FAILED = 1 OTHERS = 2.
TREEV_GET_EP_NODE_DBL_CLK CALL FUNCTION 'TREEV_GET_EP_NODE_DBL_CLK' EXPORTING HANDLE = TREE IMPORTING NODE_KEY = NODE_KEY EXCEPTIONS FAILED = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.