Application Development and Automation 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: 
Read only

Hide domain fixed values for future use

Former Member
0 Likes
2,074

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,298

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,298

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

Read only

0 Likes
1,298

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

Read only

Former Member
0 Likes
1,299

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

Read only

Former Member
0 Likes
1,298

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