my clietn is creted vendor mater data centerally and all can use general data without giveing company code data. In fk03 after giving vendor number its allowd to see the genereal data.but we want to restrict this to particual company code. now we want make comapny code field as mandatry filed while creteing/cahning/displaying vendor master data for Gneral data.
You can do that with the standard transaction. You can make a copy of the master data change transaction and add a check with the field....
However I am still not sure what you could accomplish with this setting. But that is the option that you have as of now.
The only way where I can see is to have different account groups for different company codes. There will not be anything in common.
Another option is to try using the Authorization group field. This can be freely defined in the master data. This is then configured for user roles and thats how this can be restricted.
Let me know if it was of help.