SAPDBOFC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Note that the logical database OFC is not to be used any longer...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 SAPDBOFC 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: S_FEVOR = Production scheduler
Selection Text: S_WERKS = Plant
Title: Production Orders per Work Scheduler
INCLUDE CODBDATA.
INCLUDE CODBCPUT.
No SAP DATABASE tables are accessed within this REPORT code!
CO_SF_ORDER_AUTHORITY_CHECK CALL FUNCTION 'CO_SF_ORDER_AUTHORITY_CHECK' EXPORTING ORDER_KIND = CAUFV_TAB-AUART ORDER_PLANT = CAUFV_TAB-WERKS EXCEPTIONS NO_AUTHORITY = 01.
STATUS_PRE_READ CALL FUNCTION 'STATUS_PRE_READ' TABLES JSTO_PRE_TAB = OBJNR_TAB.
CR_WORKSTATION_READ_ROUTING CALL FUNCTION 'CR_WORKSTATION_READ_ROUTING' EXPORTING VGWKZ = KREUZ ID = ARBID * DATE = MOPER-UV PLNTY = MOPER-PLNTY WERKS = WERKS MSGTY = 'S' IMPORTING WORKS = RCR01 EXCEPTIONS NOT_FOUND = 1 TYPE_NOT_ALLOWED = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.