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

.

NameTypeData TypeDescriptionDefault Value
STICHImportingTYPE
TERMKNZ
Scheduling Indicator
STRATEGY_DATAImportingTYPE
T351
Maintenance Strategy
FABKLChangingTYPE
FABKL
Key for Factory Calendar
HORIZChangingTYPE
HORIZONT
Call Horizon for Maintenance Plan Calls
HORIZ_DAYSChangingTYPE
HORIZONT
Call horizon for maintenance calls in days
HORIZ_QUALIFIERChangingTYPE
EAM_CC_CALLHORIZON_QUALIFIER
Qualifiers of Call Horizon
HUNITChangingTYPE
HUNIT
Unit for Scheduling Period
SZAEHChangingTYPE
SZAEHC
Start Counter Reading
TONEGChangingTYPE
TOLERNEG
Tolerance for Early Completion (%)
TOPOSChangingTYPE
TOLERPLUS
Tolerance for Late Completion (%)
VSNEGChangingTYPE
VERSCHNEG
Shift Factor for Early Completion
VSPOSChangingTYPE
VERSCHPLUS
Shift Factor for Late Completion



Exceptions of Method CHECK_HEADER_STRAT_FIELDS

CX_MPLAN_EXCEPTION_ROOT - General Exception Maintenance Plan API

Example 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



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!