cancel
Showing results for 
Search instead for 
Did you mean: 

Validation for Profit Center & Business Area

Former Member
0 Kudos

Experts,

If I want to add new validation rule for another profit center and business area which is not in the current rule defined.

Prerequisit will remain same.

Check : is as below for other profit center and business area. Message will also remain same which is already defined.

CHECK:

OR

( BSEG-PRCTR >= 'VS0001' AND BSEG-PRCTR <= 'VSZZZZ'

AND

BSEG-GSBER = 'SPFN' )

OR

( BSEG-PRCTR = 'EBT021' AND BSEG-GSBER = 'SPFN' )

OR

Requirement: we want to add new profit center EBT022 and Business area SPFN.

Please explain how can I achieve this? Do I need to add one more line as below in between the whole CHECK Rule specified?

OR

( BSEG-PRCTR = 'EBT022' AND BSEG-GSBER = 'SPFN' )

- Nilesh

Accepted Solutions (1)

Accepted Solutions (1)

sanilbhandari
Product and Topic Expert
Product and Topic Expert
0 Kudos

yes

regards

sanil

Former Member
0 Kudos

Yes, Nilesh. You can do so.

But you can also think of using exit with a custom table, in case such request is coming frequently. By doing so, you just need to maintain an entry in custom table in future instead of code change.

Regards,

Gaurav

Former Member
0 Kudos

Sunil,

What is the T-Code used to maintain validation? and where we do the activation of Validation?

- nilesh

Former Member
0 Kudos

Gaurav,

Sunil,

What is the T-Code used to maintain validation? and where we do the activation of Validation?

- nilesh

Former Member
0 Kudos

You can maintain it via GGB0 transaction

former_member213733
Active Contributor
0 Kudos

GGB0 - create validation .

GGB4 - Activation of Validation .

Cheers ,

Dewang

Former Member
0 Kudos

As you are changing the existing validation, so reactivation not neededfor company code.

You just need to change the validation in GGB0

Regards,

Gaurav

atif_farooq
Active Contributor
0 Kudos

Dear:

Having created validation in GGB0 you need to assign it in OB28 as well to your company codes.

Regards

Former Member
0 Kudos

Gaurav,

Before maintaining this validation rule, when we try to post transaction. We have tried with other combination of Business area and desired business area. Message appears "Profit Center not consistant with Business Area".

What is the logic behind this? This is just for my understanding..

If we create rule for new Profit Center for desired Business Area then possibly system will not throw error message.

Please correct me if I am wrong?

- Nilesh

sanilbhandari
Product and Topic Expert
Product and Topic Expert
0 Kudos

I guess there are other Validation also in place. Check in GGB0 for all the steps of validation put in.

Regards

Sanil

Answers (0)