Hello Experts,
I am having error when I run the report and it is as below
The function module interface allows you to specify only fields of a particular type under "YT_VALUE".
The field "LT_VALUES-PROF_VALUE" specified here is a different field type.
AIM: I would like to have value of one field in importing table(PROF_VAL from YT_VALUE)
The Reference Function Module is: ISU_EEDM_READ_PROFILE_VALUES
In ABAP Dictionary the types are in Standard as below
YT_VALUE
Reference Type: TEPROFVALUES
The type definition and field assignments at function modules I did in Z* Report are as below
Data: lt_values type TEPROFVALUES WITH HEADER LINE,
prof_value type PROFVAL.
.
..................................
CALL FUNCTION 'ISU_EEDM_READ_PROFILE_VALUES'
EXPORTING
X_PROFILENR = ls_EEDMSETTLUF-PROFILE
X_DATEFROM = lv_dt1
X_TIMEFROM = '000000'
X_DATETO = lv_dt2
X_TIMETO = '235959'
X_TIMEZONE = 'CET'
X_MODE = '1'
* X_SIMULATION =
* X_INTSIZEID =
* X_TIMEZONE_ORIG =
IMPORTING
YT_VALUE = lt_values----------------------------error in matching
* YT_VALUE_STAT =
* EXCEPTIONS
* GENERAL_FAULT = 1
* OTHERS = 2
Looking forward to having your comments & feedbacks
Kind Regards
Eddy