‎2009 Sep 10 10:06 AM
We have a custom domain with 7 fixed values.These Fix values will display if we click on f4 help in the screen.I dont want 4th value and 5th value in the f4 search help button.whether it is possible to hide those values for future use. if we delete the fix values from the domain fixed value list..then it is effecting the past data.Please help me on this.
‎2009 Sep 10 11:44 AM
Hi Prashanth,
Use FM : DDIF_DOMA_GET to get the fixed values for that domain in an internal table, then you can process that internal table according to your requirement and display only those values, in AT SELECTION_SCREEN ON VALUE_REQUEST event in the report.
I hope it resolves your problem.
Thanks,
Avinash
‎2009 Sep 10 11:38 AM
Hi,
I dont think whether we can hide the domain values. The other solution you can do is implement a search exit. you can code in the exit to skip those values.
Regards,
Pradyumna
‎2009 Sep 10 11:41 AM
Hi,
You can find help on search exit at following link
[http://help.sap.com/SAPHELP_ERP2005/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm]
Regards,
Pradyumna
‎2009 Sep 10 11:44 AM
Hi Prashanth,
Use FM : DDIF_DOMA_GET to get the fixed values for that domain in an internal table, then you can process that internal table according to your requirement and display only those values, in AT SELECTION_SCREEN ON VALUE_REQUEST event in the report.
I hope it resolves your problem.
Thanks,
Avinash
‎2009 Sep 10 11:46 AM
Hi,
Also you can put your own code to overwrite the search help using the POV event on the screen or if you only dont want the values to be used just raise an error if those values were selected.
Regards,
Himanshu