EX_BADI_MAHD_006 SAP Method Fill Selection Table for Reading AHD from BW Using CL
Below is documentation, parameters and attributes of ABAP Method EX_BADI_MAHD_006 within SAP class IF_EX_BADI_MAHD. 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_MAHD 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 EX_BADI_MAHD_006 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method EX_BADI_MAHD_006
.| Name | Type | Data Type | Description | Default Value |
| I_DATE_HI | Importing | TYPE D | To Date | |
| I_DATE_LO | Importing | TYPE D | From Date | |
| I_METHD_M | Importing | TYPE MDRD_METHD_M | Method for Determining Receiving Plants | |
| I_PERIO_HI | Importing | TYPE RMCP2-PERVU | To Period | |
| I_PERIO_LO | Importing | TYPE RMCP2-PERVU | From Period | |
| I_PERKZ | Importing | TYPE PERKZ | Period Indicator | |
| I_T_BERID_SPLIT | Importing | TYPE MDRD_T_BERID_SPLIT | Table of Receiving Plants | |
| I_T_MATNR_MEINS | Importing | TYPE MAHDT_T_MATNR_MEINS | Table of Materials with Base Unit of Measure | |
| I_T_QRY_DAT | Importing | TYPE MAHDT_T_AA_QRY_DAT | Table of Query Definition | |
| I_T_RESDB_SPLIT | Importing | TYPE MDRD_T_BERID_SPLIT | Plant | |
| C_FINISHED | Changing | TYPE FLAG | Indicator: Procedure Ended | |
| C_T_VARSEL | Changing | TYPE MAHDT_T_AA_VARSEL | Selection Table for BW-CL |
Exceptions of Method EX_BADI_MAHD_006
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_MAHD.
DATA: lv_C_FINISHED TYPE FLAG,
lv_C_T_VARSEL TYPE MAHDT_T_AA_VARSEL,
lv_I_DATE_HI TYPE D,
lv_I_DATE_LO TYPE D,
lv_I_METHD_M TYPE MDRD_METHD_M,
lv_I_PERIO_HI TYPE RMCP2-PERVU,
lv_I_PERIO_LO TYPE RMCP2-PERVU,
lv_I_PERKZ TYPE PERKZ,
lv_I_T_BERID_SPLIT TYPE MDRD_T_BERID_SPLIT,
lv_I_T_MATNR_MEINS TYPE MAHDT_T_MATNR_MEINS,
lv_I_T_QRY_DAT TYPE MAHDT_T_AA_QRY_DAT,
lv_I_T_RESDB_SPLIT TYPE MDRD_T_BERID_SPLIT,
lv_other TYPE c.
CALL METHOD lo_class=>EX_BADI_MAHD_006(
EXPORTING
I_DATE_HI = lv_I_DATE_HI
I_DATE_LO = lv_I_DATE_LO
I_METHD_M = lv_I_METHD_M
I_PERIO_HI = lv_I_PERIO_HI
I_PERIO_LO = lv_I_PERIO_LO
I_PERKZ = lv_I_PERKZ
I_T_BERID_SPLIT = lv_I_T_BERID_SPLIT
I_T_MATNR_MEINS = lv_I_T_MATNR_MEINS
I_T_QRY_DAT = lv_I_T_QRY_DAT
I_T_RESDB_SPLIT = lv_I_T_RESDB_SPLIT
CHANGING
C_FINISHED = lv_C_FINISHED
C_T_VARSEL = lv_C_T_VARSEL ).
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