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

search help

former_member188827
Active Contributor
0 Likes
336

hi all,

In trx Fb60 On field kostl (costcentre) in line item .I need to show the costcentres on the basis of user logged on the system.lets say if the user A is logged then he shuld get the costcenters1 & 2 in the search help. If user B is logged on then he shuld get the costcenters 3 in search help. any suggestion how to do this.

rgds.

points will be rewarded

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
317

use fun modules iff4_internal_table*.... AT selection screen u say If sy-uname = 'user1'.

Move fiel1 to field-tab.

else if sy-uname = user2.

move field2 to field2-tab

endif.

3 REPLIES 3
Read only

Former Member
0 Likes
317

Hi,

Based on the user to display search help for Cost centers means, first you prepare a table with User and associated Cost centers , then create a search help using that table and use that search help for that field.

Regards,

Anji

Read only

0 Likes
317

thanx for replying, plz tell as how to attach zsearch help to trx fb60 ,fileld kostl ( in line item).

thnx & rgds.

Message was edited by:

abapuser

Read only

Former Member
0 Likes
318

use fun modules iff4_internal_table*.... AT selection screen u say If sy-uname = 'user1'.

Move fiel1 to field-tab.

else if sy-uname = user2.

move field2 to field2-tab

endif.