SAP Reports / Programs | Basis Components | Business Management | Organizational Management(BC-BMT-OM) SAP BC

RHBEGDA0 SAP ABAP Report - Set new start date







RHBEGDA0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report sets a new start date for the 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 RHBEGDA0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RE_RHBEGDA0 - Change start date


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


Text pool values


Selection Text: TEST = Test
Selection Text: SUBTY = Subtype
Selection Text: OLD_BEG = Old start date
Selection Text: NEW_BEG = New start date
Selection Text: INFTY = Infotype
Selection Text: ENQ = Lock object
Selection Text: ANZEIGE = Display delimited objects
Title: Set new start date
Text Symbol: TNO = --> No time constraints found
Text Symbol: ONK = --> Object cannot be abbreviated
Text Symbol: OBJ = New StrtDate = StrtDate of related object
Text Symbol: NEW = --> New start > Object start
Text Symbol: NEU = --> New start > Object end dat
Text Symbol: NES = --> incorr. old record start
Text Symbol: NEI = --> incorrect old obj. strt dat
Text Symbol: NEB = --> New start > Infotype end dat
Text Symbol: NDA = New start date
Text Symbol: INK = --> relationship is inconsistent
Text Symbol: ERF = --> Record Successfully Changed
Text Symbol: ENQ = --> object locked
Text Symbol: 021 = Result
Text Symbol: 020 = Plan version:
Text Symbol: 017 = New start date
Text Symbol: 016 = Set new start 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 start date
Text Symbol: 005 = Old start date:
Text Symbol: 004 = Test
Text Symbol: 003 = Display changed records
Text Symbol: 002 = Lock objects
001 &0..................&3.............&1..................&2..................





INCLUDES used within this REPORT RHBEGDA0

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:

HR_ENQUEUE_OBJECT CALL FUNCTION 'HR_ENQUEUE_OBJECT' EXPORTING plvar = ppenq-plvar otype = ppenq-otype objid = ppenq-objid 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 begda = pchbegda endda = pchendda 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.

RH_BASE_AUTHORITY_CHECK CALL FUNCTION 'RH_BASE_AUTHORITY_CHECK' EXPORTING FCODE = DELETE PLVAR = AUSGABE_WA-PLVAR OTYPE = AUSGABE_WA-OTYPE INFTY = AUSGABE_WA-INFTY SUBTY = AUSGABE_WA-SUBTY ISTAT = AUSGABE_WA-ISTAT EXCEPTIONS NO_BASE_AUTHORITY = 04.

RH_STRU_AUTHORITY_CHECK_PP01 CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK_PP01' EXPORTING FCODE = DELETE PLVAR = AUSGABE_WA-PLVAR OTYPE = AUSGABE_WA-OTYPE OBJID = AUSGABE_WA-OBJID INFTY = AUSGABE_WA-INFTY EXCEPTIONS NEW_OBJECT = 02 OTHERS = 04.






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.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.



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