cancel
Showing results for 
Search instead for 
Did you mean: 

Substitution not working

Former Member
0 Kudos

Hi Friends,

I created a substitution rule as follows (Call point 2 - Line item level):

prerequisite:

BSEG - KOSTL = 'ABC' AND BSEG - MWSKZ = 'V1'

Substitutions (if prerequisite is met)

BSEG - MWSKZ = 'V2'

Logically, this seems to be correct. But when I try to post a document with two line items (line item 1 have this cost center and tax code and line item 2 is balance sheet), tax code is not changing to 'V2'.

Please could you help me why this is not working?

Thanks and Advance,

Krishna

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

This issue is now resolved. I forget to activate the substitution in GBB4.

Thanks again,

Krishna

Former Member
0 Kudos

Check in GB01 table if field MWSKZ is allowed as a substitutable field in substitution OBBH.If not then check OSS note 42615 on how to make field substitutable. You might have to use the exit option to substitute if tis field is not allowed for substitution.

Thanks and regards

Kedar

former_member182098
Active Contributor
0 Kudos

Your understanding about substituion is wrong.

If you give something, it will not replace that.

If you do not give something or the user inadvertently misses something to enter, then the system substitutes the same.

For example,

If the company code is ABCD, then substitute with profit center WXYZ, in such case if the user misses to enter profit center, then it is substituted with as per the rules of substitution. If the user has given profit center PQRS, then system will not substitute, and the user entries will prevail.

Please note that you need to create substituion in GGB1 and must assign in OBBH, then only it works.

Regards,

Ravi