Skip to Content
avatar image
Former Member

UJ_Validation Not working for multiple scenarios

Hello Experts,

We have two scenarios for restricting data inputs in BPC.

1. Intercompany Accounts(For example 181000 & 221000) should not be posted with partner profit centre undefined(NONE).

2. Every Profit Centre should contain specific company code.( For Example: profit centre 1501 should contain company code 1510).

We have dimension for all Account, Profit Centre, Company code & partner profit centre in addition to other required dimensions.

Idea we proceed with is selecting Category as driver dimension and creating rules under it.

Rule 001:

Under Category=Actual

Account = 181000, 221000

Partner Profit Cener <> Undefined.

Rule 002:

Under Category=Actual

Profit Centre = 1501

Company Code =1510

======================================================

Rule 001 is working fine if we try to input values on account 181000 with selecting any partner profit centre. But if I try to post values to any other account to test the scenarios of rule 002, it gives an message "account is not defined in rule 001". For example. I want to enter values on account 100000 with profit centre 1501 and company code 1510 which has nothing to do with rule 001 but error appears as 100000 is not defined within rule 001.

My concern is how can we define multiple scenarios within UJ_validation. We have tired different approach by selecting other dimensions as driver dimension but this is not helping.

Thank you in advance for suggestions.

Sudip Pandey

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 04, 2017 at 08:50 AM

    For complex conditions it's better to use validation badi and perform all tests in abap!

    Add comment
    10|10000 characters needed characters exceeded