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
.| Name | Type | Data Type | Description | Default Value |
| IS_IMKPF | Importing | TYPE IMKPF | MMIM: Input Structure for General FM to Post Goods Movement | |
| IT_IMSEG | Importing | TYPE TY_T_IMSEG | Table Type with Structure IMSEG | |
| IT_MSPR | Importing | TYPE PEG_T_MSPR | Pegging: SMSPR | |
| IT_VM07M | Importing | TYPE TY_T_VM07M | Table with Structure VM07M | |
| IV_MIGO | Importing | TYPE C | BAdI call from MIGO | |
| CS_EMKPF | Changing | TYPE EMKPF | MMIM: Output Structure For General FM To Post Goods Movement | |
| CT_EMSEG | Changing | TYPE TY_T_EMSEG | Table type with structure EMSEG | |
| CV_ITEM_CREATED | Changing | TYPE C |
Exceptions of Method CHECK
This method does not have any exceptionsExample 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