SAP Reports / Programs | Organizational Flexibility | Defense Forces and Public Security | Organizational Flexibility(IS-DFS-OF) SAP IS

/ISDFPS/MCHG_SRV_USE_INC SAP ABAP INCLUDE - /ISDFPS/MCHGSRVUSEINC







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

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:

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey TABLES p_exclude = lt_rsexfcode.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey TABLES p_exclude = lt_rsexfcode.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = pchplvar EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = '/ISDFPS/MCHG_SRV_USE' dynumb = '1000' TABLES dynpfields = lt_dynp EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.

RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = win_title = lv_win_title plvar = pchplvar otype = pchotype IMPORTING sel_object = ls_sel_object EXCEPTIONS f15 = 1 nothing_found = 2 wrong_condition = 3 OTHERS = 4.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = pchplvar otype = pchotype objid = lv_objid IMPORTING stext = lv_stext EXCEPTIONS not_found = 1 OTHERS = 2.

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

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = '/ISDFPS/MCHG_SRV_USE' dynumb = '1000' perform_input_conversion = 'X' TABLES dynpfields = lt_dynp EXCEPTIONS OTHERS = 1.

RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = pchplvar otype = pchotype seark = lv_seark win_title = lv_win_title IMPORTING sel_object = ls_sel_object EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 internal_error = 4 illegal_mode = 5 OTHERS = 6.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-014 "choose org-measure text_question = text-022 "To run the Report you have to choose an org-measure. Would you like to choose one?

RH_EXIST_OBJECT CALL FUNCTION 'RH_EXIST_OBJECT' EXPORTING plvar = pchplvar otype = pchotype objid = pchobjid-low EXCEPTIONS not_found = 1 OTHERS = 2.

RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING plvar = pchplvar otype = pchotype objid = lv_objid infty = '1953' TABLES innnn = gt_p1953_seak2 EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.

/ISDFPS/SET_ORGM_POPUP CALL FUNCTION '/ISDFPS/SET_ORGM_POPUP' EXPORTING i_no_individual_changes = 'X' IMPORTING es_orgm_wi = gs_orgm_wi.

/ISDFPS/GET_MAX_VALUE CALL FUNCTION '/ISDFPS/GET_MAX_VALUE' IMPORTING ev_max_value = lv_new_begda TABLES it_values = lt_dats.

/ISDFPS/GET_MIN_VALUE CALL FUNCTION '/ISDFPS/GET_MIN_VALUE' IMPORTING ev_min_value = lv_new_endda TABLES it_values = lt_dats.

HR_ENQUEUE_OBJECT CALL FUNCTION 'HR_ENQUEUE_OBJECT' EXPORTING plvar = objec-plvar otype = objec-otype objid = objec-objid enqueue_once = 'X' EXCEPTIONS enqueue_failed = 1 objid_is_initial = 2 illegal_otype = 3 internal_error = 4 OTHERS = 5.

RH_CLEAR_BUFFER CALL FUNCTION 'RH_CLEAR_BUFFER'.

RH_DELETE_INFTY CALL FUNCTION 'RH_DELETE_INFTY' EXPORTING vtask = 'B' TABLES innnn = lt_p1954 EXCEPTIONS error_during_delete = 1 no_authorization = 2 delete_first_record = 3 corr_exit = 4 OTHERS = 5.

RH_CLEAR_BUFFER





CALL FUNCTION 'RH_CLEAR_BUFFER'.

RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING fcode = 'INSE' vtask = 'B' TABLES innnn = lt_p1954 EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.

RH_CLEAR_BUFFER CALL FUNCTION 'RH_CLEAR_BUFFER'.

RH_CLEAR_BUFFER CALL FUNCTION 'RH_CLEAR_BUFFER'.

RH_DELETE_INFTY CALL FUNCTION 'RH_DELETE_INFTY' EXPORTING vtask = 'B' TABLES innnn = lt_p1954 EXCEPTIONS error_during_delete = 1 no_authorization = 2 delete_first_record = 3 corr_exit = 4 OTHERS = 5.

RH_CLEAR_BUFFER CALL FUNCTION 'RH_CLEAR_BUFFER'.

RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING fcode = 'INSE' vtask = 'B' TABLES innnn = lt_p1954 EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.

RH_CLEAR_BUFFER CALL FUNCTION 'RH_CLEAR_BUFFER'.

RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING fcode = 'INSE' vtask = 'B' TABLES innnn = gt_mchg_p1954 EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.

RH_CLEAR_BUFFER CALL FUNCTION 'RH_CLEAR_BUFFER'.

RH_UPDATE_DATABASE CALL FUNCTION 'RH_UPDATE_DATABASE' EXPORTING vtask = 'D' commit_flg = space "commit only after everything is finished clear_buffer = 'X' "clear buffer for performance reasons EXCEPTIONS corr_exit = 1 OTHERS = 2.

RH_CLEAR_BUFFER CALL FUNCTION 'RH_CLEAR_BUFFER'.

HR_DEQUEUE_OBJECT CALL FUNCTION 'HR_DEQUEUE_OBJECT' EXPORTING plvar = -plvar otype = -otype objid = -objid dequeue_once = 'X' EXCEPTIONS illegal_otype = 1 objid_is_initial = 2 internal_error = 3 OTHERS = 4.

HR_ENQUEUE_OBJECT CALL FUNCTION 'HR_ENQUEUE_OBJECT' EXPORTING plvar = pchplvar otype = 'O' objid = ls_hrobject-objid enqueue_once = 'X' EXCEPTIONS enqueue_failed = 1 objid_is_initial = 2 illegal_otype = 3 internal_error = 4 OTHERS = 5.



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 /ISDFPS/MCHG_SRV_USE_INC or its description.