cancel
Showing results for 
Search instead for 
Did you mean: 

Validation

former_member183901
Active Participant
0 Kudos

Hi

I am trying to write a validation using Coding Mask -Project ID.

If any project ID that starts with KFIL , it has to automatically pick up Project Profile 'ENG'.

I have used Coding Mask;

Project ID : KFIL

Description : 0000-XX-XXXX

The Coding Mask -Project ID has been assigned to the Project Profile 'ENG' and automatic validation has been selected.

For Validation I am quoting as below;

Prerequisite : PROJ-PSPID = 'KFIL0000XX'

Check : PROJ-PROFL = 'ENG'

Point is if I want to check,

If the Proj Profile is not equal to ENG;

I am quoting as PROJ-PROFL <> 'ENG'

Then it has to show me error message.

Is it the right way to do it or any suggestions?

Edited by: Mohan R. Desai on Dec 6, 2011 12:45 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

marcio_blos
Explorer
0 Kudos

Hi Mohan

Try change your prerequisite : PROJ-PSPID = 'KFIL0000XX' to PROJ-PSPID :1-4: = 'KFIL'

Marcio Blos

former_member230675
Active Contributor
0 Kudos

> Prerequisite : PROJ-PSPID = 'KFIL0000XX'

> Check : PROJ-PROFL = 'ENG'

>

Please use PROJ-PSPID = 'KFIL*'

former_member388328
Active Contributor
0 Kudos

Hi,

If you want automatically pick project profile based on project id , then use subsitution.

Thanking you

Vengaiah Chowdary