05-27-2006 8:22 AM
i want in input box direct entry not allowed only through search help and i have already put search help in that input box . This input box is on screen painter .
give the solution .
e-mail id -- kknewdelhi@gmail.com
05-27-2006 10:00 AM
If this field had check table then it will only allows the values from check table.
Check whether there is also a check table associated with this field, if it only has search help then it will also allow other entries than the listed values.
Regards
Manohar
05-27-2006 5:18 PM
Maybe you could block input entry at first, and unblock it when the F4 function is called...You should use a custom F4 function in order to achieve this.
LOOP AT SCREEN.
IF SCREEN-NAME EQ 'MY_FIELD'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
PROCESS BEFORE OUTPUT.
*CALL YOU CUSTOM F4 HERE...AND ALLOW INPUT.
Greetings,
Blag.
05-28-2006 6:19 PM
Hi Krishna
If I am getting your Q right, you wish to display your custom values when the user clicks on f4.
For this you should use the event POV. this event comes after the PAI event.
If you want custome help when user clicks F1, then you can use the event Process on Help-request.
Process on value-request.
Field <input box name> module value_for_box.
module value_for_box input.
select...
call function 'popup_with_table_display'
or call function 'F4IF_INT_TABLE_VALUE_REQUEST'.
Navneet
PS: please award points if useful
05-29-2006 1:21 AM
in the screenpainter, set the 'dropdown' attribute for the field to 'listbox'. This prevents direct entry to the field and restricts it to values held in the dropdown.