Hi all
I have defined a method like this
begin of ty_plnt,
plnt type z_cds_purc-plant,
end of ty_plnt.
TYPES: tt_pnt TYPE STANDARD TABLE OF ty_plnt
METHODS retv_bgsml
IMPORTING
value(iv_from) type d
value(iv_to) type d
value(iv_plnt) TYPE tt_pnt
exporting
value(et_itm_bgsml) type tt_bgsml
In my report program i am using a select-options
SELECT-OPTIONS s_plnt for z_cds_purc-plant
I am calling the method like this
lo_itm_sum->retv_bgsml(
EXPORTING
iv_from = p_ivfrm
iv_to = p_ivto
iv_plnt = s_plnt
IMPORTING
et_itm_bgsml = DATA(lt_itm_sum)
).
It shows an error as
What could be the possible error.
Thanks and regards
Arun Kumar Menon