READ_MAT_GRP_SEGMENT SAP Method Read data for one material-group segment before pegging









Below is documentation, parameters and attributes of ABAP Method READ_MAT_GRP_SEGMENT within SAP class IF_EX_BADI_GPD_19. 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_19 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 READ_MAT_GRP_SEGMENT can also be found below:

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


Parameters of Method READ_MAT_GRP_SEGMENT

.

NameTypeData TypeDescriptionDefault Value
G_LOG_HANDLEImportingTYPE
BALLOGHNDL
Application Log: Log handle
PS_LMGImportingTYPE
PEG_LLC_MAT_GRP
Pegging: MRP Low level code, Material, group WBS struct
PT_REPLENImportingTYPE
PEG_T_REPLEN
Pegging: Detailed Information Replenishment Element
PT_REQMNTImportingTYPE
PEG_T_REQMNT
Pegging: Structure for Requirements
PT_BUF_REPLENExportingTYPE
PEG_T_REPLEN
Pegging: Detailed Information Replenishment Element
PT_BUF_REQMNTExportingTYPE
PEG_T_REQMNT
Pegging: Structure for Requirements



Exceptions of Method READ_MAT_GRP_SEGMENT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_GPD_19.
DATA: lv_G_LOG_HANDLE TYPE BALLOGHNDL,
lv_PS_LMG TYPE PEG_LLC_MAT_GRP,
lv_PT_BUF_REPLEN TYPE PEG_T_REPLEN,
lv_PT_BUF_REQMNT TYPE PEG_T_REQMNT,
lv_PT_REPLEN TYPE PEG_T_REPLEN,
lv_PT_REQMNT TYPE PEG_T_REQMNT,
lv_other TYPE c.

CALL METHOD lo_class=>READ_MAT_GRP_SEGMENT(
EXPORTING
G_LOG_HANDLE = lv_G_LOG_HANDLE
PS_LMG = lv_PS_LMG
PT_REPLEN = lv_PT_REPLEN
PT_REQMNT = lv_PT_REQMNT
IMPORTING
PT_BUF_REPLEN = lv_PT_BUF_REPLEN
PT_BUF_REQMNT = lv_PT_BUF_REQMNT ).

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!