SAP Reports / Programs | Structures Workbench | Defense Forces and Public Security | Structures Workbench(IS-DFS-OF-FDP) SAP IS

MP074840 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = p0748-plvar otype = p0748-sclas realo = p0748-sobid IMPORTING stext = gv_sobid_stext obeg = lv_begda oend = lv_endda EXCEPTIONS not_found = 1 OTHERS = 2.

/ISDFPS/GENTAB_GET_RELATIONS CALL FUNCTION '/ISDFPS/GENTAB_GET_RELATIONS' EXPORTING plvar = p0748-plvar otype = p0748-sclas objid = lv_hrobjid rsign = 'A' relat = lv_relat sclas = 'O' begda = lv_begda endda = lv_endda svect = '1' "only active relats! refresh = space TABLES disp_tab = lt_opex_tree_objec relat_tab = gt_opex_tree_struc EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

/ISDFPS/GENTAB_GET_RELATIONS * CALL FUNCTION '/ISDFPS/GENTAB_GET_RELATIONS' * EXPORTING * plvar = p0748-plvar * otype = p0748-sclas * objid = lv_hrobjid * rsign = 'B' * relat = '290' * sclas = 'O' * begda = p0748-begda * endda = p0748-endda * svect = '1' "only active relats! * refresh = space * TABLES * disp_tab = lt_opex_tree_objec_tmp * relat_tab = lt_opex_tree_struc_tmp * EXCEPTIONS * no_active_plvar = 1 * OTHERS = 2.

/ISDFPS/GET_RELAT_OPEX_INFO CALL FUNCTION '/ISDFPS/GET_RELAT_OPEX_INFO' TABLES ct_tree_struc = gt_opex_tree_struc et_tree_opex_info = gt_opex_tree_opex_info.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = p0748-plvar otype = 'O' objid = -operation_id IMPORTING stext = lv_opex_stext EXCEPTIONS not_found = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'P0748-OPERATION_ID' values = lt_vrm_value.

RHOM_READ_INFTY_BUFFERED CALL FUNCTION 'RHOM_READ_INFTY_BUFFERED' EXPORTING plvar = p0748-plvar otype = 'O' objid = p0748-operation_id infty = '1956' subty = lv_infty_1956_subtyp istat = '1' "only active record! buffer_mode = 'X' TABLES infty_dat = lt_p1956_exp EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'P0748-CON_ID' values = lt_vrm_value.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'P0748-SCLAS' values = lt_vrm_value.

RH_GET_PLVAR CALL FUNCTION 'RH_GET_PLVAR' IMPORTING plvar = p0748-plvar.

RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = lv_seark win_title = text-003 plvar = p0748-plvar otype = p0748-sclas IMPORTING sel_object = ls_objec EXCEPTIONS f15 = 1 wrong_condition = 2 nothing_found = 3 OTHERS = 4.

HR_READ_SUBTYPE CALL FUNCTION 'HR_READ_SUBTYPE' EXPORTING tclas = 'A' pernr = p0748-pernr infty = p0748-infty subty = p0748-subty begda = p0748-begda endda = p0748-endda * bypass_buffer = 'X' TABLES infty_tab = lt_all_existing_p0748 EXCEPTIONS infty_not_found = 1 invalid_input = 2 OTHERS = 3.

RH_CUT_PERIODS CALL FUNCTION 'RH_CUT_PERIODS' EXPORTING fill_holes = space TABLES period_tab = lt_hrperiods.

RH_READ_INFTY_1001_EXT_ONLY CALL FUNCTION 'RH_READ_INFTY_1001_EXT_ONLY' EXPORTING istat = '1' "PA records have always PD status "active" extend = 'X' subty = lv_relat_subtyp begda = p0748-begda endda = p0748-endda TABLES i1001 = lt_all_existing_hri1001 OBJECTS = lt_hrsobid EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.

RH_CUT_PERIODS CALL FUNCTION 'RH_CUT_PERIODS' EXPORTING fill_holes = space TABLES period_tab = lt_hrperiods.

DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = ls_dynpread-stepl EXCEPTIONS OTHERS = 1.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynpread.

RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = p0748-plvar otype = lv_sclas seark = lv_seark win_title = text-003 IMPORTING sel_object = ls_objec EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 internal_error = 4 illegal_mode = 5 OTHERS = 6.

DYNP_VALUES_UPDATE





CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynpread.



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