Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Search help

Former Member
0 Likes
342

Hi Friends,

I have created a screen for inputing some data related to materials. In one of the field I am inputing the SPART field (Division) for which I have created a Search Help. The problem, I am facing here is that, I am getting duplicate values in the search help. I would like to know as to how to elimiate the duplicates in the search help.

In another case, I am having different tabs. In one of the tab (Tab-A), I am entering some material codes and I want these material codes in the search help for the Tab-B screen material code field. Kindly guide me as to how to do this.

TIA.

Regards,

Mark K

2 REPLIES 2
Read only

Former Member
0 Likes
281

Hello Mark,

For the first case, create a Search help exit and eliminate the duplicate records in the internal table RECORD_TAB. For creating the search help exit, copy the function module F4IF_SHLP_EXIT_EXAMPLE into Z-namespace and modify the same.

For the second case, populate the material codes into an internal table and use the function module F4IF_INT_TABLE_VALUE_REQUEST.

Regards,

Manoj

Read only

0 Likes
281

Hi Manoj,

Could u pls explain me how to use the FM F4IF_INT_TABLE_VALUE_REQUEST ie., I require what are the details to be given in the FM .

I am having an internal table IT_RATE which is having MATNR field. I want this MATNR field to be shown in the search help. Also, I want to know as to how to attach this to the required field.

Regards