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

former_member188827
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.