SAP Reports / Programs | Personnel Management | Budget Management(PA-PM) SAP PA

MP1501F1 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RH_PM_PBO_TAR_FIELDS CALL FUNCTION 'RH_PM_PBO_TAR_FIELDS' EXPORTING ps_1501 = p1501 pd_mode = l_fcode.

RH_PM_PBO_DIKEY CALL FUNCTION 'RH_PM_PBO_DIKEY' EXPORTING ps_1501 = p1501 pd_mode = pppar-fcode.

RH_PM_BEFORE_PAI_SPEC CALL FUNCTION 'RH_PM_BEFORE_PAI_SPEC' EXPORTING ps_1501 = p1501 pd_tarif_fields_changed = gd_tarif_fields_changed.

RH_PM_PAI_TAR_FIELDS CALL FUNCTION 'RH_PM_PAI_TAR_FIELDS' IMPORTING ps_1501 = ls_1501 pd_changed = ld_changed.

RH_PM_FCODE_DIKEY CALL FUNCTION 'RH_PM_FCODE_DIKEY' CHANGING pd_fcode = ok-code.

RH_PM_READ_INFTY CALL FUNCTION 'RH_PM_READ_INFTY' EXPORTING act_plvar = ps_1501-plvar act_otype = ps_1501-otype act_objid = ps_1501-objid act_begda = ps_1501-begda act_endda = ps_1501-endda act_istat = ps_1501-istat act_infty = '1502' * ACT_SUBTY = * AUTHORITY = 'DISP' TABLES innnn = lt_1502 EXCEPTIONS OTHERS = 1.

RH_PM_F4_RATING CALL FUNCTION 'RH_PM_F4_RATING' EXPORTING molga = ps_p1501-molga trfar = ps_p1501-trfar trfgb = ps_p1501-trfgb trfkz = ps_p1501-trfkz kglst = ps_p1501-kglst ausart = ' ' begda = ps_p1501-begda endda = ps_p1501-begda "Andy! endda display_flag = ld_display IMPORTING sel_val = ld_trfgr EXCEPTIONS no_value_selected = 1.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = pd_prog dynumb = pd_dynnr TABLES dynpfields = lt_dyntab EXCEPTIONS OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = pd_prog dynumb = pd_dynnr * perform_conversion_exits = 'X' * perform_input_conversion = 'X' TABLES dynpfields = lt_dyntab EXCEPTIONS OTHERS = 0.

CONVERT_DATE_TO_INTERNAL * CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' * EXPORTING * date_external = lt_dyntab-fieldvalue * IMPORTING * date_internal = pd_begda * EXCEPTIONS * OTHERS = 1.

CONVERT_DATE_TO_INTERNAL * CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' * EXPORTING * date_external = lt_dyntab-fieldvalue * IMPORTING * date_internal = pd_endda * EXCEPTIONS * OTHERS = 1.

RHOM_READ_INFTY_BUFFERED CALL FUNCTION 'RHOM_READ_INFTY_BUFFERED' EXPORTING PLVAR = G_INFO-PLVAR OTYPE = G_INFO-OTYPE OBJID = G_INFO-OBJID INFTY = '1501' ISTAT = G_INFO-ISTAT TABLES INFTY_DAT = LT_P1501 EXCEPTIONS NO_ACTIVE_PLVAR = 1 OTHERS = 2.

RHOM_READ_INFTY_BUFFERED CALL FUNCTION 'RHOM_READ_INFTY_BUFFERED' EXPORTING PLVAR = G_INFO-PLVAR OTYPE = G_INFO-OTYPE OBJID = G_INFO-OBJID INFTY = '1500' TABLES INFTY_DAT = LT_P1500 EXCEPTIONS NO_ACTIVE_PLVAR = 1 OTHERS = 2.

RH_OM_PERIODS_INIT CALL FUNCTION 'RH_OM_PERIODS_INIT' EXPORTING DISPLAY_ONLY = l_periods_display_only IGNORE_OBJECT_TIME = ' ' IMPORTING PERIOD_PROGRAM = G_SAV_REPID PERIOD_SUBSCREEN = G_SAV_DYNNR ACT_PERIOD = G_INFO-PERIOD TABLES CHECK_PERIODS = LT_PERIODS.

