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

RCCYOF01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

CY01_GET_OVERALL_PROFILE CALL FUNCTION 'CY01_GET_OVERALL_PROFILE' EXPORTING PROFILE_ID = GESPR * RESET_BUFFER_IMP = ' ' IMPORTING CRPPRO = I_OVPRO-DATA PROFILE_TEXT = I_OVPRO-PROFIL_TXT EXCEPTIONS NO_CURRENT_PROFILE = 1 PROFILE_NOT_FOUND = 2 OTHERS = 3.

RS_TREE_CREATE * CALL FUNCTION 'RS_TREE_CREATE' * EXPORTING * ROOT_NAME = TEXT-020 ** root_type = * DISPLAY_ATTRIBUTES = DISPAT * IMPORTING * ROOT_ID = ROOT_ID * EXCEPTIONS * OTHERS = 1.

CY01_GET_SELECTION_PROFILE CALL FUNCTION 'CY01_GET_SELECTION_PROFILE' EXPORTING PROFILE_ID = I_OVPRO-DATA-SEPRO_ID * RESET_BUFFER_IMP = ' ' IMPORTING CRPSEPRO = I_SEPRO-DATA PROFILE_TEXT = I_SEPRO-PROFIL_TXT EXCEPTIONS NO_CURRENT_PROFILE = 1 PROFILE_NOT_FOUND = 2 OTHERS = 3.

C_DIC_DOMAIN_VALUE_TEXT_READ CALL FUNCTION 'C_DIC_DOMAIN_VALUE_TEXT_READ' EXPORTING NAME = NAME SPRAS = SY-LANGU VALUE = VALUE IMPORTING TEXT = TEXT_LOC EXCEPTIONS NOT_FOUND = 01.

G_BUFFER_RESET CALL FUNCTION 'G_BUFFER_RESET'.

G_SET_INSERT CALL FUNCTION 'G_SET_INSERT' EXPORTING CLASS = ' ' MAINTENANCE = ' ' NO_TITLES = ' ' SETNAME = SET_NR TABLE = TAB_NAME IMPORTING HEADER = HEADER_SET INDEX = SET_INDEX EXCEPTIONS SET_NOT_FOUND = 01.

G_SET_GET_NEXT CALL FUNCTION 'G_SET_GET_NEXT' EXPORTING CONTROL_BLOCK = CONTROL_BLOCK INDEX = SET_INDEX LEVEL = LEVEL * NO_VARIABLES_REPLACEMENT = E04 IMPORTING HEADER = SET_DATA-HEADER_SET INDEX = SET_INDEX1 EXCEPTIONS END_OF_SETS = 01 INVALID_INDEX = 02.

G_SET_GET_ALL_VALUES CALL FUNCTION 'G_SET_GET_ALL_VALUES' EXPORTING CLASS = ' ' FORMULA_RETRIEVAL = ' ' LEVEL = 0 SETNR = SET_DATA-HEADER_SET-SETNR TABLE = SET_DATA-HEADER_SET-TABLE VARIABLES_REPLACEMENT = 'X' TABLES SET_VALUES = WA_SET_VALUES EXCEPTIONS SET_NOT_FOUND = 02.

CY01_GET_CONTROL_PROFILE CALL FUNCTION 'CY01_GET_CONTROL_PROFILE' EXPORTING PROFILE_ID = I_OVPRO-DATA-COPRO_ID * RESET_BUFFER_IMP = ' ' IMPORTING CRPCOPRO = I_COPRO-DATA PROFILE_TEXT = I_COPRO-PROFIL_TXT EXCEPTIONS NO_CURRENT_PROFILE = 1 PROFILE_NOT_FOUND = 2 OTHERS = 3.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING LANGU = SY-LANGU TABNAME = TABNAME IMPORTING HEADER = HEADER RC = RC TABLES FIELDTAB = FLDSTR EXCEPTIONS INTERNAL_ERROR = 01 NO_TEXTS_FOUND = 02 TABLE_HAS_NO_FIELDS = 03 TABLE_NOT_ACTIV = 04.

