cancel
Showing results for 
Search instead for 
Did you mean: 

Control of Cost Center Field Status i.e.KS01

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (3)

Answers (3)

Former Member
0 Kudos

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

former_member581986
Active Participant
0 Kudos

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

Former Member
0 Kudos

IMG or transaction KM1V.

Create a variante with attributes.

You can also define time based fields in transaction OKEG

Former Member
0 Kudos

Hi

I want to make the fields 'PROFIT CENTER' & 'BUSINESS AREA' as required fields in Tcode KS01 i.e in Cost Center master.

Thanks & Regards

Rahul Jain

Message was edited by:

rahul jain

Former Member
0 Kudos

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

someswararao_perla
Active Participant
0 Kudos

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

former_member581986
Active Participant
0 Kudos

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

Former Member
0 Kudos

Hi

As you said that the steps given by SOM cannot work, then can you sugeest me anu other way out for the same.

Thanks

Rahul Jain

Message was edited by:

rahul jain

someswararao_perla
Active Participant
0 Kudos

Hi Rahul,

The steps I mentioned will surely work.

What he meant is it indirect way of achieving the result as there is no field status maintenance for Cost Center master data

Hope it clarifies.

Please assign points if it is useful.

Cheers,

Som

former_member581986
Active Participant
0 Kudos

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