ADD_PEG_TXPT SAP Method Create/maintain PEG_TXPT record while GI to STO









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

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


Parameters of Method ADD_PEG_TXPT

.

NameTypeData TypeDescriptionDefault Value
IS_MKPFImportingTYPE
MKPF
Header: Material Document
IS_MSEGImportingTYPE
MSEG
Document Segment: Material
IV_DATEImportingTYPE
PEG_TSTK-EINDT
Item delivery date
IV_PLANTImportingTYPE
MSEG-WERKS
Plant
IV_QTYImportingTYPE
MSEG-MENGE
Quantity
IV_REPOBJ_RImportingTYPE
PEG_TASS-REPOBJ
Object Number Replenishment Element
IV_REPOBJ_SImportingTYPE
PEG_TASS-REPOBJ
Object Number Replenishment Element
CT_PEG_TXPTChangingTYPE
PEG_T_TXPT
Table of cross plant transfers w.r.t STO's



Exceptions of Method ADD_PEG_TXPT

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_TXPT TYPE PEG_T_TXPT,
lv_IS_MKPF TYPE MKPF,
lv_IS_MSEG TYPE MSEG,
lv_IV_DATE TYPE PEG_TSTK-EINDT,
lv_IV_PLANT TYPE MSEG-WERKS,
lv_IV_QTY TYPE MSEG-MENGE,
lv_IV_REPOBJ_R TYPE PEG_TASS-REPOBJ,
lv_IV_REPOBJ_S TYPE PEG_TASS-REPOBJ,
lv_other TYPE c.

CALL METHOD lo_class=>ADD_PEG_TXPT(
EXPORTING
IS_MKPF = lv_IS_MKPF
IS_MSEG = lv_IS_MSEG
IV_DATE = lv_IV_DATE
IV_PLANT = lv_IV_PLANT
IV_QTY = lv_IV_QTY
IV_REPOBJ_R = lv_IV_REPOBJ_R
IV_REPOBJ_S = lv_IV_REPOBJ_S
CHANGING
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



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!