FMMEASURE Create BAPI

You can create the FMMEASURE

lv_fmarea = prps-pbukr. “External Number
lv_measure = prps-posid. “Measure
ls_fmmeasure-fp_type = ‘RGRN’.
ls_fmmeasure-valid_from = prps-erdat. “Start Date
ls_fmmeasure-valid_to = lc_enddt. “End Date

ls_fmmeasuret-langu = ‘EN’. “Language
ls_fmmeasuret-langu_iso = ‘EN’. “Language
ls_fmmeasuret-short_desc = prps-postu. “Description
ls_fmmeasuret-description = prps-postu. “Description
APPEND ls_fmmeasuret TO lt_fmmeasuret.

“Creating FM Measure
CALL FUNCTION ‘BAPI_0038_CREATE’
EXPORTING
i_fmarea = lv_fmarea
i_measure = lv_measure
fmmeasure = ls_fmmeasure
testrun = space
TABLES
fmmeasuret = lt_fmmeasuret
return = lt_return.

Leave a Reply

Your email address will not be published. Required fields are marked *