‎2007 Feb 28 1:07 AM
Hi,
I have few fields in the screen exit to be supported with F4 Value Help. These values are not from R3 Dictionary Tables. The Values are N, P, T, F, R, K, M, G etc. When the User Clicks the Drop Down, all the possible values should appear in a small window near the screen filed. Can any one please suggest me a suitable solution for this requirement.
Thanks for your Help in Advance.
Kannan
‎2007 Feb 28 1:10 AM
Why don't you put all the values @ domain level and use them on ur screen.
You can assign values @ domain level and can show them on your screen.
hope this will help.
thanks,
Ashwani
‎2007 Feb 28 1:10 AM
Why don't you put all the values @ domain level and use them on ur screen.
You can assign values @ domain level and can show them on your screen.
hope this will help.
thanks,
Ashwani
‎2007 Feb 28 1:11 AM
Create a Z Domain for the field u wnt and give these values in the Value Range tab of the Domain.
This is one way you can solve this...
Regards
Gopi
‎2007 Feb 28 1:12 AM
Hi,
You can use the FM 'F4IF_INT_TABLE_VALUE_REQUEST'
TABLES: T005T.
DATA: BEGIN OF t_t005 OCCURS 0,
land1 TYPE t005-land1,
END OF t_t005.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(6) v_text FOR FIELD P_LAND1.
PARAMETERS: p_land1 TYPE t005-land1.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
v_text = 'Country'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_land1.
REFRESH: t_t005.
SELECT land1
INTO TABLE t_t005
FROM t005.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = 'T005'
PVALKEY = ' '
retfield = 'LAND1'
dynpprog = sy-repid
DYNPNR = sy-dynnr
dynprofield = 'P_LAND1'
callback_program = sy-repid
value_org = 'S'
TABLES
value_tab = t_t005
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.
Thanks,
Naren
‎2007 Feb 28 1:19 AM
please close the thread if the question is answered.
Thanks
Ashwani