cancel
Showing results for 
Search instead for 
Did you mean: 

WBS Element length must be validated by WBS Element Level

stheurkar
Active Contributor
0 Kudos

Hi Friend's

I have to apply validation for WBS Element length which needs to be validated by WBS Element Level. This validation I have to apply for all the WBS Element Level's

In my scenario project coding mask is as follows.

PP.00000000.00.00.00.00

Here my validation requirement is that system must check WBS Element Char. Length by WBS Element Level.

Here system should not allow the WBS Element less than or more than 10 Char. or 12 Char. as per WBS Element Level. If user tries for the same then following Error Message will be displayed by the system.

Example:

Level 1 WBS Element is PP.00000000 (Error Message - Level 1 WBS Element must be 10 Char.)

Level 2 WBS Element is PP.00000000.00 (Error Message - Level 2 WBS Element must be 12 Char.)

For this I am maintaining following Prerequisite.

Prerequisite

PRPS-STUFE = '1' for level 1 WBS Element.

Now here what should be the Check?

Kindly give your valuable inputs.

Thanks & Regards,

Sandeep

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check forum, yesterday only someone asked similar kind of requirement for project definition.

Regards,

Harsh.

stheurkar
Active Contributor
0 Kudos

Hi Harsh,

I have refered your yesterday's thread reply.

But here my Prerequisite is WBS Element Level..............can you provide Check logic.

Thanks & Regards,

Sandeep

Former Member
0 Kudos

Hi,

Same logic applies to your requirement also, you could/should have created by yourself:

For each Level-

Step001-

Prerequisite-

prps-stuffe = 1

Check-

prps-posid :10-10: = ' '

error Message-

as per your requirement

Step002-

Prerequisite-

prps-stuffe = 1

Check-

prps-posid :11-11: = ' '

error Message-

as per your requirement

Note: posid field in table is without special characters. You can use poski(short id) which has special characters but has 16 characters only.

Regards,

Harsh.