Application Development and Automation 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: 
Read only

Dynamic search help for input fields in a step loop

former_member355261
Participant
0 Likes
700

Hello,

I have a step loop with many input fieldsin a screen (dynpro) and I want to have different search help for each input field.

So, I associated the input field name with a variable and then entered the search help element for that variable as :SEARCH_HELP (SEARCH_HELP is a variable that will contain the name of the search help element).

Then, I changed the value of SEARCH_HELP variable in the loop of the PBO event, but all my input fields get the same search help (the last one).

I searched a lot for a solution to this issue without success. So, please give me any advice or anything to find a solution to this problem.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

SwadhinGhatuary
Active Contributor
0 Likes
544

Hi,

Yes you are right the last search help will update over other search help.

So what i suggest provide a dummy search help for field/s , and we put our code in POV event.

When user click f4 for our field a module for F4 will trigger so their we decide which search help and that will displayed to user.

process on value-request.

   field ttdst-tplst  module f4_trans.

use FM call function 'F4IF_INT_TABLE_VALUE_REQUEST'.

So that search help will assign in run time.

Link

Hope this will help you

2 REPLIES 2
Read only

SwadhinGhatuary
Active Contributor
0 Likes
545

Hi,

Yes you are right the last search help will update over other search help.

So what i suggest provide a dummy search help for field/s , and we put our code in POV event.

When user click f4 for our field a module for F4 will trigger so their we decide which search help and that will displayed to user.

process on value-request.

   field ttdst-tplst  module f4_trans.

use FM call function 'F4IF_INT_TABLE_VALUE_REQUEST'.

So that search help will assign in run time.

Link

Hope this will help you

Read only

Former Member
0 Likes
544

Could you share some of your logic what you are trying to do... it will help in understanding your problem better.