GET_PLND_DOWNTIME SAP Method Get planned downtime for the function location
Below is documentation, parameters and attributes of ABAP Method GET_PLND_DOWNTIME within SAP class IF_EX_BADI_GHO_PLND_DOWNTIME. 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_EX_BADI_GHO_PLND_DOWNTIME into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method GET_PLND_DOWNTIME can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_PLND_DOWNTIME
.| Name | Type | Data Type | Description | Default Value |
| IV_FROM_DATE | Importing | TYPE SY-DATUM | Current Date of Application Server | |
| IV_FROM_TIME | Importing | TYPE SY-TIMLO | Local Time of Current User | |
| IV_FUNC_LOCATION | Importing | TYPE TPLNR | Functional Location | |
| IV_TO_DATE | Importing | TYPE SY-DATUM | Current Date of Application Server | |
| IV_TO_TIME | Importing | TYPE SY-TIMLO | Local Time of Current User | |
| ET_DOWNTIME | Changing | TYPE GHO_T_PLAN_DOWNTIME | Table type for planned downtime records | |
| EV_DOWNTIME_DURATION | Changing | TYPE AUSZT | Breakdown Duration | |
| EV_DOWNTIME_DURATION_UOM | Changing | TYPE MAUEH | Unit for Breakdown Duration |
Exceptions of Method GET_PLND_DOWNTIME
This method does not have any exceptionsExample ABAP coding
DATA: lv_ET_DOWNTIME TYPE GHO_T_PLAN_DOWNTIME,
lv_EV_DOWNTIME_DURATION TYPE AUSZT,
lv_EV_DOWNTIME_DURATION_UOM TYPE MAUEH,
lv_IV_FROM_DATE TYPE SY-DATUM,
lv_IV_FROM_TIME TYPE SY-TIMLO,
lv_IV_FUNC_LOCATION TYPE TPLNR,
lv_IV_TO_DATE TYPE SY-DATUM,
lv_IV_TO_TIME TYPE SY-TIMLO,
lv_other TYPE c.
CALL METHOD IF_EX_BADI_GHO_PLND_DOWNTIME=>GET_PLND_DOWNTIME(
EXPORTING
IV_FROM_DATE = lv_IV_FROM_DATE
IV_FROM_TIME = lv_IV_FROM_TIME
IV_FUNC_LOCATION = lv_IV_FUNC_LOCATION
IV_TO_DATE = lv_IV_TO_DATE
IV_TO_TIME = lv_IV_TO_TIME
CHANGING
ET_DOWNTIME = lv_ET_DOWNTIME
EV_DOWNTIME_DURATION = lv_EV_DOWNTIME_DURATION
EV_DOWNTIME_DURATION_UOM = lv_EV_DOWNTIME_DURATION_UOM ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects