EX_BADI_MAHD_004 SAP Method Fill Customer Column in ALV Grid for AHD Display
Below is documentation, parameters and attributes of ABAP Method EX_BADI_MAHD_004 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_004 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method EX_BADI_MAHD_004
.| Name | Type | Data Type | Description | Default Value |
| I_AHD_ACTIVE | Importing | TYPE FLAG | Indicator: AHD Active | |
| I_BERID | Importing | TYPE BERID | MRP Area | |
| I_CALL_FROM | Importing | TYPE CHAR1 | Indicator: Calling Program | |
| I_FIRST_CALL | Importing | TYPE FLAG | Indicator: First Call | |
| I_MATNR | Importing | TYPE MARA-MATNR | Material Number | |
| I_MEINS | Importing | TYPE MARA-MEINS | Unit of Measure | |
| I_PERIV | Importing | TYPE PERIV | Fiscal Year Variant | |
| I_PERKZ | Importing | TYPE PERKZ | Period Indicator | |
| E_CUST_FLDS_ACTIVE | Exporting | TYPE FLAG | Indicator: Customer Column Display Active | |
| E_T_CUST_FLDS_CTRL | Exporting | TYPE MAHDT_T_CUST_FLDS_CTRL | Table with Coltrol Data for SAP List Viewer | |
| C_T_FORC_CONS_AHD | Changing | TYPE MAHDT_T_FORC_CONS_AHD | Table of Data to be Displayed |
Exceptions of Method EX_BADI_MAHD_004
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_MAHD.
DATA: lv_C_T_FORC_CONS_AHD TYPE MAHDT_T_FORC_CONS_AHD,
lv_E_CUST_FLDS_ACTIVE TYPE FLAG,
lv_E_T_CUST_FLDS_CTRL TYPE MAHDT_T_CUST_FLDS_CTRL,
lv_I_AHD_ACTIVE TYPE FLAG,
lv_I_BERID TYPE BERID,
lv_I_CALL_FROM TYPE CHAR1,
lv_I_FIRST_CALL TYPE FLAG,
lv_I_MATNR TYPE MARA-MATNR,
lv_I_MEINS TYPE MARA-MEINS,
lv_I_PERIV TYPE PERIV,
lv_I_PERKZ TYPE PERKZ,
lv_other TYPE c.
CALL METHOD lo_class=>EX_BADI_MAHD_004(
EXPORTING
I_AHD_ACTIVE = lv_I_AHD_ACTIVE
I_BERID = lv_I_BERID
I_CALL_FROM = lv_I_CALL_FROM
I_FIRST_CALL = lv_I_FIRST_CALL
I_MATNR = lv_I_MATNR
I_MEINS = lv_I_MEINS
I_PERIV = lv_I_PERIV
I_PERKZ = lv_I_PERKZ
IMPORTING
E_CUST_FLDS_ACTIVE = lv_E_CUST_FLDS_ACTIVE
E_T_CUST_FLDS_CTRL = lv_E_T_CUST_FLDS_CTRL
CHANGING
C_T_FORC_CONS_AHD = lv_C_T_FORC_CONS_AHD ).
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