‎2008 Nov 25 12:14 AM
Hello,
I am creating a elementary search help and I want a default value to come for one parameter.
The parameter do not have a parameter ID.
So please advice how can I get this?
Thanks and rgds,
Anand
‎2008 Nov 25 12:29 AM
Hi Anand,
In the "Definition" tab of the Search Help, in the bottom of the screen where you have the table of "Parameter", maintain the last column "Default value" for the parameter you want this default value when the search help is executed. If the default value is a constant, put it within apostrophes e.g. '1000'
Hope this solves this issue.
Cheers,
Sougata.
‎2008 Nov 25 2:50 AM
Hi,
Try it:
one way:
parameters: p_value type value_type default '0001' matchcode object z_search_help.comments: p_value is the parameter name you define on the screen,
value_type is the type for this parameter,
0001 is the default vlaue that you given,
z_seach_help is the elementary search help you created.
other way,
in the definition of the search help for the field, last column in the parameter is the default value, you also can put it there,
Regards,
Chris Gu
Edited by: Gu Chris on Nov 25, 2008 3:51 AM
‎2008 Nov 25 2:54 AM
Hi Anand,
You can try with the "Search help Exit" for this., as it's custom search help too.
http://help.sap.com/saphelp_nw70/helpdata/EN/cf/21ee52446011d189700000e8322d00/frameset.htm
Sure it will solve you problem.
Regards,
GP
‎2009 Mar 23 9:33 PM