Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

MPP F4 List

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

naveen_inuganti2
Active Contributor
0 Kudos

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

4 REPLIES 4

naveen_inuganti2
Active Contributor
0 Kudos

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

0 Kudos

where it can be used ? I used PBO, PAI events...

Former Member
0 Kudos

good.

0 Kudos

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