SAP Reports / Programs

CNSTATUS SAP ABAP Report - Analysis and Correction of Status Inconsistencies in Project Strct Pln







CNSTATUS is a standard Executable ABAP Report 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 CNSTATUS 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 CNSTATUS. "Basic submit
SUBMIT CNSTATUS AND RETURN. "Return to original report after report execution complete
SUBMIT CNSTATUS 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: ADM_UPD = Update Administration Data
Selection Text: ALL = All Projects
Selection Text: FROM_TO = Project
Selection Text: PROJECT = According to Select. Criteria:
Selection Text: TEST = Test Mode
Title: Analysis and Correction of Status Inconsistencies in Project Strct Pln
Text Symbol: 013 = JSTO file missing for WBS element
Text Symbol: 012 = ONRPD File for Project Definition
Text Symbol: 011 = ONRPD file missing for project definition
Text Symbol: 010 = ONR00 File for Project Definition
Text Symbol: 009 = ONR00 file missing for project definition
Text Symbol: 008 = Not created
Text Symbol: 007 = Created Successfully
Text Symbol: 006 = JSTO File for Project Definition
Text Symbol: 005 = JSTO File Missing for Project Definition
Text Symbol: 004 = No object found for the specified selection criteria
Text Symbol: 003 = Correction mode possible for single project only
Text Symbol: 002 = Project
Text Symbol: 001 = ================================================
Text Symbol: 018 = ONRPR file missing for WBS element
Text Symbol: 019 = ONRPR File for WBS Element
Text Symbol: 020 = Status CRTD and REL simultaneously active
Text Symbol: 021 = Status PREL and REL simultaneously active
Text Symbol: 022 = Status CRTD is set inactive
Text Symbol: 017 = ONR00 File for WBS Element
Text Symbol: 033 = No status error found
Text Symbol: 032 = Status TECO and CLSD simultaneously active
Text Symbol: 031 = Cannot lock. No further processing
Text Symbol: 030 = Status REL and CLSD simultaneously active
Text Symbol: 029 = Status REL is set inactive
Text Symbol: 028 = Status REL and TECO simultaneously active
Text Symbol: 027 = Status PREL and CLSD simultaneously active
Text Symbol: 026 = Status CRTD and CLSD simultaneously active
Text Symbol: 025 = Status PREL and TECO simultaneously active
Text Symbol: 024 = Status REL and PREL simultaneously active
Text Symbol: 023 = Status PREL is set inactive
Text Symbol: 049 = Active for Project Definition
Text Symbol: 048 = Set correspondingly





Text Symbol: 047 = Inactive for Project Definition
Text Symbol: 046 = Project Definition
Text Symbol: 045 = TECO Set for WBS Element Instead
Text Symbol: 044 = Delet. Indicator Reset for WBS
Text Symbol: 043 = DLFL Reset for WBS
Text Symbol: 042 = CLSD Reset for WBS
Text Symbol: 041 = Highest status of higher-level WBS element CLSD set
Text Symbol: 040 = Highest status of higher-level WBS element TECO set
Text Symbol: 039 = No Asset Under Cnstr. Created
Text Symbol: 038 = Highest status of higher-level WBS elements REL set
Text Symbol: 037 = Highest status of higher-level WBS elements WROF set
Text Symbol: 036 = No Active Status or Inconsistent Status
Text Symbol: 035 = Has No Status
Text Symbol: 034 = WBS Element
Text Symbol: 050 = Reset correspondingly
Text Symbol: UMF = Extent of Data Selection
Text Symbol: OPT = Options
Text Symbol: 058 = Status CLSD is set to inactive
Text Symbol: 057 = Status TECO is set to inactive
Text Symbol: 056 = Is being corrected:
Text Symbol: 055 = With incorrect object number
Text Symbol: 054 = Call Set with Incorrect Parameters
Text Symbol: 053 = REVOKE_STATUS_IN_ABOVE_PATH
Text Symbol: 052 = Initial Status
Text Symbol: 051 = GET_STATUS_OF_UP
Text Symbol: 016 = ONR00 file missing for WBS element
Text Symbol: 015 = JSTO File for WBS Element
Text Symbol: 014 = from project


INCLUDES used within this REPORT CNSTATUS

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:

ENQUEUE_EC_PROJ CALL FUNCTION 'ENQUEUE_EC_PROJ' EXPORTING MANDT = SY-MANDT TYP = 'P' PSPID = INT_PROJ-PSPID _WAIT = 'X' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.



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