CHECK_HEADER_STRAT_FIELDS SAP Method Checks and Sets Strategy-Dependent Fields in Header
Below is documentation, parameters and attributes of ABAP Method CHECK_HEADER_STRAT_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_HEADER_STRAT_FIELDS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_HEADER_STRAT_FIELDS
.| Name | Type | Data Type | Description | Default Value |
| STICH | Importing | TYPE TERMKNZ | Scheduling Indicator | |
| STRATEGY_DATA | Importing | TYPE T351 | Maintenance Strategy | |
| FABKL | Changing | TYPE FABKL | Key for Factory Calendar | |
| HORIZ | Changing | TYPE HORIZONT | Call Horizon for Maintenance Plan Calls | |
| HORIZ_DAYS | Changing | TYPE HORIZONT | Call horizon for maintenance calls in days | |
| HORIZ_QUALIFIER | Changing | TYPE EAM_CC_CALLHORIZON_QUALIFIER | Qualifiers of Call Horizon | |
| HUNIT | Changing | TYPE HUNIT | Unit for Scheduling Period | |
| SZAEH | Changing | TYPE SZAEHC | Start Counter Reading | |
| TONEG | Changing | TYPE TOLERNEG | Tolerance for Early Completion (%) | |
| TOPOS | Changing | TYPE TOLERPLUS | Tolerance for Late Completion (%) | |
| VSNEG | Changing | TYPE VERSCHNEG | Shift Factor for Early Completion | |
| VSPOS | Changing | TYPE VERSCHPLUS | Shift Factor for Late Completion |
Exceptions of Method CHECK_HEADER_STRAT_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_FABKL TYPE FABKL,
lv_HORIZ TYPE HORIZONT,
lv_HORIZ_DAYS TYPE HORIZONT,
lv_HORIZ_QUALIFIER TYPE EAM_CC_CALLHORIZON_QUALIFIER,
lv_HUNIT TYPE HUNIT,
lv_STICH TYPE TERMKNZ,
lv_STRATEGY_DATA TYPE T351,
lv_SZAEH TYPE SZAEHC,
lv_TONEG TYPE TOLERNEG,
lv_TOPOS TYPE TOLERPLUS,
lv_VSNEG TYPE VERSCHNEG,
lv_VSPOS TYPE VERSCHPLUS,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_HEADER_STRAT_FIELDS(
EXPORTING
STICH = lv_STICH
STRATEGY_DATA = lv_STRATEGY_DATA
CHANGING
FABKL = lv_FABKL
HORIZ = lv_HORIZ
HORIZ_DAYS = lv_HORIZ_DAYS
HORIZ_QUALIFIER = lv_HORIZ_QUALIFIER
HUNIT = lv_HUNIT
SZAEH = lv_SZAEH
TONEG = lv_TONEG
TOPOS = lv_TOPOS
VSNEG = lv_VSNEG
VSPOS = lv_VSPOS ).
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