SCHEDULING SAP Method Scheduling Specifically with Function Transfer









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

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


Parameters of Method SCHEDULING

.

NameTypeData TypeDescriptionDefault Value
ACTIONImportingTYPE
FCODE
Function Code
CONF_TIMEImportingTYPE
CONFIRMATION_TIME
Completion Time of Call
CYCLESEQINDImportingTYPE
CYCLESETSEQ
Cycle Set Sequence
IV_DAT_FREIImportingTYPE
SY-DATUM
Date: Release by ....
IV_SIMULATIONImportingTYPE
BOOLEAN
Simulation Mode (X=true, space=false)
KEEPImportingTYPE
BOOLEAN
Boolean Variable (X=true, -=false, space=unknown)
LRMDTImportingTYPE
LRMDT
Date of last completion in maintenance plan
NO_COMMITImportingTYPE
XFLAG
New Input Values
OFFZEImportingTYPE
OFFZE
Offset in current cycle
RZAEHImportingTYPE
RZAEHC
Completion Counter Reading
SETREPEATINDImportingTYPE
IND_SET_REPEAT
Repeat Factor for Cycle Set Sequence
STADTImportingTYPE
DATE_START
Start Date for Scheduling
STIMEImportingTYPE
TIME_START
Start Time for Scheduling
SZAEHImportingTYPE
SZAEHC
Start Counter Reading
WARPLImportingTYPE
WARPL
Maintenance Plan
ZYKLOFFSETImportingTYPE
WOFFSET
Offset with start in cycle
ZYKLUNITImportingTYPE
DZEIEH
Unit for the Performance of Maintenance Tasks
ET_CALLSExportingTYPE
WC_T_WMHIO
Maintenance Plan Call Table
ET_HISTORYExportingTYPE
WC_T_WMHIS
Maintenance Plan History Table
RETURNExportingTYPE
BAPIRETTAB
Table with BAPI Return Information



Exceptions of Method SCHEDULING

This method does not have any exceptions

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_SCHEDULE.
DATA: lv_ACTION TYPE FCODE,
lv_CONF_TIME TYPE CONFIRMATION_TIME,
lv_CYCLESEQIND TYPE CYCLESETSEQ,
lv_ET_CALLS TYPE WC_T_WMHIO,
lv_ET_HISTORY TYPE WC_T_WMHIS,
lv_IV_DAT_FREI TYPE SY-DATUM,
lv_IV_SIMULATION TYPE BOOLEAN,
lv_KEEP TYPE BOOLEAN,
lv_LRMDT TYPE LRMDT,
lv_NO_COMMIT TYPE XFLAG,
lv_OFFZE TYPE OFFZE,
lv_RETURN TYPE BAPIRETTAB,
lv_RZAEH TYPE RZAEHC,
lv_SETREPEATIND TYPE IND_SET_REPEAT,
lv_STADT TYPE DATE_START,
lv_STIME TYPE TIME_START,
lv_SZAEH TYPE SZAEHC,
lv_WARPL TYPE WARPL,
lv_ZYKLOFFSET TYPE WOFFSET,
lv_ZYKLUNIT TYPE DZEIEH,
lv_other TYPE c.

CALL METHOD lo_class=>SCHEDULING(
EXPORTING
ACTION = lv_ACTION
CONF_TIME = lv_CONF_TIME
CYCLESEQIND = lv_CYCLESEQIND
IV_DAT_FREI = lv_IV_DAT_FREI
IV_SIMULATION = lv_IV_SIMULATION
KEEP = lv_KEEP
LRMDT = lv_LRMDT
NO_COMMIT = lv_NO_COMMIT
OFFZE = lv_OFFZE
RZAEH = lv_RZAEH
SETREPEATIND = lv_SETREPEATIND
STADT = lv_STADT
STIME = lv_STIME
SZAEH = lv_SZAEH
WARPL = lv_WARPL
ZYKLOFFSET = lv_ZYKLOFFSET
ZYKLUNIT = lv_ZYKLUNIT
IMPORTING
ET_CALLS = lv_ET_CALLS
ET_HISTORY = lv_ET_HISTORY
RETURN = lv_RETURN ).

Links to Related Class(s)

MPLAN_SC...
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!