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
.| Name | Type | Data Type | Description | Default Value |
| G_LOG_HANDLE | Importing | TYPE BALLOGHNDL | Application Log: Log handle | |
| PS_LMG | Importing | TYPE PEG_LLC_MAT_GRP | Pegging: MRP Low level code, Material, group WBS struct | |
| PT_REPLEN | Importing | TYPE PEG_T_REPLEN | Pegging: Detailed Information Replenishment Element | |
| PT_REQMNT | Importing | TYPE PEG_T_REQMNT | Pegging: Structure for Requirements | |
| PT_BUF_REPLEN | Exporting | TYPE PEG_T_REPLEN | Pegging: Detailed Information Replenishment Element | |
| PT_BUF_REQMNT | Exporting | TYPE PEG_T_REQMNT | Pegging: Structure for Requirements |
Exceptions of Method READ_MAT_GRP_SEGMENT
This method does not have any exceptionsExample 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