CY01_GET_TIME_PROFILE CALL FUNCTION 'CY01_GET_TIME_PROFILE' EXPORTING PROFILE_ID = I_OVPRO-DATA-TIPRO_ID * RESET_BUFFER_IMP = ' ' IMPORTING * CRPDATES = CRPTIPRO = I_TIMEPRO-DATA PROFILE_TEXT = I_TIMEPRO-PROFIL_TXT EXCEPTIONS DATE_CONVERSION_ERROR = 1 NO_CURRENT_PROFILE = 2 PROFILE_NOT_FOUND = 3 OTHERS = 4.

CY_GET_PERTEXT CALL FUNCTION 'CY_GET_PERTEXT' EXPORTING PERIODTYPE = IMPORTING PERIODTEXT = PERIODTEXT EXCEPTIONS PERIODTYPE_NOT_FOUND = 01.

C_DIC_DOMAIN_VALUE_TEXT_READ CALL FUNCTION 'C_DIC_DOMAIN_VALUE_TEXT_READ' EXPORTING NAME = STR_FNAME SPRAS = SY-LANGU VALUE = VALUE IMPORTING TEXT = TEXT_LOC EXCEPTIONS NOT_FOUND = 01.

CY01_GET_ANALYSIS_PROFILE CALL FUNCTION 'CY01_GET_ANALYSIS_PROFILE' EXPORTING PROFILE_ID = I_OVPRO-DATA-ANPRO_ID * RESET_BUFFER_IMP = ' ' IMPORTING CRPANPRO = I_ANPRO-DATA PROFILE_TEXT = I_ANPRO-PROFIL_TXT EXCEPTIONS NO_CURRENT_PROFILE = 1 PROFILE_NOT_FOUND = 2 OTHERS = 3.

CY01_GET_STRATEGY_PROFILE CALL FUNCTION 'CY01_GET_STRATEGY_PROFILE' EXPORTING PROFILE_ID = I_OVPRO-DATA-STPRO_ID * RESET_BUFFER_IMP = ' ' IMPORTING CRPSTPRO = I_STPRO-DATA PROFILE_TEXT = I_STPRO-PROFIL_TXT * CURRENT_PROFILE_ID = EXCEPTIONS NO_CURRENT_PROFILE = 1 PROFILE_NOT_FOUND = 2 OTHERS = 3.

CY01_FLOW_CONTROL_GET_TABLE CALL FUNCTION 'CY01_FLOW_CONTROL_GET_TABLE' EXPORTING CONT_ID = CONT_ID * IMPORTING * TCY40K_EXP = * TCY40T_EXP = TABLES TCY40_EXP = S_TCY40 TCY42T_EXP = S_TCY42T TCY42_EXP = S_TCY42 EXCEPTIONS FLOW_CONTROL_DOESNT_EXIST = 01.

CY01_GET_PL_TABLE_PROFILE CALL FUNCTION 'CY01_GET_PL_TABLE_PROFILE' EXPORTING PROFILE_ID = I_OVPRO-DATA-PLTPROF_ID * reset_buffer_imp = ' ' IMPORTING CRPPTPRO = I_PLTPRO-DATA PROFILE_TEXT = I_PLTPRO-PROFIL_TXT EXCEPTIONS NO_CURRENT_PROFILE = 1 PROFILE_NOT_FOUND = 2 OTHERS = 3.

CY01_GET_TAB_PL_TABLE_PROFILE CALL FUNCTION 'CY01_GET_TAB_PL_TABLE_PROFILE' EXPORTING PROFILE_ID = I_OVPRO-DATA-TPPRO_ID * RESET_BUFFER_IMP = ' ' IMPORTING CRPTPPRO = I_TBPRO-DATA PROFILE_TEXT = I_TBPRO-PROFIL_TXT EXCEPTIONS NO_CURRENT_PROFILE = 1 PROFILE_NOT_FOUND = 2 OTHERS = 3.



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