cancel
Showing results for 
Search instead for 
Did you mean: 

Asset master create successfully when the cost center had been blocked

Former Member
0 Kudos

HI,

One cost center had blocked and I can create asset master successfully.

But user want to system can provide error message and save unsuccessfully.

Who can tell me how to set rule for this issue?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You can check this out in Validation.Use the cost center related validation and use COBL and use the t-code of AS01 or AS02 in the validation prerequisite and in check use an exit and maintain all the cost center which are blocked so automatically the system will throw an error while creating or changing the asset.

Regards,

Gokul

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I use GGB0 to create validation about asset master data.

The step of prerequisit is setting to cost center is not blank.

The step of check I choose exits of "Company code validation Cost center - Asset master record (SAM01)".

I copy standard program SAPFGBEB to ZSAPFGBEB and edit the program.

Then I set this validation by using OACV (Validation for master data (Asset accounting)).

Finally I assign this Zprogram in appl. area GBLR in GCX2.

But I use AS01 to create new asset ,this validation is useless.

Can someone tell me which step I ignore or I need to do extra setting in system ?

Thank you.

Edited by: Chien Ping Chen on Feb 1, 2010 3:39 PM

former_member182098
Active Contributor
0 Kudos

Hi,

You cannot block a cost center. There is no block functionality in SAP to block cost center.

Either you can lock the transactions on Control Tab or change the validity period in order to invalidate the cost center.

You can use validations in GGB0 and assign them in OB28.

Regards,

Ravi