09-19-2008 12:39 PM
hai friends,
I have a sel-screen with one text box as date range(from and to).
below that the user wants another small text box in which if he goes with F4(search help) and it should contain three numerics (1,2,3)
Here 1 = PO date(EKET-EINDT)
2 = shipment start date(VTTK-DPTBG)
3 = shipment end date(VTTK-DPTEN)
and 1 should be default one.
then accordingly the date range will be entered by the user and so on.
can anybody give the solution for this.
Thanks in advance.
Regards
Mahesh
09-19-2008 12:56 PM
HI,
JUST OPEN SE11===>tick the DOMAIN radiobutton ==>enter the name of the domain of ur field ===> after that click on VALUE RANGE tab===> give 1, 2 3 etc values in FIX VAL. column and write the corresponding text in SHORT TEXT column ===> then save and activate
now if u press F4 on that field u will get these three values
hope it will help you
regards
rahul sharma
Edited by: RAHUL SHARMA on Sep 19, 2008 1:56 PM
09-19-2008 1:02 PM
Hi,
Create one internal table with two fileds
like
DATA: BEGIN OF T_F4DATA occurs 0 with header line,
val type i,
desc type char 20,
END OF T_F4DATA.
T_F4DATA-val = 1.
T_F4DATA-desc = 'PO date'.
append T_F4DATA.
CALL FUNCTION 'F4_IF_INT_TABLE_FOR_VALUE_REQUEST'
using this table
09-23-2008 7:47 AM
Hi bharathi,
thanks for ur suggestion.I have used the same fm what u gave. But it is not giving the values (1, 2, 3) when I press F4. how the system will understand when the user selects 2, then it is VTTK-DPTBG and when he selects 3, then it is VTTK-DPTEN. Can u tell me which r the mandatory parameters in this fm.
Any suggestion on this.
12-22-2009 7:43 AM