cancel
Showing results for 
Search instead for 
Did you mean: 

Validation : GGB0

Former Member
0 Kudos

Hi

I am doing a validation for a cost centre in FI Document.

A specific cost element should be posted to a particular cost centre.

I did the validation and gave an error message. It is working fine with this one condition.

when I create another step for another cost element to be posted to a particular cost centre and assigned another message, it is having a posting problem.

Eventhough the correct cost centre is given for each cost element, the messages are appearing woringly. When I assign a wrong cost centre, the first message is coming. Again when I correct the Cost centre, the second message is coming and no posting is possible.

Following is happening when I assign the wrong cost centre.

Cost element correct cost centre message

6500001 10001 Not possible to post to cost centre 1001. Use 10002 cost centre.

This is happening when I assign the wrong cost centre.

Whenn the cost centre is corrected to 10002, following is happening:

Cost element correct cost centre message

6500001 10002 Not possible to post to cost centre. Use 10001 cost centre.

Why this is so ? Please help me out.

Accepted Solutions (1)

Accepted Solutions (1)

iklovski
Active Contributor
0 Kudos

Hi,

There is something wrong with your prerequisites. Check them carefully, and if you still think they are fine, please describe them in the message for further analysis.

Regards,

Eli

Former Member
0 Kudos

Hello

Please see the settings I have done for validation:

Pre-requisite :

BKPF-BUKRS = '1000'

Check:

BSEG-SAKNR = '41000001' OR BSEG-KOSTL = '1004'

Message

010-Pl. do not use this cost centre. Use Cost Centre 1004

Regards

Former Member
0 Kudos

Any inputs, pl.

Former Member
0 Kudos

Hello nikita,

I think you should change your validation;

Pre-requisite :

BSEG-SAKNR = '41000001'

Check:

BSEG-KOSTL = '1004'

Message

010-Pl. do not use this cost centre. Use Cost Centre 1004

Regards

Ahmet

Former Member
0 Kudos

Hi

This is not working. If I give any cost centre, it is not checking.

Former Member
0 Kudos

have you tried OKB9

Former Member
0 Kudos

1 point to consider:

your validation should be created under financial accounting - Line item,

and should be activated at ggb4.

Former Member
0 Kudos

Hi

I have done the validations in FI line items only and activated in GGB4. But this does not solve the issue.

Former Member
0 Kudos

No solution ?

iklovski
Active Contributor
0 Kudos

Hi,

Try giving leading zeros for your SAKNR. Also, if this does not help, activate a trace and try the posting: you will see what exactly does not work.

Regards,

Eli

Former Member
0 Kudos

Thanks. Let me try.

Former Member
0 Kudos

Hello,

Try the validation by creating a set "GS02" and assign the same to the validation rule. Create the set for cost element.

Jaymin R. Bhatt

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks for the inputs. Issue is resolved.

former_member194797
Active Contributor
0 Kudos

Try replacing '41000001' with '0041000001'.

Former Member
0 Kudos

Hi Nikitha,

some time system wont take the changes immedately.

For that you should go to the OB28 transaction and select company code and change the activation level to 2

Now you can get the correct message

May be this information is useful to you

If you have any doubt feel free to ask

Regards

Surya