on 05-20-2011 10:38 AM
Dear Expert,
I am creating a validation of project definition number range specific for a project profile but not get sucess.
Scenario is like this..i have a project profile Z000001 for which there is a number range of project code 1000 to 1999
i had created a validation as :-
Prerequisite :- PROJ-PROFL = 'Z000001'
Check :- ( ( PROJ-PSPID :4-7: >= '1813' ) AND ( PROJ-PSPID :4-7: < '2000' ) )
Project Code logic is XX/XXXX , ex PL/1814
But While creating Project Code system is giving the error massage in both right n wrong condition
Hi,
PSPID & POSID both dont consider special characters.
PROJ - PSPID = "SN-001".
Here :1-6: means "SN001" for 1-5 & "0" for 6 as characters.
PRPS - POSID = "SN-001-CIV"
Here :1-6: means "SN001" for 1-5 & "C" for 6 as characters.
In Your case just try changing your check statement to.
Check :- ( ( PROJ-PSPID :3-6: >= '1813' ) AND ( PROJ-PSPID :3-6: < '1999' ) )
and update the test result.
Regards,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Experts thanks for your valuable suggestion, now my problem is resolved...
My requirement is met ..for Project number rangess FH/1813 to FH/1999 i had put the validation as shown below and it work..
Prerequisite :- Project Profile = 'ZPMI001'
Checks :- ( ( Project Def. :3-6: >= '1813' ) AND ( Project Def. :3-6: < '2000' ) )
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.