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

RPEGALLF07 SAP ABAP INCLUDE - Include RPEGALLF07







RPEGALLF07 is a standard ABAP INCLUDE 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 RPEGALLF07 into the relevant SAP transactions such as SE38 or SE80


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


Text pool values


Title: Include RPEGALLF07


INCLUDES used within this REPORT RPEGALLF07

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:

PEG02_CONVERT_EXT_INT_ID CALL FUNCTION 'PEG02_CONVERT_EXT_INT_ID' EXPORTING i_delkz = ls_llc_replen-delkz i_delnr = ls_llc_replen-delnr IMPORTING e_objnr = ls_llc_replen-repobj.

PEG02_CONVERT_EXT_INT_ID CALL FUNCTION 'PEG02_CONVERT_EXT_INT_ID' EXPORTING i_delkz = ls_llc_replen-delkz i_delnr = ls_llc_replen-delnr i_delps = ls_llc_replen-delps IMPORTING e_objnr = ls_llc_replen-repobj.

PEG02_CONVERT_EXT_INT_ID CALL FUNCTION 'PEG02_CONVERT_EXT_INT_ID' EXPORTING i_delkz = ls_llc_replen-delkz i_del12 = ls_llc_replen-del12 i_delnr = ls_llc_replen-delnr i_delps = ls_llc_replen-delps i_delet = ls_llc_replen-delet IMPORTING e_objnr = ls_llc_replen-repobj.

PEG02_CONVERT_EXT_INT_ID CALL FUNCTION 'PEG02_CONVERT_EXT_INT_ID' EXPORTING i_delkz = ls_llc_replen-delkz i_del12 = ls_llc_replen-del12 i_delnr = ls_llc_replen-delnr i_delps = ls_llc_replen-delps i_delet = ls_llc_replen-delet IMPORTING e_objnr = ls_llc_replen-repobj.

PEG02_CONVERT_EXT_INT_ID CALL FUNCTION 'PEG02_CONVERT_EXT_INT_ID' EXPORTING i_delkz = 'OR' i_del12 = ls_mdrs-aufnr i_delnr = l_delnr IMPORTING e_objnr = l_repobj.

PEG02_CONVERT_EXT_INT_ID CALL FUNCTION 'PEG02_CONVERT_EXT_INT_ID' EXPORTING i_delkz = 'OR' i_del12 = ls_mdrs-aufnr i_delnr = l_delnr IMPORTING e_objnr = l_repobj.

GRPG_FIND_GRPNR_WITH_DISGR CALL FUNCTION 'GRPG_FIND_GRPNR_WITH_DISGR' EXPORTING i_pspnr = ls_mdup-pspel i_werks = ls_mdup-plwrk i_disgr = ls_mat_wrk_disgr-disgr IMPORTING e_grpnr = l_grpnr e_grp_active = l_grp_active EXCEPTIONS no_valid_grpnr_found = 1.

GRPG_FIND_GRPNR_WITH_DISGR CALL FUNCTION 'GRPG_FIND_GRPNR_WITH_DISGR' EXPORTING i_pspnr = ls_preq_h-ps_psp_pnr i_werks = ls_mdua-werks i_disgr = ls_mat_wrk_disgr-disgr IMPORTING e_grpnr = l_grpnr e_grp_active = l_grp_active EXCEPTIONS no_valid_grpnr_found = 1.

GRPG_FIND_GRPNR_WITH_DISGR CALL FUNCTION 'GRPG_FIND_GRPNR_WITH_DISGR' EXPORTING i_pspnr = ls_po_h-ps_psp_pnr i_werks = ls_mdub-werks i_disgr = ls_mat_wrk_disgr-disgr IMPORTING e_grpnr = l_grpnr e_grp_active = l_grp_active EXCEPTIONS no_valid_grpnr_found = 1.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING correct_option = '-' date = l_af61x-gkday factory_calendar_id = ls_cm61w-fabkl IMPORTING date = l_mdcal-gkday factorydate = l_mdcal-fkday workingday_indicator = l_mdcal-worki.

PEG02_CONVERT_EXT_INT_ID CALL FUNCTION 'PEG02_CONVERT_EXT_INT_ID' EXPORTING i_delkz = 'BE' i_delnr = l_delnr i_delps = p_delps i_delet = p_delet IMPORTING e_objnr = l_repobj.

PEG02_CONVERT_EXT_INT_ID CALL FUNCTION 'PEG02_CONVERT_EXT_INT_ID' EXPORTING i_delkz = 'OR' i_del12 = p_delnr IMPORTING e_objnr = l_repobj.

PEG02_CONVERT_INT_EXT_ID CALL FUNCTION 'PEG02_CONVERT_INT_EXT_ID' EXPORTING i_objnr = ls_hist_tstk-repobj IMPORTING e_delkz = ls_llc_replen-delkz e_del12 = ls_llc_replen-del12 e_delnr = ls_llc_replen-delnr e_delps = ls_llc_replen-delps e_delet = ls_llc_replen-delet.



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