on 05-17-2012 7:57 AM
Hi
I have to create validation for Project Definition level, my requirement if user is creating project definition and if project profile is taken different one, then the validation has to check and throw an error.
enclosing the validation configuration as attachment, kindly note that i am not successful and request your inputs where i am gone wrong.
thanks/srihari
Hi Srihari,
I think the prerequisite is incorrect. Since you have mentioned alpha numeric values, system may not be able to perform greater than or less than functions. I suggest to either eliminate the prerequisite or it can be
PROJ-PSPID :1-4: 5020
The above check will confirm if first 4 digits are 5020. You can set the check length (:1-4:) by using FldComp button. Also you can change the length and check on this logic as required.
Hope this helps
Regards
Shrikant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
my coding mask is
1. my project profile is
my requirement is
Case 1.user creates project definition 2020/LPGC/100001-PS (CJ01) then the above project profile is right, if any other project profile is taken then the error message should come while saving
Case2.user creats project definition 2020/LPGS/100001-PS (CJ01) then the below project is right, if any other project profile is taken then the error message should come while saving
i would like to understand whether validation will work on case sensitive ie.,
LPGC ----> project profile - customer projects
LPGS ----->project profile - investment projects
user creating projects and realizing later the project is wrong, hence i want to have validation to control right project profile before saving. Earlier i have tried but i have given up.
kindly let me know the above requirement is achieved through Validations or not, please suggest.
Thanks/srihari
hi Soubhagya
Certainly, there is no syntax error, i doubt logic is not working, because I am able to create & save project (project definition using 2020/LPGC/100001-PS with other project profile), but validation, which is assigned at project profile (00002020), should not be allowed to save if different Profile is taken (0000041). My validation should stop saving if i have different project profile.
Please help in resolving my issue,
thanks / srihari
hi Soubhagya Rout,
I am successful after modifying the from 6-9 to 5-8 along with to steps created as advised by Shrikanta Rakate,
we are successful for two project profiles by assigning the validation, but whereas we have nearly 40 profiles in total (20 profiles are related LPGC & 20 profiles related LPGS).
please suggest whether we need to create for each profile one Step in validation.
Thanks to you & Shrikant Rakate
If I'm right, you have 20 customer project profiles and 20 investment project profiles and you want to use LPGC for 20 customer projects then you can do it by using single validation by just changing the check scenario but you have to assign that validation in all the project profiles.
Thanks,
Soubhagya
Ediga, Try this method, This will Work
In Prerequiste check project profile
PROJ-PROFL= "0002020"
In Check Use Set values. Create a Set in GS01--> Basic Set---> Table PROJ---> Field "PSPID".
In the value screen , Maintain the values between from and to( Like from 2020/LPGC/100001-PS to 2020/LPGC/109999-PS) & Save. You can change this in GS02-Change Set
PROJ-PSPID IN " SETNAME"
In Message- Activate your error message.
N Ranjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I could not find any attachment.
Your Pre requisite should be Project profile = Enter relevant profile.
Check = Project definition should start with (I mean coding mask) ....enter relevant alphabet.
Message = your wish...
Hope this helps you.
Regards,
Murthy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Srihari,
Have you searched the forum before posting?
Refer following threads, which will help you to fix your issue.
http://scn.sap.com/thread/537118
http://scn.sap.com/thread/1031780
http://scn.sap.com/thread/1278348
http://scn.sap.com/thread/1077500
http://scn.sap.com/thread/1014524
http://scn.sap.com/message/6315688#6315688
http://scn.sap.com/thread/1200050
Regards,
Amaresh Makal
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.