/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
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.
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?
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.