PEG_EXCESS SAP Method Distribution of surplus









Below is documentation, parameters and attributes of ABAP Method PEG_EXCESS within SAP class IF_EX_BADI_GPD_12. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_GPD_12 into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method PEG_EXCESS can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method PEG_EXCESS

.

NameTypeData TypeDescriptionDefault Value
IT_HIST_ASSImportingTYPE
PEG_T_TASS
Assignment Table
IT_PEGEXC_WRK_GRPImportingTYPE
PEGEXC_T_WRK_GRP
Pegging: Exception handling- plant and group based
IT_PEG_EXC_GRPNRImportingTYPE
PEG_T_EXC_GRPNR
Pegging: Exception handling group based
IT_PEG_EXC_WERKSImportingTYPE
PEG_T_EXC_WERKS
Pegging: Exception handling plant based
I_LMGImportingTYPE
PEG_LLC_MAT_GRP
Pegging: MRP Low level code, Material, group WBS struct
I_LOG_HANDLEImportingTYPE
BALLOGHNDL
Application Log: Log handle
I_PEG_CLIENTImportingTYPE
PEG_CLIENT
Pegging: General settings for customizing
CT_REAL_ASSChangingTYPE
PEG_T_TASS
Assignment Table
CT_REPLENChangingTYPE
PEG_T_REPLEN
Assignment Table



Exceptions of Method PEG_EXCESS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_GPD_12.
DATA: lv_CT_REAL_ASS TYPE PEG_T_TASS,
lv_CT_REPLEN TYPE PEG_T_REPLEN,
lv_IT_HIST_ASS TYPE PEG_T_TASS,
lv_IT_PEGEXC_WRK_GRP TYPE PEGEXC_T_WRK_GRP,
lv_IT_PEG_EXC_GRPNR TYPE PEG_T_EXC_GRPNR,
lv_IT_PEG_EXC_WERKS TYPE PEG_T_EXC_WERKS,
lv_I_LMG TYPE PEG_LLC_MAT_GRP,
lv_I_LOG_HANDLE TYPE BALLOGHNDL,
lv_I_PEG_CLIENT TYPE PEG_CLIENT,
lv_other TYPE c.

CALL METHOD lo_class=>PEG_EXCESS(
EXPORTING
IT_HIST_ASS = lv_IT_HIST_ASS
IT_PEGEXC_WRK_GRP = lv_IT_PEGEXC_WRK_GRP
IT_PEG_EXC_GRPNR = lv_IT_PEG_EXC_GRPNR
IT_PEG_EXC_WERKS = lv_IT_PEG_EXC_WERKS
I_LMG = lv_I_LMG
I_LOG_HANDLE = lv_I_LOG_HANDLE
I_PEG_CLIENT = lv_I_PEG_CLIENT
CHANGING
CT_REAL_ASS = lv_CT_REAL_ASS
CT_REPLEN = lv_CT_REPLEN ).

Links to Related Class(s)

IF_EX_BA...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!