09-30-2008 7:24 AM
I developed MPP. In that we want to incorporate search help (F4 list) for one field in Entry screen. any suggestions...
Edited by: ramakrishna u on Sep 30, 2008 8:38 AM
09-30-2008 7:40 AM
Hi...
You can use following event.
PROCESS ON VALUE REQUEST.
Sample code..,
process on value-request.
field ccode module f4_ccode.
<--ccode is screen element filed and f4_ccode is given name for that module
inside f4_ccode module, you can write code for serach as like in reports.,
by using select statements and function module F4IF_INT_TABLE_VALUE_REQUEST.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'CCODE'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'CCODE'
value_org = 'S'
tables
value_tab = itab_ccode[].
Thanks,
Naveen.I
09-30-2008 7:40 AM
Hi...
You can use following event.
PROCESS ON VALUE REQUEST.
Sample code..,
process on value-request.
field ccode module f4_ccode.
<--ccode is screen element filed and f4_ccode is given name for that module
inside f4_ccode module, you can write code for serach as like in reports.,
by using select statements and function module F4IF_INT_TABLE_VALUE_REQUEST.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'CCODE'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'CCODE'
value_org = 'S'
tables
value_tab = itab_ccode[].
Thanks,
Naveen.I
09-30-2008 7:46 AM
10-10-2008 11:44 AM
08-13-2021 9:46 AM
Hi,
for F4 help, we have to use process on help request event and mention one module as shown in below screen, here I have taken f4 help for ITEMID field.
double click on module name, it will take inside the module and call the function module F4IF_INT_TABLE_VALUE_REQUEST as shown below.
hope this answer will be help full to you