COMPLIANCE_REPORTING SAP Method Data Processing for Total Compliance Reporting









Below is documentation, parameters and attributes of ABAP Method COMPLIANCE_REPORTING 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 COMPLIANCE_REPORTING can also be found below:

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


Parameters of Method COMPLIANCE_REPORTING

.

NameTypeData TypeDescriptionDefault Value
IR_BADI_RPTImportingTYPE REF TO
IF_EX_BADI_MPD_REPORTING
Business add-in interface IF_EX_BADI_MPD_REPORTING
IR_MPD_OBJECTImportingTYPE REF TO
CL_MPD_OBJECT_COLLECTOR
MPD: Relationships between MPD objects
IV_FROM_DATEImportingTYPE
DATUM
Date in CHAR format
IV_RPT_MODEImportingTYPE
MPD_RPT_MODE
MPD: Compliance Reporting Mode
IV_TO_DATEImportingTYPE
DATUM
Date in CHAR format
ER_RPT_RESULTExportingTYPE REF TO
DATA
Reference to the structure holding the current rpt. result
ES_CHNGIMP_RPTExportingTYPE
MPD_CHNGIMP_RPT_STRC
MPD: Structure for change implementation reporting
ES_CONSIST_RPTExportingTYPE
MPD_CONSIST_RPT_STRC
MPD: Structure for consistency reporting
ET_MHISExportingTYPE
TT_MHIS
Maintenance plan history
ET_WORKSTAT_RPTExportingTYPE
MPD_WORKSTAT_RPT_TAB
MPD: Table type for work status reporting



Exceptions of Method COMPLIANCE_REPORTING

ER_RPT_RESULTExportingTYPE REF TO
DATAReference to the structure holding the current rpt. resultES_CHNGIMP_RPTExportingTYPE
MPD_CHNGIMP_RPT_STRCMPD: Structure for change implementation reportingES_CONSIST_RPTExportingTYPE
MPD_CONSIST_RPT_STRCMPD: Structure for consistency reportingET_MHISExportingTYPE
TT_MHISMaintenance plan historyET_WORKSTAT_RPTExportingTYPE
MPD_WORKSTAT_RPT_TABMPD: Table type for work status reportingSTOP_REPORTING - Stops reporting

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_MPD_REPORTING.
DATA: lv_ER_RPT_RESULT TYPE DATA,
lv_ES_CHNGIMP_RPT TYPE MPD_CHNGIMP_RPT_STRC,
lv_ES_CONSIST_RPT TYPE MPD_CONSIST_RPT_STRC,
lv_ET_MHIS TYPE TT_MHIS,
lv_ET_WORKSTAT_RPT TYPE MPD_WORKSTAT_RPT_TAB,
lv_IR_BADI_RPT TYPE IF_EX_BADI_MPD_REPORTING,
lv_IR_MPD_OBJECT TYPE CL_MPD_OBJECT_COLLECTOR,
lv_IV_FROM_DATE TYPE DATUM,
lv_IV_RPT_MODE TYPE MPD_RPT_MODE,
lv_IV_TO_DATE TYPE DATUM,
lv_other TYPE c.

CALL METHOD lo_class=>COMPLIANCE_REPORTING(
EXPORTING
IR_BADI_RPT = lv_IR_BADI_RPT
IR_MPD_OBJECT = lv_IR_MPD_OBJECT
IV_FROM_DATE = lv_IV_FROM_DATE
IV_RPT_MODE = lv_IV_RPT_MODE
IV_TO_DATE = lv_IV_TO_DATE
IMPORTING
ER_RPT_RESULT = lv_ER_RPT_RESULT
ES_CHNGIMP_RPT = lv_ES_CHNGIMP_RPT
ES_CONSIST_RPT = lv_ES_CONSIST_RPT
ET_MHIS = lv_ET_MHIS
ET_WORKSTAT_RPT = lv_ET_WORKSTAT_RPT ).

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!