Application Development 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: 

Search Help Exit - Very Urgent

former_member188001
Active Participant
0 Kudos

Hello friends,

I have a search help which will take KAPPL and give me the results for KZNEP for the value of KAPPL.

I have created a search help exit for it. I am calling function module F4UT_PARAMETER_VALUE_GET, but i am not aware of what all parameters to be passed to this function.

Can anyone help me out in this. This really very urgent.

Thanks for all the help.

Regards,

Salil

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

Hi Salil

check my code of search help exit in CRM.

>CALL FUNCTION 'F4UT_RESULTS_MAP'

>TABLES

>shlp_tab = shlp_tab

>record_tab = record_tab

>source_tab = lt_result

>CHANGING

>shlp = shlp

>callcontrol = callcontrol

>EXCEPTIONS

>illegal_structure = 1

>OTHERS = 2.

lt_result will have all the data that need to be shown in the search help window.

4 REPLIES 4

Former Member
0 Kudos

data: l_value like ddshiface-value,

SHLP_TAB TYPE SHLP_DESCR_TAB_T,

RECORD_TAB STRUCTURE SEAHLPRES,

l_results_tab like Your output occurs 0 with header line,

  • set additional parameter text_prop

call function 'F4UT_PARAMETER_VALUE_GET'

exporting

parameter = 'TEXT'

  • OFF_RESULT = 0

  • LEN_RESULT = 0

  • FIELDNAME = ' '

importing

value = l_value

tables

shlp_tab = shlp_tab

record_tab = record_tab

  • SELOPT_TAB =

results_tab = l_results_tab

changing

shlp = shlp

callcontrol = callcontrol

exceptions

parameter_unknown = 1

others = 2.

if sy-subrc <> 0.

message id sy-msgid type sy-msgty number sy-msgno

with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

endif.

Hope this Helps.

Vinodh Balakrishnan

Former Member
0 Kudos

Hi Salil,

Check this thread ...

Regards,

Satya

former_member156446
Active Contributor
0 Kudos

Hi Salil

check my code of search help exit in CRM.

>CALL FUNCTION 'F4UT_RESULTS_MAP'

>TABLES

>shlp_tab = shlp_tab

>record_tab = record_tab

>source_tab = lt_result

>CHANGING

>shlp = shlp

>callcontrol = callcontrol

>EXCEPTIONS

>illegal_structure = 1

>OTHERS = 2.

lt_result will have all the data that need to be shown in the search help window.

Former Member
0 Kudos

Hi

hope this will resolve ur issue,

CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'

EXPORTING

parameter =

  • OFF_RESULT = 0

  • LEN_RESULT = 0

  • FIELDNAME = ' '

  • IMPORTING

  • VALUE =

tables

shlp_tab =

record_tab =

  • SELOPT_TAB =

  • RESULTS_TAB =

changing

shlp =

callcontrol =

  • EXCEPTIONS

  • PARAMETER_UNKNOWN = 1

  • OTHERS = 2

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

reward if help.