Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the numerics in search help

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

thanks a lot