CHECK SAP Method Check Material Document Validity









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

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


Parameters of Method CHECK

.

NameTypeData TypeDescriptionDefault Value
IS_IMKPFImportingTYPE
IMKPF
MMIM: Input Structure for General FM to Post Goods Movement
IT_IMSEGImportingTYPE
TY_T_IMSEG
Table Type with Structure IMSEG
IT_MSPRImportingTYPE
PEG_T_MSPR
Pegging: SMSPR
IT_VM07MImportingTYPE
TY_T_VM07M
Table with Structure VM07M
IV_MIGOImportingTYPE
C
BAdI call from MIGO
CS_EMKPFChangingTYPE
EMKPF
MMIM: Output Structure For General FM To Post Goods Movement
CT_EMSEGChangingTYPE
TY_T_EMSEG
Table type with structure EMSEG
CV_ITEM_CREATEDChangingTYPE
C



Exceptions of Method CHECK

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_BADI_GPD_MM_PRECHECKING.
DATA: lv_CS_EMKPF TYPE EMKPF,
lv_CT_EMSEG TYPE TY_T_EMSEG,
lv_CV_ITEM_CREATED TYPE C,
lv_IS_IMKPF TYPE IMKPF,
lv_IT_IMSEG TYPE TY_T_IMSEG,
lv_IT_MSPR TYPE PEG_T_MSPR,
lv_IT_VM07M TYPE TY_T_VM07M,
lv_IV_MIGO TYPE C,
lv_other TYPE c.

CALL METHOD lo_class=>CHECK(
EXPORTING
IS_IMKPF = lv_IS_IMKPF
IT_IMSEG = lv_IT_IMSEG
IT_MSPR = lv_IT_MSPR
IT_VM07M = lv_IT_VM07M
IV_MIGO = lv_IV_MIGO
CHANGING
CS_EMKPF = lv_CS_EMKPF
CT_EMSEG = lv_CT_EMSEG
CV_ITEM_CREATED = lv_CV_ITEM_CREATED ).

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!