RHCTIMCO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for RHCTIMCO According to the set of entries, this report tests the infotype records for: ,, gaps (time constraint 1) or ,, overlaps (time constraint 2), outputs the report and offers the possibility of deleting the infotype records found...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 RHCTIMCO 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: SUBTY = Subtype (no input = all)
Selection Text: INFTY = Infotype (no input = all)
Title: Program RHCTIMCO
Text Symbol: 023 = SeqNo
Text Symbol: 022 = Timco
Text Symbol: 019 = Varyf
Text Symbol: 018 = Endda
Text Symbol: 017 = From
Text Symbol: 016 = Status
Text Symbol: 015 = Subtype
Text Symbol: 014 = Infotype
Text Symbol: 013 = Object ID
Text Symbol: 012 = Object type
Text Symbol: 011 = Plan version
Text Symbol: 010 = Prepare ALV
Text Symbol: 009 = Check for overlap
Text Symbol: 008 = Read time constraint
Text Symbol: 007 = Read infotype
Text Symbol: 006 = No overlaps found
Text Symbol: 005 = Infotype records containing errors
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RH_GET_EXTERNAL_OBJECT_INFO CALL FUNCTION 'RH_GET_EXTERNAL_OBJECT_INFO' EXPORTING otype = pchotype * IMPORTING * I77EO = EXCEPTIONS no_external_object = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = text-007.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING authority = 'DISP' with_stru_auth = 'X' infty = infty istat = pchistat extend = 'X' subty = subty begda = pchbegda endda = pchendda condition = '00000' inftb = '0' sort = 'X' * VIA_T777D = ' ' TABLES innnn = infty_tab OBJECTS = objec_innn EXCEPTIONS all_infty_with_subty = 0 nothing_found = 0 no_objects = 0 wrong_condition = 0 OTHERS = 0.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = text-008.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = text-009.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = text-009.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = text-010.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_buffer_active = 'X' i_callback_program = repname i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = 'TOP_OF_PAGE' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = layout it_fieldcat = fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = 'A' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = alv_tab2 EXCEPTIONS program_error = 0 OTHERS = 0.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = header_tab[] * I_LOGO = * I_END_OF_LIST_GRID = .
RH_DELETE_INFTY CALL FUNCTION 'RH_DELETE_INFTY' EXPORTING vtask = 'D' TABLES innnn = i_del_infty2 EXCEPTIONS error_during_delete = 1 no_authorization = 2 delete_first_record = 3 corr_exit = 4 OTHERS = 5.
RH_DELETE_INFTY_DIRECT CALL FUNCTION 'RH_DELETE_INFTY_DIRECT' EXPORTING vtask = 'D' TABLES innnn = i_del_infty1 EXCEPTIONS no_authorization = 1 error_during_delete = 2 corr_exit = 3 OTHERS = 4.
RH_INVERT_RELA_INFTY CALL FUNCTION 'RH_INVERT_RELA_INFTY' EXPORTING p1001_imp = i1001 IMPORTING p1001_exp = i1001_inv EXCEPTIONS relation_not_reversible = 1 OTHERS = 2.
RH_DELETE_INFTY_DIRECT CALL FUNCTION 'RH_DELETE_INFTY_DIRECT' EXPORTING vtask = 'D' TABLES innnn = i_del1001_inv EXCEPTIONS no_authorization = 1 error_during_delete = 2 corr_exit = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.