SAP Reports / Programs | Plant Maintenance | Maintenance Processing | Maintenance Orders(PM-WOC-MO) SAP PM

/MRSS/SG_PLBOARD_SEL_I01 SAP ABAP INCLUDE - /MRSS/SGPLBOARDSELI01







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

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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = ls_restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = gv_planversion EXCEPTIONS OTHERS = 0.

RS_GET_SCREENS_4_1_VARIANT CALL FUNCTION 'RS_GET_SCREENS_4_1_VARIANT' EXPORTING program = lv_repid variant = lv_variant TABLES dynnr = lt_dynnr variscreens = lt_variscreen EXCEPTIONS no_screens = 1 variant_not_existent = 2 OTHERS = 3.

RS_SUPPORT_SELECTIONS CALL FUNCTION 'RS_SUPPORT_SELECTIONS' EXPORTING report = lv_repid variant = lv_variant EXCEPTIONS variant_not_existent = 1 variant_obsolete = 2 OTHERS = 3.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = ls_orders-low IMPORTING output = lv_aufnr.

RS_GET_SCREENS_4_1_VARIANT CALL FUNCTION 'RS_GET_SCREENS_4_1_VARIANT' EXPORTING program = lv_repid variant = lv_variant TABLES dynnr = lt_dynnr variscreens = lt_variscreen EXCEPTIONS no_screens = 1 variant_not_existent = 2 OTHERS = 3.

RS_SUPPORT_SELECTIONS CALL FUNCTION 'RS_SUPPORT_SELECTIONS' EXPORTING report = lv_repid variant = lv_variant EXCEPTIONS variant_not_existent = 1 variant_obsolete = 2 OTHERS = 3.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lv_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = lv_otype act_objid = ls_org_units-objid act_wegid = lv_wegid act_plvar = gv_planversion act_begda = lv_datum_min act_endda = lv_datum_max TABLES result_objec = lt_objec EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = so_order-low IMPORTING output = lv_aufnr.

RH_READ_OBJECT * CALL FUNCTION 'RH_READ_OBJECT' * EXPORTING * plvar = gv_planversion * otype = gv_orgunit_type * objid = lv_objid * EXCEPTIONS * not_found = 1 * OTHERS = 2.

RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = gv_planversion otype = gv_orgunit_type seark = '*' seark_begda = lv_datum_min seark_endda = lv_datum_max set_mode = 'X' TABLES sel_objects = lt_objects EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 illegal_mode = 4 internal_error = 5 OTHERS = 6.

DY_GET_CURRENT_MAINSCREEN CALL FUNCTION 'DY_GET_CURRENT_MAINSCREEN' IMPORTING program = lv_prog dynpro_nbr = lv_dynnr EXCEPTIONS no_mainscreen_found = 1 OTHERS = 2.

UPGI22_GET_COMPONENT_RELEASES CALL FUNCTION 'UPGI22_GET_COMPONENT_RELEASES' EXPORTING iv_component = lc_mrss_comp TABLES tt_cvers = lt_components EXCEPTIONS no_release_found = 1 component_release_not_found = 2 OTHERS = 3.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = /mrss/cl_sgu_constants=>c_sgu_shlp_srv_2 fieldname = space "'SO_ORDER-LOW' searchhelp = lv_search_help callback_program = sy-cprog callback_form = lc_cb_form * multiple_choice = 'X' dynpprog = sy-cprog dynpnr = sy-dynnr dynprofield = 'SO_ORDER-LOW' TABLES return_tab = lt_retval.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = lv_prog dynumb = lv_dynnr TABLES dynpfields = lt_fields.

DY_GET_CURRENT_MAINSCREEN CALL FUNCTION 'DY_GET_CURRENT_MAINSCREEN' IMPORTING program = lv_prog dynpro_nbr = lv_dynnr EXCEPTIONS no_mainscreen_found = 1 OTHERS = 2.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'DESCRIPTION' fieldname = space "'SO_ORDER-LOW' searchhelp = '/MRSS/SH_SGU_SERVICE_AREA' callback_program = sy-cprog callback_form = lc_cb_form * multiple_choice = 'X' dynpprog = sy-cprog dynpnr = sy-dynnr dynprofield = 'SO_ORDER-LOW' TABLES return_tab = lt_retval.

