03-13-2006 4:55 PM
Hi,
I have to create a search for filed which does not have a check table/value table. when i create search for this field, i am getting duplicate values. Is there anay way to avoid duplicate values when you press F4.
Thanks
Rajavardhana Reddy
03-13-2006 5:02 PM
Hi...
Use the command DELETE ADJACENT DUPLICATES FROM <ITAB> COMPARING <FIELD1> <FIELD2>....
<ITAB> - Internal table that is used to hold the search values for the field.
If your field is in the selection screen then add this command in
AT SELECTION-SCREEN on VALUE-REQUEST for <FIELD>
If the field is in the User defined Screen
Then add this code in
PROCESS on VALUE REQUEST Event.
Regards,
Vara
03-13-2006 5:38 PM
Hi,
Thanks for your reply. I need to assign the search help for the data element, in this case i cant use the methods which you have mentioned. Is there any other way of doing this.
03-13-2006 5:52 PM
HI,
YOu can create a Search Help Exit and process your data as per your requirement.
Clikc the below link to know more on Search Help Exit.
<b>http://help.sap.com/saphelp_47x200/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm</b>
Regards,
Vara