SAP Reports / Programs | Controlling | Overhead Cost Controlling | Overhead Cost Orders(CO-OM-OPA) SAP CO

RKOSTAT2 SAP ABAP Report - Conversion to General Status Management: Orders







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


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 RKOSTAT2. "Basic submit
SUBMIT RKOSTAT2 AND RETURN. "Return to original report after report execution complete
SUBMIT RKOSTAT2 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: 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:


INCLUDES used within this REPORT RKOSTAT2

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:

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.



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