RPEGDISPLCHDOC is a standard Executable ABAP Report 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 RPEGDISPLCHDOC into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PEG08 - Display Change Documents
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: P_ACTASS = Quantity Flow
Selection Text: P_ASS = Assignments
Selection Text: P_BAUGR = D Pegged Requirement
Selection Text: P_BRK = Breakpoints
Selection Text: P_DATE = Changed on
Selection Text: P_GRPNR = D Grouping WBS Element
Selection Text: P_MATNR = D Material
Selection Text: P_PLANT = D Plant
Selection Text: P_PRONR = D Project Definition
Selection Text: P_PSPRQ = D Pegged WBS Element
Selection Text: P_STK = Stock
Selection Text: P_USER = D User
Title: Pegging: Change Documents - Breakpoints
Text Symbol: 001 = Selection
Text Symbol: 002 = Table
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PEG08_CHECK_AUTHORIZATION CALL FUNCTION 'PEG08_CHECK_AUTHORIZATION' EXPORTING i_object = 'I_GPD_CPEG' i_werks = p_plant i_mode = 'd' IMPORTING o_mode = l_omode.
PEG08_CHECK_AUTHORIZATION CALL FUNCTION 'PEG08_CHECK_AUTHORIZATION' EXPORTING i_object = 'I_GPD_BRK' i_werks = p_plant i_mode = 'd' IMPORTING o_mode = l_omode.
CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING date_of_change = p_date objectclass = 'PEG_TASS' objectid = l_objectid username = p_user TABLES editpos = lt_pos_h EXCEPTIONS no_position_found = 1.
PEG07_CHANGEDOCUMENT_DISPLAY CALL FUNCTION 'PEG07_CHANGEDOCUMENT_DISPLAY' EXPORTING i_applicationid = 'PEG_TASS' flg_autocondense = 'X' i_objectclas = 'PEG_TASS' i_cb_program = l_repid TABLES i_cdred = lt_pos.
CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING date_of_change = p_date objectclass = 'PEG_TACTASS' objectid = l_objectid username = p_user TABLES editpos = lt_pos_h EXCEPTIONS no_position_found = 1.
PEG07_CHANGEDOCUMENT_DISPLAY CALL FUNCTION 'PEG07_CHANGEDOCUMENT_DISPLAY' EXPORTING i_applicationid = 'PEG_TACTASS' flg_autocondense = 'X' i_objectclas = 'PEG_TACTASS' i_cb_program = l_repid TABLES i_cdred = lt_pos.
CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING date_of_change = p_date objectclass = 'PEG_TSTK' objectid = l_objectid username = p_user TABLES editpos = lt_pos_h EXCEPTIONS no_position_found = 1.
PEG07_CHANGEDOCUMENT_DISPLAY CALL FUNCTION 'PEG07_CHANGEDOCUMENT_DISPLAY' EXPORTING i_applicationid = 'PEG_TSTK' flg_autocondense = 'X' i_objectclas = 'PEG_TSTK' i_cb_program = l_repid TABLES i_cdred = lt_pos.
CHANGEDOCUMENT_READ CALL FUNCTION 'CHANGEDOCUMENT_READ' EXPORTING date_of_change = p_date objectclass = 'PEG_TBRKDEF' objectid = l_objectid username = p_user TABLES editpos = lt_pos_h EXCEPTIONS no_position_found = 1.
PEG07_CHANGEDOCUMENT_DISPLAY CALL FUNCTION 'PEG07_CHANGEDOCUMENT_DISPLAY' EXPORTING i_applicationid = 'PEG_TBRKDEF' flg_autocondense = 'X' i_objectclas = 'PEG_TBRKDEF' i_cb_program = l_repid TABLES i_cdred = lt_pos.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.