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

MP078340 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

HRFPM_ADT_READ_SYSTEM_SWITCHES CALL FUNCTION 'HRFPM_ADT_READ_SYSTEM_SWITCHES' IMPORTING ep_flg_use_grp = l_flg_use_adt_grp.

HRFPM_ADT_ADTKEY_DD_LISTBOX * CALL FUNCTION 'HRFPM_ADT_ADTKEY_DD_LISTBOX' * EXPORTING ** plvar = * otype = 'P' * objid = p0783-pernr * sel_date = p0783-begda * istat = '1' * mgrp = q0783-mgrp * sgrp = q0783-sgrp * ip_dynnr = sy-dynnr ** IP_REPID = SY-REPID * dynprofield = 'P0783-ADTKEY'.

HRFPM_ADT_ADTKEY_TAB_FOR_DD CALL FUNCTION 'HRFPM_ADT_ADTKEY_TAB_FOR_DD' EXPORTING * PLVAR = otype = 'P' objid = p0783-pernr sel_date = p0783-begda istat = '1' mgrp = q0783-mgrp sgrp = q0783-sgrp subty = p0783-subty "WG/OSS/1672962 no_message = space iv_add_stored_values = space IMPORTING et_adtkey_f4 = lt_adtkey_f4.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ADTKEY' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'Q0783-ADTKEY' value_org = 'S' display = space TABLES value_tab = lt_adtkey_f4.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'MGRP' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P0783-MGRP' value_org = 'S' display = space TABLES value_tab = lt_value.

HRFPM_ADT_SGRP_DD_LISTBOX CALL FUNCTION 'HRFPM_ADT_SGRP_DD_LISTBOX' EXPORTING * IP_DYNNR = SY-DYNNR * IP_REPID = SY-REPID ip_dynprofield = 'Q0783-SGRP' ip_hrfpm_mgrp = q0783-mgrp.

HRFPM_GET_ORGGROUPING CALL FUNCTION 'HRFPM_GET_ORGGROUPING' EXPORTING * plvar = otype = 'P' objid = p0783-pernr sel_date = p0783-begda istat = '1' "WGOSS1425867 replace = l_flg_replace "g_flg_adt_grps_replace inheritance = l_flg_inheritance subty = p0783-subty IMPORTING mgrp = q0783-mgrp " l_mgrp sgrp = q0783-sgrp "l_sgrp SOURCE = q0783-source "l_source inherited = l_flg_inherited EXCEPTIONS nothing_found = 1 OTHERS = 2.

HRFPM_GET_ADTKEY CALL FUNCTION 'HRFPM_GET_ADTKEY' EXPORTING * plvar = otype = 'P' mgrp = q0783-mgrp sgrp = q0783-sgrp objid = p0783-pernr sel_date = p0783-begda istat = '1' subty = p0783-subty "WGOSS1535218 force_adt_key_derivation = lv_force_derivation IMPORTING adtkey = p0783-adtkey * TEXT = * ADTKEY_T = .

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'SUBTY' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'p0783-SUBTY' "#EC NOTEXT value_org = 'S' display = space TABLES value_tab = lt_value.

HRFPM_ADT_READ_SYSTEM_SWITCHES CALL FUNCTION 'HRFPM_ADT_READ_SYSTEM_SWITCHES' IMPORTING ep_flg_use_grp = lv_adt_grp_actv.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = ls_object-plvar EXCEPTIONS OTHERS = 0.



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