SAP Reports / Programs

RPEGMAN001 SAP ABAP Report - Pegging: Assignment Changes







RPEGMAN001 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 RPEGMAN001 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

PEG02 - Manual Assignment Maintenance


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


Text pool values


Title: Pegging: Assignment Changes
Text Symbol: 013 = Enter a numeric value
Text Symbol: 014 = Display
Text Symbol: 015 = Changes were not saved
Text Symbol: 016 = Do not save changes?
Text Symbol: 017 = Data changed_
Text Symbol: 300 = Plant/Material/Group
Text Symbol: 400 = Group Segment
Text Symbol: 001 = Assigned Quantity Unequal Target Quantity
Text Symbol: 002 = - adjust
Text Symbol: 003 = Plant
Text Symbol: 004 = Material
Text Symbol: 005 = Grouping WBS Element
Text Symbol: 009 = Max. No. Of Data Records
Text Symbol: 010 = Pegging: Assignment Overview
Text Symbol: 011 = Plant/Material/GrpWBS


INCLUDES used within this REPORT RPEGMAN001

INCLUDE RPEGMANTOP.


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:

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'LINE' CHANGING ct_fieldcat = gt_fieldcatalog.

PEG02_UPDATE_ASSIGNMENTS CALL FUNCTION 'PEG02_UPDATE_ASSIGNMENTS' CHANGING ct_peg_tass = gt_outtab ct_peg_tass_hist = gt_histtab.

PEG08_CHECK_AUTHORIZATION CALL FUNCTION 'PEG08_CHECK_AUTHORIZATION' EXPORTING i_object = 'I_GPD_PEG' i_werks = ls_peg_tass-werks i_mode = g_mode IMPORTING o_mode = l_omode.

ENQUEUE_EPEG_LOCKWLST CALL FUNCTION 'ENQUEUE_EPEG_LOCKWLST' EXPORTING mode_peg_lockwlst = 'E' werks = p_werks grpnr = p_grpnr matnr = p_matnr EXCEPTIONS foreign_lock = 1.

DEQUEUE_EPEG_LOCKWLST CALL FUNCTION 'DEQUEUE_EPEG_LOCKWLST' EXPORTING mode_peg_lockwlst = 'E' werks = p_werks grpnr = p_grpnr matnr = p_matnr.



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