/MRSS/CAG_CG_MNT 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 recalculate capacity-graph objects, read them from the database, or recreate them, for any personnel resource and 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_MNT 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: P_CALC = Only Calculate Capacity Graphs
Selection Text: P_CREA = Create/Update Capacity Graphs
Selection Text: P_DISP = Display Cap. Graphs from DB
Selection Text: P_PALLG = Display Results Log
Selection Text: P_PDET = Detail Log Display
Selection Text: SO_BP = Business Partner
Selection Text: SO_DATE = Period from:
Selection Text: SO_PERNR = Personnel Number
Selection Text: SO_TEAM = Team (GUID)
Selection Text: SO_TIM = Time from:
Selection Text: SO_UNIT = Unit
Selection Text: P_CGTY = D .
Title: MRS - Capacity Graphs: Create - Update - Display
Text Symbol: 116 = Pers. No.
Text Symbol: 115 = Cap. Types
Text Symbol: 114 = Notifctn
Text Symbol: 113 = Capacity Graph Types
Text Symbol: 112 = Personnel Number
Text Symbol: 111 = Status
Text Symbol: 033 = End of Departure
Text Symbol: 032 = Start of Departure
Text Symbol: 031 = End of Arrival
Text Symbol: 030 = Start of Arrival
Text Symbol: 028 = Could not calculate basic capacity graph
Text Symbol: 001 = Create or Update Capacity Graphs
Text Symbol: 002 = Only Calculate Capacity Graphs
Text Symbol: 003 = Capacity Graphs: Detail Display
Text Symbol: 004 = Display Results Log Only
Text Symbol: 005 = Processing Options
Text Symbol: 006 = Display Options in Dialog Mode
Text Symbol: 007 = Selection Parameter
Text Symbol: 008 = Read and Display Capacity Graphs from Database
Text Symbol: 009 = Display Basis Availability (H Graph)
Text Symbol: 010 = Display Availabilities from WFM Core
Text Symbol: 011 = Start of Time Stamp
Text Symbol: 012 = End of Time Stamp
Text Symbol: 013 = Display Assignments from WFM Core
Text Symbol: 014 = Display Capacity Graphs
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.
/MRSS/CAG_CGRAPH_BASE_MAINTAIN CALL FUNCTION '/MRSS/CAG_CGRAPH_BASE_MAINTAIN' IN UPDATE TASK EXPORTING it_res_int = gt_res_int EXCEPTIONS failed = 1.
/MRSS/CAG_CGRAPH_MAINTAIN CALL FUNCTION '/MRSS/CAG_CGRAPH_MAINTAIN' EXPORTING iv_cg_type = p_cgty iv_get_cg_base_from_db = 'X' it_res_int = gt_res_int EXCEPTIONS invalid_queue_name = 1 OTHERS = 2.
/MRSS/CAG_CGRAPH_MAINTAIN CALL FUNCTION '/MRSS/CAG_CGRAPH_MAINTAIN' EXPORTING iv_cg_type = p_cgty it_res_int = gt_res_int EXCEPTIONS invalid_queue_name = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/MRSS/CAG_CG_MNT - MRS - Capacity Graphs: Create - Update - Display /MRSS/CAG_CG_MNT - MRS - Capacity Graphs: Create - Update - Display /MRSS/CAG_CG_DELETETOP - /MRSS/CAGCGDELETETOP /MRSS/CAG_CG_DELETESEL - /MRSS/CAGCGDELETESEL /MRSS/CAG_CG_DELETEF02 - /MRSS/CAGCGDELETEF02 /MRSS/CAG_CG_DELETEF01 - /MRSS/CAGCGDELETEF01