MZDAT_SET SAP Method Fill Table MZDAT
Below is documentation, parameters and attributes of ABAP Method MZDAT_SET within SAP class IF_EX_BADI_FVD_MZDAT. 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_FVD_MZDAT 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 MZDAT_SET can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MZDAT_SET
.| Name | Type | Data Type | Description | Default Value |
| BUKRS | Importing | TYPE BUKRS | Company Code | |
| HWAERS | Importing | TYPE WAERS | Local Currency | |
| IDENT | Importing | TYPE CHAR2 | Version Number Component | |
| KUNNR | Importing | TYPE KUNNR | Customer Number | |
| LAUFD | Importing | TYPE SYDATUM | Date on which the program is to be run | |
| LAUFI | Importing | TYPE SYUZEIT | Additional Identification Characteristic | |
| MAHNN | Importing | TYPE MAHNS_D | Dunn.Level | |
| VERTN | Importing | TYPE RANL | Contract Number | |
| VERTT | Importing | TYPE RANTYP | Contract Type | |
| WAERS | Importing | TYPE WAERS | Currency Key | |
| WZSBT | Importing | TYPE WZSBT | Interest Amount in Foreign Currency | |
| ZINKZ | Importing | TYPE DZINKZ | Exempted from Interest Calculation |
Exceptions of Method MZDAT_SET
ERROR_IN_POSTING - Error During Insertion Into MZDATExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_FVD_MZDAT.
DATA: lv_BUKRS TYPE BUKRS,
lv_HWAERS TYPE WAERS,
lv_IDENT TYPE CHAR2,
lv_KUNNR TYPE KUNNR,
lv_LAUFD TYPE SYDATUM,
lv_LAUFI TYPE SYUZEIT,
lv_MAHNN TYPE MAHNS_D,
lv_VERTN TYPE RANL,
lv_VERTT TYPE RANTYP,
lv_WAERS TYPE WAERS,
lv_WZSBT TYPE WZSBT,
lv_ZINKZ TYPE DZINKZ,
lv_other TYPE c.
CALL METHOD lo_class=>MZDAT_SET(
EXPORTING
BUKRS = lv_BUKRS
HWAERS = lv_HWAERS
IDENT = lv_IDENT
KUNNR = lv_KUNNR
LAUFD = lv_LAUFD
LAUFI = lv_LAUFI
MAHNN = lv_MAHNN
VERTN = lv_VERTN
VERTT = lv_VERTT
WAERS = lv_WAERS
WZSBT = lv_WZSBT
ZINKZ = lv_ZINKZ ).
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