on 07-24-2007 11:47 AM
Hi
Can you let me know how to control the fields status of cost center screen (transaction codes are KS01, KS02 & KS03) i.e. from where do can i suppresse, display, required or keep the fields optional.
Thanks & Regards
Rahul
Message was edited by:
rahul jain
Message was edited by:
rahul jain
Message was edited by:
rahul jain
You can control it using Transaction Variants (SHDS). With this you can manually suppress or make some fields mandatory or display only.
However, fields that are mandatory by default (e.g. person responsible) should not be suppressed as you would get an error even though the user cant see the field.
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rahul,
You can use the transaction variant function to do the control of KS01. You can make the required field and suppressed field option in that. Please assign points if helpful.
Thanks
Dasa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you mean the field Cost center when entering a line item, then it is in fact controlled by the field status group of the G/L account you are using plus the field status of the posting key.
However, if you are about to find out how you can suppress, etc. fields of the cost center master (like KS01, KS02, etc.), then I have bad news. The "field status" of the cost centre fields cannot be customized. Some fields, like the short text, person responsible, hierarchy area are mandatory. Always. Some fields, like the object currency, become display only once the CC has been posted to. Some of them will be always optional and you can change them as often as you want. (Consider time-dependancy of CC master fields). Finally, there is a user-exit to ad some custom fields to the CC master, and in the same exit, you can program your own "field status" logic on how your custom fields should be displayed/suppressed, etc.
Hope that helps, points welcome
Csaba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IMG or transaction KM1V.
Create a variante with attributes.
You can also define time based fields in transaction OKEG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Then you can create a validations for the same. It will work out.
perquisite : if T.Code : KS01
check : profit center <>" ... (means should not blank)
message : issue error messge
perquisite : if T.Code : KS01
check : Business Area <>" ... (means should not blank)
message : issue error messge
all the best
Prasad
Hi Rahul,
When you activate "Profit Center Accounting" in transaction OKKP, system will automatically make Profit Center field as mandatory
And when you check ON "Business Area financial statement" on Company code global setting (Transaction OBY6), "Business Area" field will become mandatory on Transaction KS01 & KS02.
Hope this helps
Cheers,
Som
Hi,
unfortunately, there is no validation call-up point for transaction KS01, so this definitely cannot work.
You can have a validation which would check if both BA and PC are filled in when posting(!!!) against a cost centre, but this has nothing to do with the cost centre master.
The proper answer is, there is no field status config setting, only indirect. The previous post of Som gives you the information how to achieve that both BA and PC become mandatory. But this is not a field status setting at all!
Thank you,
Csaba
Hi Rahul,
there was a little misunderstanding here. The post from Som will definitely work, as this IS the solution.
It is the suggestion of Prasad (Posted: Jul 30, 2007 9:09 AM ) that cannot work. He is suggesting to check transaction code KS01 from within the validation. This prerequisite will never be fulfilled. You can go for the validation, but again, this is something passive check as it let you create the cost centre MASTER without business area and profit center and it gives you an error (or warning, up to you) message only when you try to POST against that cost centre. Also, from a performance point of view, the validation is the wrong way here. And lats but not least, if you do not have profit center accounting activated (as suggested by Som) and if you do not have business area balance sheets activated (again, as suggested by Som), you will have lots of difficulties when going for a validation like this. Both BA and PC are quite heavy fields, they are not just anther small fields in the coding block...
You should read Som's solution (Posted: Jul 30, 2007 11:28 AM ) again and decide on your own: activating PCA and BA balance sheets is easy but it is a big change for your business also. You should also check that business requirement again. Why do you need those fields as mandatory in the CC master??
Hope that helps, points welcome
Csaba
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.