cancel
Showing results for 
Search instead for 
Did you mean: 

How to Block Cost Center for manual Entry

msaber
Discoverer
0 Kudos

Hello,

I have Requirements from my Customer to Block Many Cost Centers for Manual Entry to be allowed only in case

of automatic entry like depreciation or Payroll Posting any solutions

thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

pardhreddyc
Active Contributor
0 Kudos

Hi,

Question is not clear.. If i understood correctly, You have to write custom code with regard to transaction code...in save exit of respective transaction code.. hope it would be very difficult for an ABAPer to do so.. Workaround is that, maintain ZTABLE with custom authorization object Having data such as transaction code, cost center and related validity dates..So that during execution of transaction code as per your logic system will refer ZTABLE and check the cost center and transaction code and time stamp details...then populates an error message.

Custom authorization object is to have changes when ever it is required to designated users.

Regards,

Pardh Reddy

ajaycwa1981
Active Contributor
0 Kudos

Hi

You will have to write a custom validation for the same using GGB1

Sample would be like below

If BKPF-BUKRS= XXXX AND BKPF-TCODE IN (SET)

Check BSEG-KOSTL IN (SET)