cancel
Showing results for 
Search instead for 
Did you mean: 

How to provide the description from a search help

former_member473547
Participant
0 Kudos

Hi craks,

I have two fields on my screen :

- input-fields with a search help (on article.nr)

- text field that should be filled with the article description

The search help on the article.nr is implemanted and works, I become the nummer of article in the input field, the but how can get the description in the text field behind?

I saw the answer some where on the web but can not find it again

Tks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi

In the input field, create action for "OnEnter" event and read the text in this method. it will show the text when user will select the data using F4 help and press enter otherwise you need to use OVS

Answers (4)

Answers (4)

Former Member
0 Kudos

I did it.

the important is create EXTERNAL SEARCH HELP .

kepp node's names and sh's names are the same

former_member473547
Participant
0 Kudos

it works

former_member473547
Participant
0 Kudos

Thanks guys,

I have implemented the solution with on enter action, it works

Former Member
0 Kudos

Hi Vincent,

In your search help make the description field also as exporting.

Hope you will get the desired result.

Nawal Kishor Mittal

former_member473547
Participant
0 Kudos

Hi Nawal

do you mean I have to build my own search help, I am currently using a standard help coming automatically from the dictionnary (so I didn't code any thing)

Tks

Vincent

Former Member
0 Kudos

Hi Vincent,

If thats the case then search help exit will also not working right?

Then you can go for OVS which will solve your query.

Nawal Kishor Mittal

Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

if its standard search help you can go for OVS or you can write the code in the modify view.

lo_el_sap_exp->get_attribute(
    EXPORTING
      name =  `INDUSTRY`
    IMPORTING
      value = lv_industry )."in your case article no

  SELECT SINGLE katr3 FROM tvk3t INTO lv_industry_id
             WHERE spras = 'E' AND vtext = lv_industry."in your case get the data from table where artcile no and artcile descrption are stored.



  lo_el_sap_exp->set_attribute(
     EXPORTING
       name =  `INDUSTRY_id`
       value = lv_industry_id )."here  set the attribute for article descrption.

Priya