‎2009 Apr 13 3:51 PM
Hi Experts,
I have created two search helps. I need to call these search helps in my module pool program dynamically for a single field (i.e ZMATNR).
you might be known... if it is a single search help, we can assign that in field attributes.
But here... I need to call different search helps for a single field based on the condition.
Pls help me.
Thanks
Raghu
‎2009 Apr 13 6:32 PM
Hi,
Have a look at url
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/frameset.htm
<< Unformattable tet removed >>
Other FM that may be used to provide input help is HELP_START .
Regards
Himanshu
Edited by: Rob Burbank on Apr 13, 2009 1:42 PM
‎2009 Apr 13 4:22 PM
‎2009 Apr 13 4:29 PM
HI what is your condition is it something entered at your selection screen or something coming up from some table?
you can do this way:
PARAMETERS p_carrid TYPE s_carr_id
MATCHCODE OBJECT <demo_f4>.
at-selection screen.
If your condition.
demo_f4 = " your first F4 help name.
else.
demo_f4 = " your second F4 help name.
endif.
note: when you define demo_f4 set one of your F4 help name as its default.
Hope this works.
Please get back in case of some other requirement.
Regards,
Lalit Mohan Gupta.
‎2009 Apr 13 4:35 PM
Hi,
Can you explain the condition for calling multiple search Help on a Single field? Is it based on the user input of the screen ?
Thanks,
Samantak
‎2009 Apr 13 5:19 PM
Use FM 'F4IF_INT_TABLE_VALUE_REQUEST' in the event Process on value-request
‎2009 Apr 13 6:13 PM
Hi,
Use the below function module and pass the search help created in search help field according to the condition.
Process on Value-request.
if condition = A.
call function " F4IF_FIELD_VALUE_REQUEST"
TABNAME =
FIELDNAME =
SEARCHHELP = "Mention search help created
Elseif Conditon =B.
call function " F4IF_FIELD_VALUE_REQUEST"
TABNAME =
FIELDNAME =
SEARCHHELP = "Mention search help created
Endif.
Regards,
Prabhudas
‎2009 Apr 13 6:32 PM
Hi,
Have a look at url
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/frameset.htm
<< Unformattable tet removed >>
Other FM that may be used to provide input help is HELP_START .
Regards
Himanshu
Edited by: Rob Burbank on Apr 13, 2009 1:42 PM