‎2008 Aug 07 2:02 PM
Hi All
I am design one screen Fields
Bank Country and Bank Key
In above fields F4 values did come
how will solve this problem
Thanks and regards
Suresh
‎2008 Aug 07 2:27 PM
Hello,
Please try this:
PARAMETERS:
P_BANKS LIKE BNKA-BANKS, "Cntry Key
P_BANKL LIKE BNKA-BANKL. "Bank Key
For P_BANKS F4 help will come automaticlly. For P_BANKL, select the data from BNKA populate the internal table. Now in the event AT SELECTION-SCREEN ON VALUE REQUEST, call the FM 'F4IF_INT_TABLE_VALUE_REQUEST' to show the F4 help.
BR,
Suhas
‎2008 Aug 07 2:06 PM
‎2008 Aug 07 2:08 PM
Hi,
if you are refering to a std field, and if it has F4 help, this will automatically give you F4 help..
otherwise you have to write the code for the F4 help in the Process on value request module...
Regards
Sk
‎2008 Aug 07 2:10 PM
I am design one screen Fields
Bank Country and Bank Key
In above fields F4 values did comeI am not sure getting the F4 or not from your question.
For Bank Country refer the dictionary type T005-LAND1
and for Bank Key You have to use
POV . under that select the data from BNKA table and show that data as F4 help using the Function
F4IF_INT_TABLE_VALUE_REQUEST
‎2008 Aug 07 2:22 PM
‎2008 Aug 07 2:27 PM
Hello,
Please try this:
PARAMETERS:
P_BANKS LIKE BNKA-BANKS, "Cntry Key
P_BANKL LIKE BNKA-BANKL. "Bank Key
For P_BANKS F4 help will come automaticlly. For P_BANKL, select the data from BNKA populate the internal table. Now in the event AT SELECTION-SCREEN ON VALUE REQUEST, call the FM 'F4IF_INT_TABLE_VALUE_REQUEST' to show the F4 help.
BR,
Suhas
‎2008 Aug 07 2:41 PM
hi.
In the following way i created f4 help for my field in selection screen. check out this and try to resolve your problem:
TYPES: BEGIN OF t_usr02,
bname TYPE usr02-bname, "User Name in User Master Record
END OF t_usr02.
SELECT-OPTIONS: s_ernam FOR ekpo-ernam NO INTERVALS.
INITIALIZATION.
TYPES: BEGIN OF lt_usr02,
bname TYPE xubname,
END OF lt_usr02.
DATA: lit_usr02 TYPE STANDARD TABLE OF lt_usr02.
DATA: lwa_usr02 TYPE lt_usr02.
SELECT bname
FROM usr02
INTO TABLE lit_usr02.
LOOP AT lit_usr02 INTO lwa_usr02 .
wa_usr02-bname = lwa_usr02-bname.
APPEND wa_usr02 TO it_usr02.
CLEAR : wa_usr02,
lwa_usr02.
ENDLOOP.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_ernam-low.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BNAME'
dynpprog = sy-cprog
dynpnr = sy-dynnr
dynprofield = 'S_ERNAM'
value_org = 'S'
TABLES
value_tab = it_usr02
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
hope it will provide u some F4 help.
by
‎2008 Aug 07 2:51 PM
hi,
If you are fetching screen-fields from dictionary , then you will get F4 help..
If you are creating your own screen fields , then you have to create F4 help...
With warm regards..
Always learner..
‎2011 Mar 01 9:33 AM