RHGRENZ1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report sets a new delimitation date for records found using the selection screen...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 RHGRENZ1 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
RE_RHGRENZ1 - Set New End Date
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: TEST = Test
Selection Text: NEW_END = New end date
Selection Text: HISTO = Historical record
Selection Text: G_DAT = Delimitation Date
Selection Text: ENQ = Lock object
Selection Text: ANZEIGE = Display delimited objects
Title: Set New End Date
Text Symbol: INK = --> relationship is inconsistent
Text Symbol: EXC = --> related object does not exist
Text Symbol: ERG = Result
Text Symbol: ERF = --> Record extended
Text Symbol: ENQ = --> object locked
Text Symbol: CUT = -->incorrect delimit date
Text Symbol: 022 = The following records will be updated:
Text Symbol: 021 = Test run
Text Symbol: 020 = Plan version:
Text Symbol: 017 = New end date:
Text Symbol: 016 = Set new end date
Text Symbol: 015 = SeqNo
Text Symbol: 014 = VarField
Text Symbol: 013 = Validity (from - to)
Text Symbol: 012 = S
Text Symbol: 011 = STyp
Text Symbol: 010 = ITyp
Text Symbol: 009 = Object
Text Symbol: 007 = T E S T R U N
Text Symbol: 006 = New end date
Text Symbol: 005 = Delimit.Date
Text Symbol: 004 = Test
Text Symbol: 003 = Display delimited records
Text Symbol: 002 = Lock objects
Text Symbol: 001 = Historical record
001 &0..................&3.............&1..................&2..................
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_ENQUEUE_OBJECT CALL FUNCTION 'HR_ENQUEUE_OBJECT' EXPORTING plvar = ppenq-plvar otype = ppenq-otype objid = ppenq-objid IMPORTING lock_user = akt_user EXCEPTIONS enqueue_failed = 1 objid_is_initial = 2 illegal_otype = 3 internal_error = 4 OTHERS = 5.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING infty = ' ' istat = pchistat "note1120238 inftb = 0 TABLES innnn = infty_tab objects = objec_innn EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 OTHERS = 5.
RH_DELETE_INFTY_DIRECT CALL FUNCTION 'RH_DELETE_INFTY_DIRECT' EXPORTING vtask = 'B' TABLES innnn = infty_innn EXCEPTIONS no_authorization = 1 error_during_delete = 2 corr_exit = 3 OTHERS = 4.
RH_TURN_RELATION CALL FUNCTION 'RH_TURN_RELATION' EXPORTING otype = p1001-sclas EXCEPTIONS relation_not_reversible = 1 OTHERS = 2.
RH_INVERT_RELA_INFTY CALL FUNCTION 'RH_INVERT_RELA_INFTY' EXPORTING p1001_imp = p1001 IMPORTING p1001_exp = p1001_new EXCEPTIONS relation_not_reversible = 1 OTHERS = 2.
RH_DELETE_INFTY_DIRECT CALL FUNCTION 'RH_DELETE_INFTY_DIRECT' EXPORTING vtask = 'B' TABLES innnn = p1001_innn EXCEPTIONS no_authorization = 1 error_during_delete = 2 corr_exit = 3 OTHERS = 4.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = p1001-plvar otype = p1001-sclas realo = p1001-sobid istat = p1001-istat ointerval = 'X' IMPORTING obeg = rela_obj_begda oend = rela_obj_endda EXCEPTIONS not_found = 1 OTHERS = 2.
RH_INSERT_INFTY_DIRECT CALL FUNCTION 'RH_INSERT_INFTY_DIRECT' EXPORTING vtask = 'B' old_tabnr = 'X' TABLES innnn = insert_innn EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.
RH_TURN_RELATION CALL FUNCTION 'RH_TURN_RELATION' EXPORTING otype = p1001-sclas EXCEPTIONS relation_not_reversible = 1 OTHERS = 2.
RH_INVERT_RELA_INFTY CALL FUNCTION 'RH_INVERT_RELA_INFTY' EXPORTING p1001_imp = p1001 IMPORTING p1001_exp = p1001_new EXCEPTIONS relation_not_reversible = 1 OTHERS = 2.
RH_INSERT_INFTY_DIRECT CALL FUNCTION 'RH_INSERT_INFTY_DIRECT' EXPORTING vtask = 'B' TABLES innnn = p1001_innn EXCEPTIONS no_authorization = 1 error_during_insert = 2 corr_exit = 3 OTHERS = 4.
RH_DELETE_INFTY CALL FUNCTION 'RH_DELETE_INFTY' EXPORTING vtask = 'B' TABLES innnn = infty_innn EXCEPTIONS error_during_delete = 1 no_authorization = 2 delete_first_record = 3 corr_exit = 4 OTHERS = 5.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = p1001-plvar otype = p1001-sclas realo = p1001-sobid istat = p1001-istat ointerval = 'X' IMPORTING obeg = rela_obj_begda oend = rela_obj_endda EXCEPTIONS not_found = 1 OTHERS = 2.
RH_UPDATE_INFTY CALL FUNCTION 'RH_UPDATE_INFTY' EXPORTING vtask = 'B' old_tabnr_new_langu = 'X' TABLES innnn = insert_innn EXCEPTIONS error_during_update = 1 no_authorization = 2 repid_form_initial = 3 corr_exit = 4 OTHERS = 5.
RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING vtask = 'B' old_tabnr = 'X' TABLES innnn = insert_innn EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.
RH_UPDATE_DATABASE CALL FUNCTION 'RH_UPDATE_DATABASE' EXPORTING vtask = 'D' EXCEPTIONS corr_exit = 1 OTHERS = 2.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = 'X' i_callback_program = g_repid is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_SORT = GT_SORT[] it_events = gt_events[] TABLES t_outtab = ausgabe_tab EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = e03_lt_events.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
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 RHGRENZ1 or its description.