cancel
Showing results for 
Search instead for 
Did you mean: 

validation in project definition

Former Member
0 Kudos

Hi,

We have a requirement where in we need a validation on the project definition while creating a project in the project builder (CJ20n).

The validation is that, if the project definition starts with the letter 'V', there should be an error message thrown and the project is not saved.

Can any one please let me know how is this done??????

Cheers,

Raghav.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Please try with the following logic...

Pre requisite:

PROJ-PSPID LIKE 'V*'

Check:

PROJ-PROFL = ' '

Message: (Error) : As required

Hope i understood ur requirement...

Thanks

Kishore

Former Member
0 Kudos

In this case you need to create the project coding mask (T Code OPSJ) which doesn't have 'V' as project ID.

Also you need to check the indicator EDIT- 'Indicator: only edited project numbers allowed' in the configuration node OPSK.

Regards

Sreenivas

Pls close the post if satisfied.

Former Member
0 Kudos

Thanks for your replies.

But the above mentioned points have already been implemented. Please let me know if u have any other suggestions.

Cheers,

Raghav.

Former Member
0 Kudos

Hi,

Use T-code OPSI . Spro path go to maintain validation..

Click on the project defination...Create a validation and click on the validation folder and create a step-1

In the step you have 3 fields 1.Prerequisite 2.Check 3.Msg

In Prerequisite field -If you want to check only for specified profile, type etc..enter the same or leave it blank such that it is applicable all profiles, types etc...

In Check field type PROJ-PSPID = " Project mask say V-XXXXXXXX .

In Msg field you have to give the msg no which you would have create using SE91 transaction.

Then next step to assign this validation to your required project profile and click the auto validation button..

Hope this helps you.

Regards,

Pradeep

Former Member
0 Kudos

Hi;

for the validation on project defination, you should create project coding masks for you projects.

As soon as the user creates a new project not on the criteria defined by you on coding mask it will generate error message and project will not be created/saved.

There is the way how u do it.

Go --> SPRO --> Project Systems --> Structures --> Operative Structure -->

Work Breakdown Structure --> Project Coding Mask.

Now here first of all u need to define special characters for Coding mask if u have any requirement.

Then on second step you will define Project Coding mask.

If you need any further assistance plz dont feel hesitant to ask ..

If u find it Valuable, plz close the issue and reward points.

Regards.