10-14-2008 12:34 PM
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
10-14-2008 12:37 PM
10-14-2008 12:43 PM
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.