2008 May 23 5:22 AM
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.
2008 May 23 5:33 AM
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
2008 May 23 5:47 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |