ADD_PEG_STK_FOR_STO SAP Method transfer posting from intransit to in-stock (reverse 352)
Below is documentation, parameters and attributes of ABAP Method ADD_PEG_STK_FOR_STO within SAP class IF_EX_BADI_GPD_16. 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_16 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 ADD_PEG_STK_FOR_STO can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_PEG_STK_FOR_STO
.| Name | Type | Data Type | Description | Default Value |
| IS_VM07M | Importing | TYPE VM07M | Fields: Update Control of Module Pool SAPMM07M | |
| I_MKPF | Importing | TYPE MKPF | Header: Material Document | |
| I_MSEG | Importing | TYPE MSEG | Document Segment: Material | |
| I_REPOBJ | Importing | TYPE PEG_TASS-REPOBJ | Object Number Replenishment Element | |
| CT_PEG_TSTK | Changing | TYPE PEG_T_TSTK | Pegging: Stock Table | |
| CT_PEG_TXPT | Changing | TYPE PEG_T_TXPT | Table of cross plant transfers w.r.t STO's |
Exceptions of Method ADD_PEG_STK_FOR_STO
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_GPD_16.
DATA: lv_CT_PEG_TSTK TYPE PEG_T_TSTK,
lv_CT_PEG_TXPT TYPE PEG_T_TXPT,
lv_IS_VM07M TYPE VM07M,
lv_I_MKPF TYPE MKPF,
lv_I_MSEG TYPE MSEG,
lv_I_REPOBJ TYPE PEG_TASS-REPOBJ,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_PEG_STK_FOR_STO(
EXPORTING
IS_VM07M = lv_IS_VM07M
I_MKPF = lv_I_MKPF
I_MSEG = lv_I_MSEG
I_REPOBJ = lv_I_REPOBJ
CHANGING
CT_PEG_TSTK = lv_CT_PEG_TSTK
CT_PEG_TXPT = lv_CT_PEG_TXPT ).
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