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: 

How to provide the F4 help to a screen field via enhancement

Former Member
0 Kudos

Hi,

I have a transaction code IL01(Creating Functional Locations).

In the second screen of FL creation,we can find 'Room' field under 'Location' tab.

At present, it doesn't have F4 help.

Could you please suggest me to provide the F4 help to this field via enhancement.

I have values of that field in ine internal field.

Thanks&Regards,

VRLREDDY

2 REPLIES 2

Former Member
0 Kudos

Hi,

Please use the PROCESS ON VALUE-REQUEST event.

Regards,

Pramod

Former Member
0 Kudos

Hi,

try something like this:


INITIALIZATION.
  SELECT * INTO CORRESPONDING FIELDS OF TABLE so_setheader
           FROM    setheader
           WHERE   setclass = '0000'.
  
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_kost-low.
* F4 uitvoeren
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield    = 'setname'
      dynprofield = 'so_kost'
      dynpprog    = sy-cprog
      dynpnr      = sy-dynnr
      value_org   = 'S'
    TABLES
      value_tab   = so_setheader.
 
AT SELECTION-SCREEN ON so_kost.
  READ TABLE so_setheader INTO wa_so_setheader WITH KEY setname = so_kost-low.
 
  IF sy-subrc NE 0.
    so_kost = space.
    MESSAGE e333(s1) WITH 'Does not exist!'.
    STOP.
 
  ENDIF.

Adibo.