Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Search help values in internal table

$
0
0


Hi Experts,

 

     i have a requirement to create dropdown by key in an alv cell. I want to get all the search help values and attach it to the value set ( along with the texttable field)

company code and company code description

 

i used this code:

 

MOVE 'seacrch help name'  TO  l_shlp-SHLPNAME.
MOVE 'SH'  TO  l_shlp-SHLPTYPE.


CALL FUNCTION 'F4IF_SELECT_VALUES'
  EXPORTING
    shlp                   = l_shlp
    CALL_SHLP_EXIT         = 'X'
TABLES
   RETURN_TAB              = l_retval.

 

In l_retval, I am getting the company code but i am not getting the text table text (txtmd field) company description. Please let me know how i can achive it.

 

If there is any class method call which i can use instead of FM, i would prefer.

 

Thanks & REgards,

Tashi


Viewing all articles
Browse latest Browse all 3667

Trending Articles



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