Menu

SAP Function Module MD_PEGGING_NODIALOG

Determines pegged requirements and displays these in an internal table

The Function Module MD_PEGGING_NODIALOG (Determines pegged requirements and displays these in an internal table) is a standard Function Module in SAP ERP and is part of the function group M61B within the package MD01.

Technical Information

Function Module MD_PEGGING_NODIALOG
Short Text Determines pegged requirements and displays these in an internal table
Function Group M61B
Package MD01
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EBERID LIKE MT61D-BERID SPACE Dispobereich
EDAT00 LIKE MDPS-DAT00 0 Zugangs-/Bedarfstermin
EDELET LIKE MDPS-DELET 0 Schedule line number of the MRP element
EDELKZ LIKE MDPS-DELKZ MRP element indicator (MM61XVAL)
EDELNR LIKE MDPS-DEL12 Number of MRP element
EDELPS LIKE MDPS-DELPS 0 MRP element item number
EMATNR LIKE MT61D-MATNR MRP element material number
EPLAAB LIKE MDPS-PLAAB SPACE Planning segment (only necessary for stocks)
EPLANR LIKE MDPS-PLANR SPACE Segment number (only necessary for stocks)
EPLSCN LIKE MDKP-PLSCN 0 Planning scenario
EWERKS LIKE MT61D-WERKS MRP element stock

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EMDPSX LIKE MDPS MRP element from MD04
IMDRQX LIKE MDRQ Pegged Requirements

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ERROR Other error
NO_REQUIREMENTS_FOUND MRP element has no source
ORDER_NOT_FOUND MRP element does not exist for material