05-06-2010 12:03 PM
hi,
i have added a field which originally does not have a f4 pushbutton....i have used it in select-options....
but i need to add help button... how can i do that....
thanks in advance,
syed
05-06-2010 12:52 PM
hi,
this answer u can get easily get in threads try to search before posting. any ways use this FM
F4IF_INT_TABLE_VALUE_REQUEST
05-06-2010 12:57 PM
hi
i think u want to add f4 help on select-options.
if yes u can use this code as sample code
SELECT kunnr name1
FROM kna1
INTO TABLE it_kna1
WHERE kunnr IN it_select.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'KUNNR'
dynpprog = sy-repid
dynpnr = sy-dynnr
window_title = 'Customer name'
value_org = 'S'
TABLES
value_tab = it_kna1[]
return_tab = it_f4.
CLEAR wa_f4.
READ TABLE it_f4 INTO wa_f4 INDEX 1.
IF sy-subrc = 0.
s_cust-low = wa_f4-fieldval.
ENDIF.
otherwise please elaborate ur requirement
regards
05-06-2010 1:03 PM
Hi,
try to use the function moduel..
CALL FUNCTION 'HELP_VALUES_GET'
Field name = <field name in the table which you wants f4 help>
Table Name = 'MARA' or amy table which you wants f4 Help
exporting
screen field = screen field f4 help needed
write the above Fm in at selection sceen on value request <Field-name>.
regards
Prabhudas
05-06-2010 1:44 PM
Hi
after the parameter name use MATCHCODE-OBJECT name of help.
regards
Marco