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

help on selection screen

Former Member
0 Likes
407

hi friends,

on my selection screen i have two radio buttons.one for applicant and one for officer.i also have one text field for personnel no.when i click radiobutton for officer all the personnel nos from personnel administration should be incorporated as a f4 search help for field personnel no and similarly when applicant radio button is clicked all the applicant nos from recruitment should be incorporated as f4 search help for field personnel no.how to do this.can anyone of u please provide sample code for this.

thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
376

Hello Murthy,

Instead of trying to dynamically change the search-helps assigned to the field on the screen, I think it is best for you to have two fields on the screen, each of them referring to a suitable data-element.

All you need to do now is to just hide one of these fields and display the other, as according to the radio-button selected on the screen.

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
376

If you are determined to do it, you can build a customized search help. In SE11, for search helps, do F1 on Search Help Exit. There is some good help there.

Input to your search help would be one of the radio buttons. It will be 'X' or space. Since you only have 2 buttons, this will let you know which one is 'X'. Or if you want more buttons, then make all the buttons input to the search help. Your search help code can now respond appropriate to the button that is selected.

Read only

ssimsekler
Product and Topic Expert
Product and Topic Expert
0 Likes
376

Hi Murthy

I also recommend Anand's solution.

However, if you insist on just one input field for personel no, then you can program your own F4 help using <b>"AT SELECTION-SCREEN ON VALUE REQUEST..."</b> report event. There you can grab the entered value for a field using the function module <b>"DYNVALUEREAD"</b> and directing the flow according to the input where you can use <b>"F4IFINTTABLE"</b> to popup the F4 help screen.

*--Serdar

ssimsekler@yahoo.com