DYNP_VALUES_UPDATE





CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = lv_prog dynumb = lv_dynnr TABLES dynpfields = lt_fields.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = /mrss/cl_sgu_constants=>c_sgu_shlp_bupa_1 TABLES return_tab = lt_retval.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = /mrss/cl_sgu_constants=>c_sgu_shlp_pers_1 TABLES return_tab = lt_retval.

RHF4_RFC_FIELD_VALUE_REQUEST CALL FUNCTION 'RHF4_RFC_FIELD_VALUE_REQUEST' DESTINATION lv_hcm_dest EXPORTING tabname = space fieldname = space searchhelp = /mrss/cl_sgu_constants=>c_sgu_shlp_pers_1 TABLES return_tab = lt_retval EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = lv_search_help TABLES return_tab = lt_retval.

RS_SELECTIONSCREEN_UPDATE CALL FUNCTION 'RS_SELECTIONSCREEN_UPDATE' EXPORTING program = sy-cprog * dynnr = sy-dynpro "1019 TABLES updatevalues = lt_updatevalue EXCEPTIONS no_high_field = 01 OTHERS = 02.

DYNP_VALUES_UPDATE * CALL FUNCTION 'DYNP_VALUES_UPDATE' * EXPORTING * dyname = lv_dyname * dynumb = lv_dynumb * TABLES * dynpfields = lt_dynpflds.

DYNP_VALUES_UPDATE * CALL FUNCTION 'DYNP_VALUES_UPDATE' * EXPORTING * dyname = lv_dyname * dynumb = lv_dynumb * TABLES * dynpfields = lt_dynpflds.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SELECTION_SCREEN' p_program = sy-repid TABLES p_exclude = lt_excl.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr translate_to_upper = true TABLES dynpfields = lt_fields EXCEPTIONS OTHERS = 11.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = /mrss/cl_sgu_constants=>c_sgu_shlp_ustat_shlp callback_program = sy-cprog callback_form = lc_cb_form TABLES return_tab = lt_retval EXCEPTIONS OTHERS = 5.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynpfields EXCEPTIONS OTHERS = 8.

DD_DTEL_GET CALL FUNCTION 'DD_DTEL_GET' EXPORTING langu = sy-langu roll_name = '/MRSS/T_SGE_PROFILE' IMPORTING dd04l_wa_n = ls_info.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'P_PLBPRO' value_org = 'C' TABLES field_tab = lt_fieldtab value_tab = return_tab = lt_retval EXCEPTIONS OTHERS = 0.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = '/MRSS/SGE_OPT_SCENARIO' TABLES return_tab = lt_retval.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = '/MRSS/SH_LOG_PROFILE' TABLES return_tab = lt_retval.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr translate_to_upper = true TABLES dynpfields = lt_fields EXCEPTIONS OTHERS = 11.

/MRSS/RSG_IS_ORDER_TYPE_VALID ******** CALL FUNCTION '/MRSS/RSG_IS_ORDER_TYPE_VALID' ******** EXPORTING ******** iv_auart = p_so_otype_low ******** IMPORTING ******** ev_failed = lv_failed.

/MRSS/SGU_UI_SELECT_ORDER CALL FUNCTION '/MRSS/SGU_UI_SELECT_ORDER' EXPORTING iv_popup = iv_popup IMPORTING et_orders = et_orders ev_cancel = ev_cancel.

RS_SELECTIONSCREEN_UPDATE CALL FUNCTION 'RS_SELECTIONSCREEN_UPDATE' EXPORTING program = sy-cprog * dynnr = sy-dynpro TABLES updatevalues = lt_updatevalue.




F4IF_FIELD_VALUE_REQUEST * CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' * EXPORTING * tabname = /mrss/cl_sgu_constants=>c_sgu_shlp_prio_2 * fieldname = space * searchhelp = /mrss/cl_sgu_constants=>c_sgu_shlp_prio_1 * TABLES * return_tab = lt_retval.



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 /MRSS/SG_PLBOARD_SEL_I01 or its description.