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

/MRSS/CAG_CG_DELETE SAP ABAP Report - MRS - Delete Capacity Graphs







/MRSS/CAG_CG_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to delete capacity-graph objects from the database for any personnel resources over any period of time...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter /MRSS/CAG_CG_DELETE 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/CAG_CG_DELETE. "Basic submit
SUBMIT /MRSS/CAG_CG_DELETE AND RETURN. "Return to original report after report execution complete
SUBMIT /MRSS/CAG_CG_DELETE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_DATE = Period from:
Selection Text: SO_PERNR = Personnel Number
Selection Text: SO_TIM = Time from:
Selection Text: SO_UNIT = Unit
Selection Text: P_CGTY = D .
Title: MRS - Delete Capacity Graphs
Text Symbol: 001 = Selection Parameter
Text Symbol: 002 = No data was selected
Text Symbol: 004 = Deleted Objects
Text Symbol: 005 = Deleted Objects
Text Symbol: 006 = Number of Deleted Objects
Text Symbol: 010 = If you continue, all selected capacity graphs will be
Text Symbol: 011 = Confirmation prompt:
Text Symbol: 012 = deleted. Do you want to continue?


INCLUDES used within this REPORT /MRSS/CAG_CG_DELETE

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_SELOPT_NO_INTERVAL_CHECK CALL FUNCTION 'RS_SELOPT_NO_INTERVAL_CHECK' EXPORTING program = gv_selop_prog TABLES selop = gt_selop.

RH_ASK_FOR_PLVAR CALL FUNCTION 'RH_ASK_FOR_PLVAR' EXPORTING no_msg = 'X' CHANGING plvar = gv_plvar.

/MRSS/SGE_TEXT_OTYPE CALL FUNCTION '/MRSS/SGE_TEXT_OTYPE' EXPORTING otype = /mrss/cl_sge_scenatt=>otype_planning_node langu = sy-langu IMPORTING otext = gv_otext.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-011 text_question = gv_question icon_button_1 = gv_icon1 icon_button_2 = gv_icon2 display_cancel_button = ' ' IMPORTING answer = gv_answer.

/MRSS/CAG_CG_DELETE CALL FUNCTION '/MRSS/CAG_CG_DELETE' EXPORTING iv_cg_type = gs_cg_type-cg_type iv_res_id = gs_resource-guid iv_beg_tstmp = gv_beg_tstmp iv_end_tstmp = gv_end_tstmp IMPORTING ev_rc = gv_rc ev_dbcnt = gv_dbcnt.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_callback * is_layout = gs_layo it_fieldcat = gt_fcat i_save = gv_save TABLES t_outtab = gt_outtab.



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