Quantcast
Channel: SCN : Popular Discussions - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 1246

is not type compatible.

$
0
0

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

err.png

What could be the possible error.

 

Thanks and regards

Arun Kumar Menon


Viewing all articles
Browse latest Browse all 1246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>