ADD_PEG_STK_FOR_STO_RECEIPT SAP Method goods receipt processing method for STO's 101









Below is documentation, parameters and attributes of ABAP Method ADD_PEG_STK_FOR_STO_RECEIPT 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_RECEIPT can also be found below:

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


Parameters of Method ADD_PEG_STK_FOR_STO_RECEIPT

.

NameTypeData TypeDescriptionDefault Value
IS_VM07MImportingTYPE
VM07M
Fields: Update Control of Module Pool SAPMM07M
I_MKPFImportingTYPE
MKPF
I_MSEGImportingTYPE
MSEG
I_REPOBJImportingTYPE
PEG_TASS-REPOBJ
Object Number Replenishment Element
CT_PEG_TSTKChangingTYPE
PEG_T_TSTK
Pegging: Stock table
CT_PEG_TXPTChangingTYPE
PEG_T_TXPT
Pegging: Record of intransit stock in cross plant transfers
CT_PEG_TXPT_HISTChangingTYPE
PEG_T_TXPT_HIST
Table of cross plant transfers history w.r.t STO's



Exceptions of Method ADD_PEG_STK_FOR_STO_RECEIPT

This method does not have any exceptions

Example 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_CT_PEG_TXPT_HIST TYPE PEG_T_TXPT_HIST,
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_RECEIPT(
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
CT_PEG_TXPT_HIST = lv_CT_PEG_TXPT_HIST ).

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!