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 restricted selection

Former Member
0 Likes
1,397

Dear All,

Can we restrict search help to display only desired value.

for example I have two input fields one each for plant and storage location and I want to display possible values for Storage location based on the input plant.

is it possible?

I am using a search help based on table T001L

Can you guys help me on this.

Thanks

Amit

Dear All,

Can we restrict search help to display only desired value.

for example I have two input fields one each for plant and storage location and I want to display possible values for Storage location based on the input plant.

is it possible?

I am using a search help based on table T001L

Can you guys help me on this.

Thanks

Amit

6 REPLIES 6
Read only

Former Member
0 Likes
1,071

No . Search help gets the results for ALL POSSIBLE VALUES .

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,071

For plant and storage location, this is handle automatically by the standard search helps. I believe you need to use the memory ids to force this behavior. Please try this as it works good in my system.



report zrich_0001.

tables: mseg.

  select-options WERKS for MSEG-WERKS memory id WRK.
  select-options LGORT for MSEG-LGORT memory id LAG.

Regards,

Rich Heilman

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,071

Did you try my solution, or did you get it working another way. Please let us know your solution.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
1,071

Hi Amit,

I think search help take all possible entries because when we made search help,we Import and Export Parameters form check table which fetch all entries.

Regards.

Ankur Garg.

Read only

Laxmana_Appana_
Active Contributor
0 Likes
1,071

Hi Amit,

Through search help exit , you can do this . check my code in this link:

read plant value using FM : DYNP_VALUES_READ from screen ,and filter Storage locations based on the plant

Regards

Appana

Read only

Former Member
0 Likes
1,071

Hi Amit

The solution is

Create a new search help Use the table T001L for selection help give both plant and SLoc as parameters with both the fields as import parameter and only SLoc as export parameter.

Plz do reward the points