CHECK_AND_ADJUST_ASS SAP Method Pegging: Check and Adjust Assignments









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

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


Parameters of Method CHECK_AND_ADJUST_ASS

.

NameTypeData TypeDescriptionDefault Value
IT_HIST_ASSImportingTYPE
PEG_T_TASS
Historical Assignments
IT_REPLENImportingTYPE
PEG_T_REPLEN
Detailed Information Replenishment Objects
IT_TSTKImportingTYPE
PEG_T_TSTK
Stock Table
I_GROUPImportingTYPE
GRPSPNR
Group WBS element
I_LOG_HANDLEImportingTYPE
BALLOGHNDL
Application Log Handle
I_MATNRImportingTYPE
MARA-MATNR
Material Number
I_WERKSImportingTYPE
WERKS_D
Plant
CT_REAL_ASSChangingTYPE
PEG_T_TASS
New Assignments



Exceptions of Method CHECK_AND_ADJUST_ASS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_GPD_05.
DATA: lv_CT_REAL_ASS TYPE PEG_T_TASS,
lv_IT_HIST_ASS TYPE PEG_T_TASS,
lv_IT_REPLEN TYPE PEG_T_REPLEN,
lv_IT_TSTK TYPE PEG_T_TSTK,
lv_I_GROUP TYPE GRPSPNR,
lv_I_LOG_HANDLE TYPE BALLOGHNDL,
lv_I_MATNR TYPE MARA-MATNR,
lv_I_WERKS TYPE WERKS_D,
lv_other TYPE c.

CALL METHOD lo_class=>CHECK_AND_ADJUST_ASS(
EXPORTING
IT_HIST_ASS = lv_IT_HIST_ASS
IT_REPLEN = lv_IT_REPLEN
IT_TSTK = lv_IT_TSTK
I_GROUP = lv_I_GROUP
I_LOG_HANDLE = lv_I_LOG_HANDLE
I_MATNR = lv_I_MATNR
I_WERKS = lv_I_WERKS
CHANGING
CT_REAL_ASS = lv_CT_REAL_ASS ).

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!