RHCDOC_DISPLAY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report enables you to display change documents created when changes were made to Personnel Planning infotypes...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 RHCDOC_DISPLAY 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: USER = D User
Selection Text: TECHVIEW = D Technical View
Selection Text: SUMMVIEW = D Summarized View
Selection Text: SUBTY = D Subtype
Selection Text: SOBID = D ID of Related Object
Selection Text: SEARK = D Search Term
Selection Text: SCLAS = D Type of Related Object
Selection Text: READDB = Read from Database
Selection Text: READARCH = Read from Archive
Selection Text: P_ENDDA = D End Date
Selection Text: P_BEGDA = D Start Date
Selection Text: PLVAR = D Plan Version
Selection Text: OTYPE = D Object Type
Selection Text: OBJID = D Object ID
Selection Text: LANGU = D Language Key
Selection Text: ISTAT = D Planning Status
Selection Text: INFTY = D Infotype
Selection Text: ENDTIME = Clock Time (End)
Selection Text: DISFIELD = Display Field Contents
Selection Text: BEGTIME = Clock Time (Start)
Title: Display Change Documents
Text Symbol: VIE = Output
Text Symbol: REA = Data Source
Text Symbol: OBJ = Object
Text Symbol: INF = Infotype
Text Symbol: DOC = Change Data
Text Symbol: 010 = Change documents are being read...
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = gt_restriction EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Änderungsbelege werden gelesen...'(010).
RH_CDOC_READ CALL FUNCTION 'RH_CDOC_READ' EXPORTING client = sy-mandt plvar = plvar otype = otype objid = objid-low it_object = gt_object istat = istat infty = infty subty = subty langu = langu sclas = sclas sobid = sobid date_of_change = begda time_of_change = begtime date_until = endda time_until = endtime username = user read_from_db = readdb read_from_archive = readarch IMPORTING et_cdhdr = gt_cdhdr et_cdpos = gt_cdpos EXCEPTIONS no_position_found = 1 action_canceled = 2 OTHERS = 3.
RH_CDOC_DISPLAY CALL FUNCTION 'RH_CDOC_DISPLAY' EXPORTING it_cdhdr = gt_cdhdr it_cdpos = gt_cdpos iv_display_fields = disfield iv_summ_view = summview.
RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = seark plvar = plvar otype = otype IMPORTING sel_object = ls_object EXCEPTIONS f15 = 1 wrong_condition = 2 nothing_found = 3 OTHERS = 4.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = '1000' "sy-dynnr translate_to_upper = 'X' TABLES dynpfields = lt_dynp EXCEPTIONS OTHERS = 0.
RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING dynpro_repid = sy-repid dynpro_dynnr = sy-dynnr dynpro_plvarfield = 'PLVAR' dynpro_otypefield = 'OTYPE' dynpro_searkfield = 'SEARK' set_mode = 'X' IMPORTING sel_plvar = plvar sel_otype = otype sel_object = ls_object TABLES marked_objects = lt_marked_objects sel_objects = lt_sel_objects EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 illegal_mode = 4 internal_error = 5 OTHERS = 6.
RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = plvar otype = otype set_mode = ' ' IMPORTING sel_object = ls_object EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.