2007 Mar 13 10:33 AM
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
2007 Mar 13 10:37 AM
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.
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
2007 Mar 13 10:35 AM
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
2007 Mar 13 10:46 AM
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
2007 Mar 13 10:37 AM
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.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |