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 with 2 export parameters

Former Member
0 Likes
677

In screen 1000 of my dialog program I have 2 screen fields - matnr and maktx. I would like to search for a material number and upon selecting a material have the search help instantly populate the material number (matnr) field and also the material text field (maktx).

I created a search help zmatsearch with these 2 fields and specified them both as export parameters. when I test the search help in SE11 it works as expected and returns both fields. I also created a structure called zdescr that contains the fields matnr and maktx

On my screen I have referenced both fields to zmatsearch and referenced each field to the structure zdescr but I still cannot get the search help to populate the text field - it only returns the material number.

Appreciate any feedback.

Thanks.

In screen 1000 of my dialog program I have 2 screen fields - matnr and maktx. I would like to search for a material number and upon selecting a material have the search help instantly populate the material number (matnr) field and also the material text field (maktx).

I created a search help zmatsearch with these 2 fields and specified them both as export parameters. when I test the search help in SE11 it works as expected and returns both fields. I also created a structure called zdescr that contains the fields matnr and maktx

On my screen I have referenced both fields to zmatsearch and referenced each field to the structure zdescr but I still cannot get the search help to populate the text field - it only returns the material number.

Appreciate any feedback.

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
605

Hi,

Go to your strucuture zdescr, select matnr and click on search help button. Here for the MAKTX field in search help parameter, map the structure ( zdescr) and field MAKTX.

This will solve the issue. when you select matnr, the corresponding maktx is also populated due to above mapping.

Shruthi

Edited by: Shruthi R on May 23, 2008 6:34 AM

Edited by: Shruthi R on May 23, 2008 6:35 AM

Read only

Former Member
0 Likes
605

Have a read of [Use search help to populate two screen fields |; which was running up to a couple of days ago - I think it is relevant to your problem.

Jonathan