EXECUTE SAP Method Execute adjustment before completion check









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

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


Parameters of Method EXECUTE

.

NameTypeData TypeDescriptionDefault Value
IS_LMGImportingTYPE
PEG_LLC_MAT_GRP
LLC-Material-Group
IT_ARCH_REPOBJImportingTYPE
PEG_TH_ARCH_REPOBJ
GPD: Hashed table of archiving replenishment object
IT_HIST_TASSImportingTYPE
PEG_T_TASS
Hist. assignments
IT_NEW_TASSImportingTYPE
PEG_T_TASS
New assignments
IT_REPLENImportingTYPE
PEG_T_REPLEN
Replenishments
IV_FIN_PASSImportingTYPE
CHECKBOX
Final pegging pass
IV_PEGPASSImportingTYPE
I
Current Pegging pass number
IT_LMG_ERRORImportingTYPE
PEG_T_LLC_MAT_GRP
Pegging: Table Type for lower level code, material and group
CT_HST_BUF_TASSChangingTYPE
PEG_T_TASS
Pegging: Assignments Table
CT_OPEN_TASSChangingTYPE
PEG_T_OPEN_TASS
On-hold assignments
CT_REAL_TASSChangingTYPE
PEG_T_TASS
Current assignment



Exceptions of Method EXECUTE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_BADI_GPD_PEG_ADJ_BEF_COMPL.
DATA: lv_CT_HST_BUF_TASS TYPE PEG_T_TASS,
lv_CT_OPEN_TASS TYPE PEG_T_OPEN_TASS,
lv_CT_REAL_TASS TYPE PEG_T_TASS,
lv_IS_LMG TYPE PEG_LLC_MAT_GRP,
lv_IT_ARCH_REPOBJ TYPE PEG_TH_ARCH_REPOBJ,
lv_IT_HIST_TASS TYPE PEG_T_TASS,
lv_IT_NEW_TASS TYPE PEG_T_TASS,
lv_IT_REPLEN TYPE PEG_T_REPLEN,
lv_IV_FIN_PASS TYPE CHECKBOX,
lv_IV_PEGPASS TYPE I,
lv_IT_LMG_ERROR TYPE PEG_T_LLC_MAT_GRP,
lv_other TYPE c.

CALL METHOD lo_class=>EXECUTE(
EXPORTING
IS_LMG = lv_IS_LMG
IT_ARCH_REPOBJ = lv_IT_ARCH_REPOBJ
IT_HIST_TASS = lv_IT_HIST_TASS
IT_NEW_TASS = lv_IT_NEW_TASS
IT_REPLEN = lv_IT_REPLEN
IV_FIN_PASS = lv_IV_FIN_PASS
IV_PEGPASS = lv_IV_PEGPASS
IT_LMG_ERROR = lv_IT_LMG_ERROR
CHANGING
CT_HST_BUF_TASS = lv_CT_HST_BUF_TASS
CT_OPEN_TASS = lv_CT_OPEN_TASS
CT_REAL_TASS = lv_CT_REAL_TASS ).

Links to Related Class(s)

IF_BADI_...
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!