cancel
Showing results for 
Search instead for 
Did you mean: 

Set value on the search help restriction field

phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi all,

I'm using FM "F4IF_INT_TABLE_VALUE_REQUEST " to build a customizing search help.

In the restriction part, I want set a value to a read-only field. 

default value.png

I have checked the f4callback FIELDPROP, there is field named DEFAULTVAL and I have tried this but it didn't work. Anyone can help? Here is the structure of FIELDPROP for your reference.

FLDPROPpng.png

Regards,
Eric

Sandra_Rossi
Active Contributor
0 Kudos
No need to post the contents of standard objects, what people need is your code. I guess it's a standard issue. If it's a custom search help, you can use the workaround to filter directly the values, no need to display the field.
View Entire Topic
phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos

I got this problem solved. shlp-selopt is the place to set value obviously, but the key point is that shlpname = '~' for a customizing search help by using F4IF_INT_TABLE_VALUE_REQUEST. If '~' is not used, the value will not be set successfully.