Skip to Content
0
Former Member
May 30, 2013 at 07:45 AM

validation issue

124 Views

Dear SAP Gurus.

I am facing a problem while i have assigned a validation at CO line item level through T Code - GGB0

Scenario is as such, that a user of one plant should not be authorized to post a transaction with a cost centre of other plant .

The first 4 characters of my plant code ,cost centre,profit centre and user id are the same .

Eg:

Plant Code - 1101

Cost Centre Code -11012345

Profit Centre - 1101

Userid-1101ABCD

I have created a validation on user id and profit centre which is working fine on any t- code where manual assignment of cost centre and profit centre is required however when user is using t code MB1B for stock transfer within plant, errors are genarating which is not allowing user of same plant to post in the same plant. (which should not be the case as user of a plant should be able to post in his plant itself).

Please see below my validations and see if any modifications needs to be done .

Prerequisite


COBK-USNAM :1-4: = '1101' OR COBK-USNAM :1-4: = '1102'

OR

COBK-USNAM :1-4: = '1103' OR COBK-USNAM :1-4: = '1104'

OR

COBK-USNAM :1-4: = '1201'

Check

COBL-PRCTR :7-10: = SYST-UNAME :1-4:


Message was edited by: Eli Klovski