SAP Reports / Programs | Production Planning and Control | Capacity Requirements Planning | Capacity Evaluations(PP-CRP-ALY) SAP PP

MC65AFO1 SAP ABAP INCLUDE - Form Routines Starting with O







MC65AFO1 is a standard ABAP INCLUDE 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 MC65AFO1 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 MC65AFO1. "Basic submit
SUBMIT MC65AFO1 AND RETURN. "Return to original report after report execution complete
SUBMIT MC65AFO1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Form Routines Starting with O


INCLUDES used within this REPORT MC65AFO1

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:

SCREEN_SEQUENCE_CONTROL CALL FUNCTION 'SCREEN_SEQUENCE_CONTROL' EXPORTING FUNKTION = FBS-FUNKTION KOPFGRUPPE = FBS-KOPFGRUPPE POSITIONSGRUPPE = FBS-POSITIONSG PROGRAMM = FBS-PROGRAMM IMPORTING CUA_TITEL = FBS-CUA_TITEL CUA_PARA1 = FBS-CUA_PARA1 CUA_PARA2 = FBS-CUA_PARA2 CUA_PARA3 = FBS-CUA_PARA3 CUA_PARA4 = FBS-CUA_PARA4 CUA_STATUS = FBS-CUA_STATUS AKTYP = FBS-AKTYP DUNKEL = FBS-DUNKEL FOLGEFUNKTION = FBS-FOLGEFUNKT LEAVE = FBS-LEAVE.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING ENTRY_ACT = BLT-INDEX_NEU ENTRY_TO = BLT-INDEX_BIS LOOPS = BLT-LOOPS OK_CODE = OK-CODE IMPORTING ENTRY_NEW = BLT-INDEX_AKT EXCEPTIONS NO_ENTRY_OR_PAGE_ACT = 01 NO_ENTRY_TO = 02 * NO_LOOPS = 03 * NO_OK_CODE_OR_PAGE_ACT = 04 NO_OK_CODE_OR_PAGE_GO = 05.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING ENTRY_ACT = BLT-INDEX_NEU ENTRY_TO = BLT-INDEX_BIS LOOPS = BLT-LOOPS OK_CODE = OK-CODE IMPORTING ENTRY_NEW = BLT-INDEX_AKT EXCEPTIONS NO_ENTRY_OR_PAGE_ACT = 01 NO_ENTRY_TO = 02 * NO_LOOPS = 03 * NO_OK_CODE_OR_PAGE_ACT = 04 NO_OK_CODE_OR_PAGE_GO = 05.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING ENTRY_ACT = BLT-INDEX_NEU * ENTRY_TO = BLT-INDEX_BIS "31G ENTRY_TO = COUNT "31G LOOPS = BLT-LOOPS OK_CODE = OK-CODE PAGE_GO = 1 "31G IMPORTING ENTRY_NEW = BLT-INDEX_AKT EXCEPTIONS NO_ENTRY_OR_PAGE_ACT = 01 NO_ENTRY_TO = 02 * NO_LOOPS = 03 * NO_OK_CODE_OR_PAGE_ACT = 04 NO_OK_CODE_OR_PAGE_GO = 05.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING ENTRY_ACT = BLT-INDEX_NEU * ENTRY_TO = BLT-INDEX_BIS "31G ENTRY_TO = COUNT "31G LOOPS = BLT-LOOPS OK_CODE = OK-CODE PAGE_GO = 1 "31G IMPORTING ENTRY_NEW = BLT-INDEX_AKT EXCEPTIONS NO_ENTRY_OR_PAGE_ACT = 01 NO_ENTRY_TO = 02 * NO_LOOPS = 03 * NO_OK_CODE_OR_PAGE_ACT = 04 NO_OK_CODE_OR_PAGE_GO = 05.

CY_RESET_RANGES_ALL CALL FUNCTION 'CY_RESET_RANGES_ALL'.

CY_GET_SETPROFILE CALL FUNCTION 'CY_GET_SETPROFILE' EXPORTING SETPROF_ID = RC65A-SETPROF_ID IMPORTING SETPROFIL = SETPROFIL.

CY_RESET_RANGES_ALL CALL FUNCTION 'CY_RESET_RANGES_ALL'.

CY_FILL_INDI CALL FUNCTION 'CY_FILL_INDI' EXPORTING ALLES_NEU = KREUZ AINDI = INDI IMPORTING EINDI = INDI.

CY_GET_DARPROFILE CALL FUNCTION 'CY_GET_DARPROFILE' EXPORTING DARPROF_ID = RC65A-DARPROF_ID IMPORTING DARPROFIL = DARPROFIL.

CY_FILL_INDI CALL FUNCTION 'CY_FILL_INDI' EXPORTING AINDI = INDI BEDART_NEU = KREUZ EINHEIT_NEU = KREUZ HIERA_NEU = KREUZ KUMUL_NEU = KREUZ PERIODEN_NEU = KREUZ VERTEIL_NEU = KREUZ ZEITAB_NEU = KREUZ IMPORTING EINDI = INDI.

CY_GET_LISPROFILE CALL FUNCTION 'CY_GET_LISPROFILE' EXPORTING LISPROF_ID = RC65A-LISPROF_ID IMPORTING LISPROFIL = LISPROFIL.

CY_FILL_INDI CALL FUNCTION 'CY_FILL_INDI' EXPORTING AINDI = INDI LIVAR_NEU = KREUZ IMPORTING EINDI = INDI.

CY_GET_GRAPROFILE CALL FUNCTION 'CY_GET_GRAPROFILE' EXPORTING GRAPROF_ID = RC65A-GRAPROF_ID IMPORTING GRAPROFIL = GRAPROFIL.



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