03-17-2010 8:21 AM
HI,
I am using field EEPFN of table PA0587 in our selection screen like
S_EEPFN FOR PA0587-EEPFN.
I am unable to see input help means f4 help.Can any body tell me the
solution.
thanks,
rakesh
03-17-2010 8:37 AM
Hi
I hope, since it is not having any search help or match code assign to it, it is not able to prompt a popup for F4 help.
If this is the case, you can code your own F4 help with custom code
at selection-screen on value-request for S_EEPFN -LOW.
perform F_GET_RELEASED_TRS changing S_EEPFN -LOW.
at selection-screen on value-request for S_EEPFN -HIGH.
perform F_GET_RELEASED_TRS changing S_EEPFN -HIGH.
form F_GET_RELEASED_TRS changing P_EEPFN.
data: it_tab type value_tab. "declare the internal table as u like
data: it_ret type DDSHRETVAL occurs 0 with header line.
select field1 field2 from XXXX into table it_tab.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
RETFIELD = 'FIELD2' "field name in your value tab i.e it_tab
VALUE_ORG = 'S'
tables
VALUE_TAB = it_tab[]
return_tab = it_ret[].
if sy-subrc eq 0.
read table it_ret index 1.
p_eepfn = it_ret-fieldval.
endif.
endform. " F_GET_RELEASED_TRS
Thanks
Praveen
03-17-2010 8:37 AM
Hi Rakesh Gupta ,
The field that you are using as a select option is not a key field and it will not display serach help.
You need to explicitly write code to display the serach help on selection screen for that field : - PA0587-EEPFN.
http://www.abap-tutorials.com/2009/09/21/add-search-help-to-screen-field-in-sap/
http://www.erpgenie.com/sap-technical/abap/call-f4-help-from-selection-screen
You can serach in SCN to create a serach help for this field.
Regards,
Kittu
03-17-2010 8:37 AM
Hi
I hope, since it is not having any search help or match code assign to it, it is not able to prompt a popup for F4 help.
If this is the case, you can code your own F4 help with custom code
at selection-screen on value-request for S_EEPFN -LOW.
perform F_GET_RELEASED_TRS changing S_EEPFN -LOW.
at selection-screen on value-request for S_EEPFN -HIGH.
perform F_GET_RELEASED_TRS changing S_EEPFN -HIGH.
form F_GET_RELEASED_TRS changing P_EEPFN.
data: it_tab type value_tab. "declare the internal table as u like
data: it_ret type DDSHRETVAL occurs 0 with header line.
select field1 field2 from XXXX into table it_tab.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
RETFIELD = 'FIELD2' "field name in your value tab i.e it_tab
VALUE_ORG = 'S'
tables
VALUE_TAB = it_tab[]
return_tab = it_ret[].
if sy-subrc eq 0.
read table it_ret index 1.
p_eepfn = it_ret-fieldval.
endif.
endform. " F_GET_RELEASED_TRS
Thanks
Praveen
03-17-2010 8:39 AM
Hi,
this field does not have foreign key, search help or table defined in domain.
Create own search help and assign it to the select-option using MODIF ID statement.
Regards,
--
Przemysław
03-17-2010 8:43 AM
Hi, <li> PA0587-EEPFN does not have any Check table and no search help is assigned to this field. That is why F4 help is not displayed. Thanks Venkat.O
03-17-2010 8:45 AM
Hi,
Use the At Selection-screen on <filed>
and under that pass the internal table from where you need to display the F4 help to the function modue
F4IF_INT_TABLE_VALUE_REQUEST.
Regards,
Midhun