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
.| Name | Type | Data Type | Description | Default Value |
| IR_BADI_RPT | Importing | TYPE REF TO IF_EX_BADI_MPD_REPORTING | Business add-in interface IF_EX_BADI_MPD_REPORTING | |
| IR_MPD_OBJECT | Importing | TYPE REF TO CL_MPD_OBJECT_COLLECTOR | MPD: Relationships between MPD objects | |
| IV_FROM_DATE | Importing | TYPE DATUM | Date in CHAR format | |
| IV_RPT_MODE | Importing | TYPE MPD_RPT_MODE | MPD: Compliance Reporting Mode | |
| IV_TO_DATE | Importing | TYPE DATUM | Date in CHAR format | |
| ER_RPT_RESULT | Exporting | TYPE REF TO DATA | Reference to the structure holding the current rpt. result | |
| ES_CHNGIMP_RPT | Exporting | TYPE MPD_CHNGIMP_RPT_STRC | MPD: Structure for change implementation reporting | |
| ES_CONSIST_RPT | Exporting | TYPE MPD_CONSIST_RPT_STRC | MPD: Structure for consistency reporting | |
| ET_MHIS | Exporting | TYPE TT_MHIS | Maintenance plan history | |
| ET_WORKSTAT_RPT | Exporting | TYPE MPD_WORKSTAT_RPT_TAB | MPD: Table type for work status reporting |
Exceptions of Method COMPLIANCE_REPORTING
DATA
MPD_CHNGIMP_RPT_STRC
MPD_CONSIST_RPT_STRC
TT_MHIS
MPD_WORKSTAT_RPT_TAB
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