RKOSTAT2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Conversion to general status management: Orders Functions were added to the general status management for Release 4...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 RKOSTAT2 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_TEST = Test run
Selection Text: P_SPER = Lock orders
Selection Text: P_AUFNR = D Order
Title: Conversion to General Status Management: Orders
Text Symbol: 008 = I: Order locked:
Text Symbol: 007 = Test run
Text Symbol: 006 = Update run
Text Symbol: 005 = E: Status for disallowed transaction grp defined with status no.:
Text Symbol: 004 = E: User status not in status profile:
Text Symbol: 003 = E: Error in Order:
Text Symbol: 002 = Number of converted orders:
Text Symbol: 001 = Number of orders selected:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
ENQUEUE_ESORDER CALL FUNCTION 'ENQUEUE_ESORDER' EXPORTING aufnr = aufk-aufnr EXCEPTIONS foreign_lock = 1 system_failure = 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.
RKOSTAT2 - Conversion to General Status Management: Orders RKOSTAT2 - Conversion to General Status Management: Orders RKOSTAT1 - Conversion to General Status Management: Order Types RKOSTAT1 - Conversion to General Status Management: Order Types RKOSEL13 - Select CO-collective processing for internal orders: Form routines RKOSEL12 - Select CO-collective processing for internal orders: Events