WORK_STATUS_REPORT SAP Method Data Processing for Work Status Reporting









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

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


Parameters of Method WORK_STATUS_REPORT

.

NameTypeData TypeDescriptionDefault Value
IR_MPD_OBJECTImportingTYPE REF TO
CL_MPD_OBJECT_COLLECTOR
MPD: Relationships between MPD objects
IV_FROM_DATEImportingTYPE
DATUM
Date in CHAR format
IV_TO_DATEImportingTYPE
DATUM
Date in CHAR format
ET_MHISExportingTYPE
TT_MHIS
Maintenance plan history
ET_WORKSTAT_RPTExportingTYPE
MPD_WORKSTAT_RPT_TAB
MPD: Table type for work status reporting results
EV_IS_VALID_FLAGExportingTYPE
XFELD
Flag used to confirm whether the record is valid for report



Exceptions of Method WORK_STATUS_REPORT

ET_MHISExportingTYPE
TT_MHISMaintenance plan historyET_WORKSTAT_RPTExportingTYPE
MPD_WORKSTAT_RPT_TABMPD: Table type for work status reporting resultsEV_IS_VALID_FLAGExportingTYPE
XFELDFlag used to confirm whether the record is valid for reportSTOP_REPORTING - Stops reporting

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_MPD_REPORTING.
DATA: lv_ET_MHIS TYPE TT_MHIS,
lv_ET_WORKSTAT_RPT TYPE MPD_WORKSTAT_RPT_TAB,
lv_EV_IS_VALID_FLAG TYPE XFELD,
lv_IR_MPD_OBJECT TYPE CL_MPD_OBJECT_COLLECTOR,
lv_IV_FROM_DATE TYPE DATUM,
lv_IV_TO_DATE TYPE DATUM,
lv_other TYPE c.

CALL METHOD lo_class=>WORK_STATUS_REPORT(
EXPORTING
IR_MPD_OBJECT = lv_IR_MPD_OBJECT
IV_FROM_DATE = lv_IV_FROM_DATE
IV_TO_DATE = lv_IV_TO_DATE
IMPORTING
ET_MHIS = lv_ET_MHIS
ET_WORKSTAT_RPT = lv_ET_WORKSTAT_RPT
EV_IS_VALID_FLAG = lv_EV_IS_VALID_FLAG ).

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



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!