SAP Reports / Programs | Payroll | Payroll: General Parts(PY-XX) SAP PY

MPDSYF01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

HRDSYS_DOCU_EDIT CALL FUNCTION 'HRDSYS_DOCU_EDIT' EXPORTING otype = $loio-lotype oname = $loio-loname molga = $loio-lmolga change_mode = $chmd transportflag = c_true EXCEPTIONS wrong_otype = 1 loio_not_found = 2 internal_error = 3 cancel_editor = 4 nothing_changed = 5 OTHERS = 6.

HRDSYS_DELETE_DOCU_OF_OBJECT CALL FUNCTION 'HRDSYS_DELETE_DOCU_OF_OBJECT' EXPORTING * CLIENT = SY-MANDT molga = $loio-lmolga oname = $loio-loname otype = $loio-lotype transportflag = 'X' EXCEPTIONS wrong_otype = 1 not_found = 2 internal_error = 3 OTHERS = 4.

HRDSYS_SET_CLIENT_AND_SWITCHES CALL FUNCTION 'HRDSYS_SET_CLIENT_AND_SWITCHES' EXPORTING multisel = c_true.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'DSYS_DOCU_SEARCH' fieldname = 'LONAME' searchhelp = 'DSYS_DOCU_SEARCH' * SHLPPARAM = ' ' dynpprog = 'SAPMPDSY' dynpnr = '1000' callback_program = 'SAPMPDSY' callback_form = 'OBJECT_FIND_CALLBACK' TABLES return_tab = rettbl EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.

HRDSYS_RESET_SEARCH_FIELDS CALL FUNCTION 'HRDSYS_RESET_SEARCH_FIELDS'.

HRDSYS_LOIO_CREATE CALL FUNCTION 'HRDSYS_LOIO_CREATE' EXPORTING * CLIENT = SY-MANDT molga = $loio-lmolga oname = $loio-loname otype = $loio-lotype * ORIGINAL_LANGU = SY-LANGU description = $loio-lodesc transportflag = c_true IMPORTING exist_already = exists we_trkorr = transp EXCEPTIONS OTHERS = 4.

HRDSYS_DOCU_EDIT CALL FUNCTION 'HRDSYS_DOCU_EDIT' EXPORTING otype = $loio-lotype oname = $loio-loname molga = $loio-lmolga change_mode = c_true transportflag = c_true wi_trkorr = transp EXCEPTIONS OTHERS = 6.

HRDSYS_LOIO_SOURCES_GET CALL FUNCTION 'HRDSYS_LOIO_SOURCES_GET' EXPORTING * CLIENT = SY-MANDT otype = $otype TABLES sources = sources EXCEPTIONS otype_not_found = 1 internal_error = 2 OTHERS = 3.

HRDSYS_DOCU_SHOW * CALL FUNCTION 'HRDSYS_DOCU_SHOW' * EXPORTING * OTYPE = $LOIO-LOTYPE * ONAME = $LOIO-LONAME * MOLGA = $LOIO-LMOLGA * EXCEPTIONS * WRONG_OTYPE = 1 * LOIO_NOT_FOUND = 2 * INTERNAL_ERROR = 3 * OTHERS = 4.

HRDSYS_TRANSPORT_DOCU_ALWAYS CALL FUNCTION 'HRDSYS_TRANSPORT_DOCU_ALWAYS' EXPORTING molga = $loio-lmolga oname = $loio-loname otype = $loio-lotype EXCEPTIONS OTHERS = 3.

HRDSYS_OTYPE_ATTRIB_GET_NEW CALL FUNCTION 'HRDSYS_OTYPE_ATTRIB_GET_NEW' EXPORTING otype = otype * BYPASS_BUFFERING = ' ' * NO_ERRORS = ' ' IMPORTING otype_attrib = attrib EXCEPTIONS otype_not_found = 1 OTHERS = 2.

HRDSYS_OBJECT_CHECK_EXIST CALL FUNCTION 'HRDSYS_OBJECT_CHECK_EXIST' EXPORTING otype = otype oname = oname molga = molga EXCEPTIONS object_does_not_exist = 4 OTHERS = 6.

HRDSYS_OBJECT_CHECK_EXIST CALL FUNCTION 'HRDSYS_OBJECT_CHECK_EXIST' EXPORTING otype = otype oname = oname molga = molga EXCEPTIONS object_does_not_exist = 4 OTHERS = 6.

HRDSYS_SYSTEM_INFO_GET CALL FUNCTION 'HRDSYS_SYSTEM_INFO_GET' IMPORTING systemtype = systemtype dev_system = dev_system EXCEPTIONS internal_error = 1 OTHERS = 2.

HRDSYS_OTYPE_ATTRIB_GET_NEW CALL FUNCTION 'HRDSYS_OTYPE_ATTRIB_GET_NEW' EXPORTING otype = otype IMPORTING sap_cust_mandt = cust_mandt EXCEPTIONS otype_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * DEFAULTOPTION = 'Y' textline1 = $text1 textline2 = $text2 titel = $title cancel_display = $show_cancel IMPORTING answer = $answer.

HRDSYS_OTYPE_ATTRIB_GET_NEW CALL FUNCTION 'HRDSYS_OTYPE_ATTRIB_GET_NEW' EXPORTING otype = otype bypass_buffering = c_true no_errors = c_true IMPORTING otype_attrib = $attrib text = $text-text sap_maintenance = $sapc cust_docu_source = $cust std_docu_source = $std sap_docuclass = $sap_class EXCEPTIONS otype_not_found = 1 OTHERS = 2.

HRDSYS_OTYPE_ATTRIB_SAVE CALL FUNCTION 'HRDSYS_OTYPE_ATTRIB_SAVE' EXPORTING otype_attrib = $attrib otype_text = $text otype_cust = $cust otype_sapc = $sapc otype_std = $std * TRANSPORTFLAG = 'X' * WI_TRKORR = test_mode = c_true * IMPORTING * WE_TRKORR = EXCEPTIONS transport_cancelled = 1 show_only = 2 OTHERS = 3.

HRDSYS_OBJECTTAB_ATTRIB_GET





CALL FUNCTION 'HRDSYS_OBJECTTAB_ATTRIB_GET' EXPORTING tabname = $data-objtab IMPORTING molgadep = molgadep cltdep = cltdep class = class txttab = txttab EXCEPTIONS wrong_table = 1 OTHERS = 2.

HRDSYS_OTYPE_ATTRIB_CHECK CALL FUNCTION 'HRDSYS_OTYPE_ATTRIB_CHECK' EXPORTING otype_attrib = $attrib otype_text = $text otype_sapc = $sapc otype_cust = $cust otype_std = $std IMPORTING no_change = no_change new_class = new_class sap_namerange = sap_namerange upgrade_required = upgrade_required EXCEPTIONS attributes_incorrect = 1 internal_error = 2 OTHERS = 3.

HRDSYS_OTYPE_ATTRIB_SAVE CALL FUNCTION 'HRDSYS_OTYPE_ATTRIB_SAVE' EXPORTING otype_attrib = $attrib otype_text = $text otype_cust = $cust otype_sapc = $sapc otype_std = $std transportflag = c_true * WI_TRKORR = * TEST_MODE = ' ' * IMPORTING * WE_TRKORR = EXCEPTIONS transport_cancelled = 1 OTHERS = 2.

HRDSYS_OTYPE_DELETE CALL FUNCTION 'HRDSYS_OTYPE_DELETE' EXPORTING otype = otype * WI_TRKORR = * IMPORTING * WE_TRKORR = EXCEPTIONS transport_cancelled = 1 docu_exists = 2 otype_not_found = 3 OTHERS = 4.

HRDSYS_LOIO_GET_FROM_ATTRIB CALL FUNCTION 'HRDSYS_LOIO_GET_FROM_ATTRIB' EXPORTING otype = otype oname = oname IMPORTING loio_id = loio EXCEPTIONS otype_not_found = 1 missing_molga = 2 internal_error = 3 tadir_error = 4 OTHERS = 5.

HRDSYS_PHIO_SINGLE_TO_SHOW CALL FUNCTION 'HRDSYS_PHIO_SINGLE_TO_SHOW' EXPORTING loio_id = loio IMPORTING phio_id = phio EXCEPTIONS internal_error = 1 no_phio_found = 2 OTHERS = 3.

HRDSYS_PHIO_EDIT CALL FUNCTION 'HRDSYS_PHIO_EDIT' EXPORTING loio_id = loio phio_id = phio allow_change_mode = c_false first_changemode = c_false " WLIPH9K000640 * TRANSPORTFLAG = ' ' * WI_TRKORR = ' ' * IMPORTING * WE_TRKORR = EXCEPTIONS internal_error = 1 phio_not_found = 2 nothing_changed = 3 cancel_editor = 4 OTHERS = 5.

HRDSYS_LOIO_CREATE CALL FUNCTION 'HRDSYS_LOIO_CREATE' EXPORTING oname = oname otype = otype description = otxt transportflag = c_true wi_trkorr = trkorr IMPORTING * LOIO_ID = we_trkorr = trkorr EXCEPTIONS OTHERS = 4.

HRDSYS_DOCU_EDIT CALL FUNCTION 'HRDSYS_DOCU_EDIT' EXPORTING otype = otype oname = oname * MOLGA = doctitle = $otext change_mode = c_true transportflag = c_true wi_trkorr = trkorr EXCEPTIONS OTHERS = 6.

HRDSYS_SET_CLIENT_AND_SWITCHES CALL FUNCTION 'HRDSYS_SET_CLIENT_AND_SWITCHES' EXPORTING mandt = source_client multisel = c_true copymode = c_true.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'DSYS_DOCU_SEARCH' fieldname = 'LONAME' searchhelp = 'DSYS_DOCU_SEARCH' * SHLPPARAM = ' ' dynpprog = 'SAPMPDSY' dynpnr = '1000' callback_program = 'SAPMPDSY' callback_form = 'OBJECT_FIND_CALLBACK' TABLES return_tab = rettbl EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.

HRDSYS_RESET_SEARCH_FIELDS CALL FUNCTION 'HRDSYS_RESET_SEARCH_FIELDS'.

HRDSYS_DOCU_COPY CALL FUNCTION 'HRDSYS_DOCU_COPY' EXPORTING * SCLIENT = SY-MANDT sotype = from_docu-lotype smolga = from_docu-lmolga soname = from_docu-loname * TCLIENT = SY-MANDT totype = to_docu-lotype tmolga = to_docu-lmolga toname = to_docu-loname * TDESCRIPT = transportflag = c_true * WI_TRKORR = * NO_LANGU_POPUP = * KEEP_MASTERLANG = ' ' * IMPORTING * WE_TRKORR = EXCEPTIONS wrong_otype = 1 transport_error = 2 sobject_not_found = 3 tobject_exists = 4 internal_error = 5 OTHERS = 6.



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