Skip to Content
0
Former Member
Feb 14, 2011 at 07:00 AM

Convert for selections

35 Views

hi all

i have a method that fills selections.

    methods fill_params
      importing
        if_selname type rsscr_name
        if_sign    type tvarv_sign
        if_opti    type tvarv_opti
        if_low     type tvarv_val
        if_high    type tvarv_val optional
      changing
        ct_params  type /spmeat/t_params.		

when i fill method with the values, example

        me->fill_params(
          exporting
            if_selname = text-004
            if_sign    = 'I'
            if_opti    = 'EQ'
            if_low     = <ls_levp>-kunnr
          changing
            ct_params  = lt_kunnr
            ).
        append lines of lt_kunnr to ls_slp_selstruc-kunnr.

the type if_low is not compatible.....

how i can kunnr datatype convert to tvarv_val?

Thx