cancel
Showing results for 
Search instead for 
Did you mean: 

Validation systax

Former Member
0 Kudos

Hi Experts

I wish to restrict the project types per project profile.

I have made definitions as follows:

Prerequisite: Project Profile LIKE 'Y0000001'

Check: Proj.type = 'P1'

Message: E

But i am unable to get this validation at the time of saving project structure. Please suggest correction.

In case of allowing more values, ex: p2, p3, r1, r2 etc, suggest systax for 'check'.

warm regards

ramSiva

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Prerequisite:

PROJ-PROFL = 'Y0000001'

Check:

PRPS-PRART = 'P1' OR PRPS-PRART = 'P2' OR PRPS-PRART = 'P3' OR PRPS-PRART = 'R1'

Message:

E...

Hope this helps.

Thanks

Sarang

Former Member
0 Kudos

Hi

I have formed syntax in same lines, but when i apply validation in project builder (for a Y0000001 project which is not assigned with P1, P2 or P3), the error is not thrown. What would be missing?

warm regards

ramSiva

Former Member
0 Kudos

Hi experts

This is working with automatic function by assigning the validation in project profle (IMG) but not working when assigned at transaction level (CJ20N)

May suggest clue

warm regards

ramSiva

Former Member
0 Kudos

If you are not assigning it in project profile, how do you expect it to work automatically.

This has to be done manually be following menu path Edit => Validation => Validation by selecting the appropriate WBS and then the validation will be triggered.

Hope this helps.

Sarang

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Thanks for solution. I tried in menu settings--> validation, assigned appropriate validation (with activation of automatic in project profile), how ever not worked.

warm regards

ramSiva

Former Member
0 Kudos

Hi there,

You should build your validation step on the WBS element level.

Prerequisite:

PROJ-PROFL = 'Y0000001'

Check:

PRPS-PRART = 'P1'

Message:

E...

Good luck,

Aleksandra