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: 

Elementary Search Help EXIT

Former Member
0 Kudos

hello,

'am workning on a custom elementary search help in which am having four fields out of which one is both import and export parameter.. I had assigned a selection method to this search help. Till this point every thing is fine. all the possible values are getting displayed.

Now, I had assigned a SEARCH HELP EXIT to this elementary search hellp. out of four fields, I want to modify the values of one field in this EXIT.

Please let me know which way to proceed to achieve the requirement.

Thanks,

kriss.

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

in the step DISP you have to modify the logic to display the values according to your requirement.

if callcontrol-step = 'DISP'.


perform authority_check tables record_tab shlp_tab
                           changing shlp callcontrol.

    exit.
  endif.

form authority_check  tables   record_tab structure seahlpres
                               shlp_tab type shlp_desct
                      changing p_shlp type shlp_descr
                               p_callcontrol type ddshf4ctrl.

  loop at record_tab.
  "here record_tab is a string, so use offset and modify the values 
  endloop.

endform.                    " AUTHORITY_CHECK

1 REPLY 1

former_member188685
Active Contributor
0 Kudos

in the step DISP you have to modify the logic to display the values according to your requirement.

if callcontrol-step = 'DISP'.


perform authority_check tables record_tab shlp_tab
                           changing shlp callcontrol.

    exit.
  endif.

form authority_check  tables   record_tab structure seahlpres
                               shlp_tab type shlp_desct
                      changing p_shlp type shlp_descr
                               p_callcontrol type ddshf4ctrl.

  loop at record_tab.
  "here record_tab is a string, so use offset and modify the values 
  endloop.

endform.                    " AUTHORITY_CHECK