RH_OM_DETAILSCREEN_GET_OKCODE CALL FUNCTION 'RH_OM_DETAILSCREEN_GET_OKCODE' IMPORTING act_okcode = l_okcode.

NF_GM_REFRESH_CURRENT_OBJECTS CALL FUNCTION 'NF_GM_REFRESH_CURRENT_OBJECTS' EXPORTING send_to_detail = 'X'.

NF_GM_REFRESH_CURRENT_OBJECTS * CALL FUNCTION 'NF_GM_REFRESH_CURRENT_OBJECTS' * EXPORTING * send_to_detail = 'X'.

NF_GM_REFRESH_CURRENT_OBJECTS CALL FUNCTION 'NF_GM_REFRESH_CURRENT_OBJECTS' EXPORTING send_to_detail = 'X'.

NF_GM_REFRESH_CURRENT_OBJECTS





CALL FUNCTION 'NF_GM_REFRESH_CURRENT_OBJECTS' EXPORTING send_to_detail = 'X'.

RHOM_WRITE_INFTY_BUFFERED CALL FUNCTION 'RHOM_WRITE_INFTY_BUFFERED' EXPORTING fcode = 'DEL' plvar = p_p1501-plvar otype = p_p1501-otype objid = p_p1501-objid infty = '1501' begda = p_p1501-begda endda = p_p1501-endda worst_msgty = 'E' TABLES innnn_exp = lt_1501 EXCEPTIONS no_active_plvar = 1 write_error = 2 infty_not_allowed = 3.

RH_OM_DETAILSCREEN_GETDATA CALL FUNCTION 'RH_OM_DETAILSCREEN_GETDATA' IMPORTING scenario = c_info-scenario class_key = c_info-class_key main_object = l_main_object date = c_info-key_date relat_object = l_relat_object detail_date = c_info-detail_date changemode = c_info-changemode refr = c_info-refr tabtype = c_info-tabtype selmode = c_info-seldate_mode dates_changed = c_info-dates_changed input_done = c_info-input_done tabchanged = c_info-tabchanged exit_command = c_info-exit_command TABLES loc_values = c_info-tabtype_data.

RHF4_TEXT_OTYPE CALL FUNCTION 'RHF4_TEXT_OTYPE' EXPORTING otype = c_info-otype IMPORTING otext = c_info-otext EXCEPTIONS OTHERS = 0.

RH_OM_PERIOD_GET CALL FUNCTION 'RH_OM_PERIOD_GET' IMPORTING period = c_info-period upd_period = c_info-upd_period seldate_mode = c_info-seldate_mode EXCEPTIONS OTHERS = 0.

RHOM_WRITE_INFTY_BUFFERED CALL FUNCTION 'RHOM_WRITE_INFTY_BUFFERED' EXPORTING plvar = p_info-plvar otype = p_info-otype objid = p_info-objid infty = '1501' istat = '1' begda = p_info-upd_period-begda endda = p_info-upd_period-endda TABLES innnn_exp = pt1501 EXCEPTIONS no_active_plvar = 1 write_error = 2 infty_not_allowed = 3 OTHERS = 4.

RHOM_WRITE_INFTY_BUFFERED CALL FUNCTION 'RHOM_WRITE_INFTY_BUFFERED' EXPORTING fcode = 'DEL' plvar = p_p1501-plvar otype = p_p1501-otype objid = p_p1501-objid infty = '1501' begda = p_p1501-begda endda = p_p1501-endda worst_msgty = 'E' TABLES innnn_exp = lt_1501 EXCEPTIONS no_active_plvar = 1 write_error = 2 infty_not_allowed = 3.

OM_DISPLAY_BEGDA_POPUP CALL FUNCTION 'OM_DISPLAY_BEGDA_POPUP' EXPORTING initial_date = p_p1501-endda check_low_date = p_p1501-begda check_high_date = p_p1501-endda popup_title = 'Terminieren zum...'(005)

RHOM_CHANGE_INFTY_BUFFERED CALL FUNCTION 'RHOM_CHANGE_INFTY_BUFFERED' EXPORTING fcode = 'CUTI' gdate = termination_date TABLES innnn_exp = lt_1501 EXCEPTIONS OTHERS = 1.



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