CHECK_ITEM_MPTYP_FIELDS SAP Method Check and Set Strategy-Dependent Fields for Position
Below is documentation, parameters and attributes of ABAP Method CHECK_ITEM_MPTYP_FIELDS within SAP class MPLAN_CHECKS. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name MPLAN_CHECKS 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_ITEM_MPTYP_FIELDS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_ITEM_MPTYP_FIELDS
.| Name | Type | Data Type | Description | Default Value |
| ACTION | Importing | TYPE MPLAN_ACTION | Activity Indicator | |
| MITYP_OLD | Importing | TYPE MITYP | Existing Maintenance Item Category | |
| MPTYP_DATA | Importing | TYPE T399W | Maintenance Plan Category Parameter | |
| SCRRENTY_OLD | Importing | TYPE SCREENTY | Existing SCREEN TYPE: for Order-Order Category (See Domain) | |
| MITYP | Changing | TYPE MITYP | Maintenance Item Category | |
| SCRRENTY | Changing | TYPE SCREENTY | SCREEN TYPE: for Order-Order Category (See Domain) |
Exceptions of Method CHECK_ITEM_MPTYP_FIELDS
CX_MPLAN_EXCEPTION_ROOT - General Exception Maintenance Plan APIExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO MPLAN_CHECKS.
DATA: lv_ACTION TYPE MPLAN_ACTION,
lv_MITYP TYPE MITYP,
lv_MITYP_OLD TYPE MITYP,
lv_MPTYP_DATA TYPE T399W,
lv_SCRRENTY TYPE SCREENTY,
lv_SCRRENTY_OLD TYPE SCREENTY,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_ITEM_MPTYP_FIELDS(
EXPORTING
ACTION = lv_ACTION
MITYP_OLD = lv_MITYP_OLD
MPTYP_DATA = lv_MPTYP_DATA
SCRRENTY_OLD = lv_SCRRENTY_OLD
CHANGING
MITYP = lv_MITYP
SCRRENTY = lv_SCRRENTY ).
Links to Related Class(s)
MPLAN_CH...Full list of available SAP object classes
Search for further information about these or an SAP related objects