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

MC65AFB1 SAP ABAP INCLUDE - DISST_SET_MAT







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


INCLUDES used within this REPORT MC65AFB1

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:

CY_CENTER_WINDOW CALL FUNCTION 'CY_CENTER_WINDOW' EXPORTING DYNPRO_HEIGHT = HEIGHT DYNPRO_WIDTH = WIDTH IMPORTING WINX1 = WINX1 WINY1 = WINY1 WINX2 = WINX2 WINY2 = WINY2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = 'SM37' EXCEPTIONS OK = 1 NOT_OK = 2 OTHERS = 3.

CY_CENTER_WINDOW CALL FUNCTION 'CY_CENTER_WINDOW' EXPORTING DYNPRO_HEIGHT = HEIGHT DYNPRO_WIDTH = WIDTH IMPORTING WINX1 = WINX1 WINY1 = WINY1 WINX2 = WINX2 WINY2 = WINY2.

CY_READ_PROFILE_FROM_INDX CALL FUNCTION 'CY_READ_PROFILE_FROM_INDX' EXPORTING JOBNAME = CURRENT_BACKGROUND_ANALYSIS IMPORTING PROFIL = RC65A-PROFIL_ID EXCEPTIONS ERROR_DURING_READ = 01.

CY_INIT_PROFILE CALL FUNCTION 'CY_INIT_PROFILE' EXPORTING IRC65A = RC65A PROFIL_ID = RC65A-PROFIL_ID IMPORTING DARPROF_ID = RC65A-DARPROF_ID LISPROF_ID = RC65A-LISPROF_ID SETPROF_ID = RC65A-SETPROF_ID GRAPROF_ID = RC65A-GRAPROF_ID SETPROFIL = SETPROFIL DARPROFIL = DARPROFIL LISPROFIL = LISPROFIL GRAPROFIL = GRAPROFIL.

CY_RESET_RANGES_ALL CALL FUNCTION 'CY_RESET_RANGES_ALL'.

CY_READ_INDX_FROM_BATCH CALL FUNCTION 'CY_READ_INDX_FROM_BATCH' EXPORTING JOBNAME = CURRENT_BACKGROUND_ANALYSIS IMPORTING EINDI = INDI ERC65A = RC65A TABLES KUBEL = KUBEL AHIECA = AHIECA AHIECAP = AHIECAP DETLS = DETLS KOMBI = KOMBI ZEIZU = ZEIZU INTSPAL = INTSPAL EXCEPTIONS ERROR_DURING_READ = 01.

CY_CENTER_WINDOW CALL FUNCTION 'CY_CENTER_WINDOW' EXPORTING DYNPRO_HEIGHT = HEIGHT DYNPRO_WIDTH = WIDTH IMPORTING WINX1 = WINX1 WINY1 = WINY1 WINX2 = WINX2 WINY2 = WINY2.

CY_WRITE_INDX_FOR_BATCH CALL FUNCTION 'CY_WRITE_INDX_FOR_BATCH' EXPORTING IRC65A = RC65A JOBNAME = JOBDATA-NAME TABLES AVER = AVER EXCEPTIONS ERROR_DURING_WRITE = 01.

BP_JOBVARIANT_SCHEDULE CALL FUNCTION 'BP_JOBVARIANT_SCHEDULE' EXPORTING TITLE_NAME = TEXT-300 JOB_NAME = JOBNAM PROG_NAME = 'SAPCRP01' EXCEPTIONS NO_SUCH_PROGRAM = 1 OTHERS = 2.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING DELANFREP = ' ' JOBGROUP = ' ' JOBNAME = JOBNAM * SDLSTRTDT = NO_DATE * SDLSTRTTM = NO_TIME IMPORTING JOBCOUNT = JOBCNT EXCEPTIONS CANT_CREATE_JOB = 01 INVALID_JOB_DATA = 02 JOBNAME_MISSING = 03.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * EVENT_ID = ' ' * EVENT_PARAM = ' ' JOBCOUNT = JOBCNT JOBNAME = JOBNAM * LASTSTRTDT = NO_DATE * LASTSTRTTM = NO_TIME * PRDDAYS = 0 * PRDHOURS = 0 * PRDMINS = 0 * PRDMONTHS = 0 * PRDWEEKS = 0 * SDLSTRTDT = NO_DATE * SDLSTRTTM = NO_TIME STRTIMMED = 'X' * TARGETSYSTEM = ' ' EXCEPTIONS CANT_START_IMMEDIATE = 01 JOBNAME_MISSING = 02 JOB_CLOSE_FAILED = 03 JOB_NOSTEPS = 04 JOB_NOTEX = 05 LOCK_FAILED = 06.



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