cancel
Showing results for 
Search instead for 
Did you mean: 

Validation for WBS field Length

Former Member
0 Kudos

Hi everybody,

I want to restrict Field legth of Identification of WBS at Level 02 to 14 char.

It should not be less/more than that. How to achivethis thr' validation?

I have mentioned PRPS-STUFE = '2' in prerequisite what bout check?

what to mention?

Thanks in advance,

RIYA

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

PRPS POSID :13 -: = ' '

Former Member
0 Kudos

Thanks Nidhi for your reply.

I have selected field comp. entered 13 in FROM , Kept blank in TO & = , selected comment and kept blank again.

Was this right?

If yes , its not working.

will u pl let me know step by step.

Thanks,

RIYA

Former Member
0 Kudos

By mistake I wrote comment, it was constant..

Answers (2)

Answers (2)

Former Member
0 Kudos

Riya,

One way of restricting the WBS length is by coding mask.

By using a coding mask the second level WBS element should always have the same length for the particular Project ID.

Example for the second level validation is as below

Prerequiste : PRPS-STUFE = '2'

Check : PRPS-POSID :06-11: <> '000000' AND

PRPS-POSID :12-14: = '000'

Message : As you define

In this example, it is assumed that your Project has only two level WBS elements. Project ID is 5-digit length, 1st level has 6-digit length and 2nd level has 3-digit length.

Your Coding mask would be ABCDE.000000.000

Dont forget to give the first level validation.

Hope this helps

Regards

KAP

Former Member
0 Kudos

Why don't you do it via Coding Mask, it would restrict the number of digits for WBS. For ex- Define in Tcode OPSJ. L-XXXX.XXXXXXX. Give your Project definition and level 1 WBS as first part of Coding Mask (L-XXXX) or whatever makes sense for you and level 2 as L-XXXX.XXXXXXX. Now even if you would try to add or remove digit/s from level 2, it won't allow you.

Hope it helps.

BS

Former Member
0 Kudos

I have tried in my system , it is wrkg fine, are u checking at first level wbs or second level wbs.since u have mentioned level 2, please check at second level..

Also plz check that u have entered the validation in project profile and ticked automatic against it

Former Member
0 Kudos

Hi Nidhi,

Find attached Screen shot of error.

As I explained earlier, my config. was right & also maintained validation in the project profile. Created new proj. and arrived at the error given.

Tell me why u asked to put 13 in FROM & blank in TO?

and a space in the constant? what does it indicate?

Thanks,

RIYA

Edited by: RIYA M on Aug 12, 2008 8:02 AM

Sorry, there is no provision.