SAP Reports / Programs | Pegging, Grouping, and Distribution | Aerospace & Defence Industry Solution | Pegging, Grouping, and Distribution(IS-AD-GPD) SAP IS

RPEGALL SAP ABAP Report - Pegging: Collective Processing







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

PEG01 - Collective Processing Pegging


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 RPEGALL. "Basic submit
SUBMIT RPEGALL AND RETURN. "Return to original report after report execution complete
SUBMIT RPEGALL 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: SC_GRPR2 = Grouping WBS Element
Selection Text: P_TEST = Test run
Selection Text: P_RED = Total order qty mismatch (Red)
Selection Text: P_GREEN = Normal Pegs (Green)
Selection Text: P_DELIS = Detail list
Selection Text: P_AMBER = Exception Records (Yellow)
Title: Pegging: Collective Processing
Text Symbol: 056 = If you selected "Detail List", what traffic light colors do you want to view?
Text Symbol: 057 = If you selected "Detail List", select the type of pegging result records you want to view
Text Symbol: M01 = Reading
Text Symbol: M02 = Client
Text Symbol: M03 = Customizing
Text Symbol: M04 = Replenishment
Text Symbol: M05 = Keys
Text Symbol: M06 = Historical
Text Symbol: M07 = Data
Text Symbol: M08 = Requirements
Text Symbol: M09 = From Database
Text Symbol: M10 = Start
Text Symbol: M11 = Pegging
Text Symbol: M12 = End
Text Symbol: M13 = Database
Text Symbol: M14 = Update
Text Symbol: 055 = Detail List's Lights
Text Symbol: 001 = J
Text Symbol: 003 = Purchase Order Items
Text Symbol: 004 = Purchase Req. Items
Text Symbol: 005 = Production Orders
Text Symbol: 006 = Planned Orders
Text Symbol: 007 = Planned Independent Requirement
Text Symbol: 008 = Reservations
Text Symbol: 011 = Selection
Text Symbol: 012 = Options
Text Symbol: 016 = Plant
Text Symbol: 017 = Grouping WBS Element
Text Symbol: 031 = Date
Text Symbol: 032 = Time
Text Symbol: 033 = Test Run





Text Symbol: 034 = Update Run
Text Symbol: 036 = Number of Objects Processed
Text Symbol: 048 = No Grouping WBS Elements Have Been Entered
Text Symbol: 049 = New assignments
Text Symbol: 050 = Changed Assignments
Text Symbol: 051 = Deleted Assignments
Text Symbol: 052 = Unchanged Assignemnts
Text Symbol: 053 = Continue Processing?
Text Symbol: 054 = Warning


INCLUDES used within this REPORT RPEGALL

INCLUDE RPEGALLTOP.
INCLUDE SCHEDMAN_EVENTS.
INCLUDE RPEGALLF01.
INCLUDE RPEGALLF02.
INCLUDE RPEGALLF03.
INCLUDE RPEGALLF05.
INCLUDE RPEGALLF06.
INCLUDE RPEGALLF07.
INCLUDE RPEGALLF08.
INCLUDE RPEGALLF09.
INCLUDE RPEGALLF10.


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:

PEG08_CHECK_AUTHORIZATION CALL FUNCTION 'PEG08_CHECK_AUTHORIZATION' EXPORTING i_object = 'I_GPD_XP' i_tcode = 'PEG01' "not using sy-tcode,batch & foreground work i_mode = 'c' IMPORTING o_mode = l_omode.

PEG02_READ_CLIENT_CUSTOMIZING CALL FUNCTION 'PEG02_READ_CLIENT_CUSTOMIZING' EXPORTING i_mandt = sy-mandt it_groups = lt_groups IMPORTING es_peg_client = gs_peg_client TABLES et_peg_exc_werks = gt_peg_werks et_peg_exc_grpnr = gt_peg_grpnr et_pegexc_wrk_grp = gt_pegexc_wrk_grp.

PEG02_UPDATE_ASSIGNMENTS_NEW CALL FUNCTION 'PEG02_UPDATE_ASSIGNMENTS_NEW' EXPORTING i_sort = 'X' i_test = p_test i_client = gs_peg_client i_log_handle = g_log_handle IMPORTING e_ass_new = g_number_new e_ass_chg = g_number_chg e_ass_del = g_number_del e_ass_unchg = g_number_unchg TABLES t_peg_dis_admin_ins = lt_admin_ins t_peg_dis_admin_del = lt_admin_del t_wlst_del = lt_dis_wlst CHANGING ct_peg_tass = lt_nha_tass ct_peg_tass_hist = lt_hist_tass ct_peg_tass_tmp = lt_new_tmp ct_peg_tass_tmp_hist = lt_hist_tmp ct_peg_tass_wlst = lt_new_wlst ct_peg_tass_wlst_hist = lt_hist_wlst.



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