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

.

NameTypeData TypeDescriptionDefault Value
BUKRSImportingTYPE
BUKRS
Company Code
HWAERSImportingTYPE
WAERS
Local Currency
IDENTImportingTYPE
CHAR2
Version Number Component
KUNNRImportingTYPE
KUNNR
Customer Number
LAUFDImportingTYPE
SYDATUM
Date on which the program is to be run
LAUFIImportingTYPE
SYUZEIT
Additional Identification Characteristic
MAHNNImportingTYPE
MAHNS_D
Dunn.Level
VERTNImportingTYPE
RANL
Contract Number
VERTTImportingTYPE
RANTYP
Contract Type
WAERSImportingTYPE
WAERS
Currency Key
WZSBTImportingTYPE
WZSBT
Interest Amount in Foreign Currency
ZINKZImportingTYPE
DZINKZ
Exempted from Interest Calculation



Exceptions of Method MZDAT_SET

ERROR_IN_POSTING - Error During Insertion Into MZDAT

Example 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



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!