‎2009 Sep 23 7:35 AM
Hello Experts,
I want to a search help for one field such that when user click on F4 help , it will again pop- up with one screen, in which I need to have 2- 4 fields to Restrict the values then user enter some values here then F4 help will appaer.
Like in standard tables mseg-lifnr F4 help Restrict Value Range screen , but i require only one tab
Plz suggest
Aastha
‎2009 Sep 23 7:40 AM
Create a Collective search help for that field and assign it in your program.
SEARCH in SCN for collective search help , you will get lot of posts.
‎2009 Sep 24 5:38 AM
Hello Experts,
I have created search help using se11, for F4 help in screen field
But the probelm is as i want F4 help for excise no, its not picking excise no, its picking plant,
Plz suggest,
Aastha
‎2009 Sep 23 9:09 AM
do the code in at selection-screen on value request for p_field.
and call FM F4IF_INT_TABLE_VALUE_REQUEST to pass the value table
‎2009 Sep 23 10:00 AM
Hi,
This is simple ,
Declare an intrenal table with the fileds you want to come in the F4 help and extract the data in the internal table and then call the FM F4IF_INT_TABLE_VALUE_REQUEST and pass the table in the FM.
You'll get good example on the implementation of this FM.
Hope this help you.
Pooja
‎2009 Sep 23 11:13 AM
Hello,
Use the following piece of code.
Parameter : p_value type ......
TYPES : BEGIN OF y_value,
value TYPE text6,
END OF y_value.
DATA : t_value TYPE STANDARD TABLE OF y_value.
DATA: t_return TYPE STANDARD TABLE OF ddshretval.
Fill table t_value with the values which u require in the F4 help.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 't_value-value'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'p_email'
TABLES
value_tab = t_value
return_tab = i_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.