Skip to Content
0
Former Member
Jul 16, 2008 at 07:25 AM

How to modify F4 help of one parameter based on the value of another?

1673 Views

Hi,

My Query is as follows:

I have 3 select-options / parameters on the selection screen.

If I enter some value in the first parameter the values in the second parameter should reflect accordingly.

For example: The 3 selection-screen parameters are:

select-options: s_werks for pa0001-werks no intervals,

s_btrtl for pa0001-btrtl no intervals,

s_kostl for pa0001-kostl no intervals.

On exceuting the report, say I do a F4 and select '1000' for the first parameter (s_werks).

Now after selecting the value for the first parameter if I do a F4 on the second parameter (s_btrtl) then it should prompt me with a F4 help containing values only corresponding to '1000' entered in s_werks and not all the values maintainined for btrtl.

I have tried AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_BTRTL-LOW.

And then used the FM F4IF_INT_TABLE_VALUE_REQUEST.

But At Selection-Screen On Value Request the selection screen parameter s_werks does not show any value. It reflects the value only once it reaches Start-of-selection.

Can anyone please guide me how to go about it?