Skip to Content
0
May 22, 2010 at 01:53 AM

Restricting Search help in ALV OO

97 Views

HI

I created an ALV OO and there is one editable field. There is a search help at this editable field. So far so good.

But now I have a request that this search help must be restricted according with one of the field of the ALV.

Example:

One column of this ALV has material code ( from standard table MARA ).

Then there is a Z table with two fields: material code and zfield.

The request is that when the user press F4 at the editable field zfield , the search help should show only the zfields that match with the material code at this line of the ALV.

I created a search help exit, but during the execution of the exit I am not able to get the material code of the line where the user pressed F4.

I want the material code to make a select at the ztable.

Could you please help me with this subject?

Thanks in advance.