on 07-04-2015 11:57 PM
Hi Gurus,
I'm trying to create a validation step that validates on the system status of a WBS element. But I cannot find the field of the system status in the WBS element table "PRPS". All I find is the [Status Comb] field {PRPS-PRPS_STATUS}. I accessed the transaction "SE16N'' to check the possible values of this field and there was none. I accessed the same transaction but on an IDES system and there were values like 0,1,2,3 with descriptions like "Released and Budget Insufficient, Closed, Released, Created".
And when I executed the SE16N on a WBS element that has more than one status "PREL NTUP", the field status comb had one value "13 Created" which did not represent the statuses I see in the WBS element at all.
I opened the technical view of the Status field in the WBS element and I found it to be a structure rather than a transparent table field.
I want to create the validation in the following manner considering the values I see in the "Status" field in the WBS element:-
If "Status" like *REL*
And "Status" not like *AVAC*
Raise Exception "Error" "........Text......."
Else
Do nothing
Endif
Can you please help me design this code under the restriction of the PS validation?
If anyone has an idea I'd be thankful if they share it.
Thanks
Hi Ahmed,
System Status field is not available in Validations so you need to maintain some Exits with help of ABAP Consultant.
thanks
Sunil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ahmed,
In the check for validation.. use an user-exit and in that write the piece of code you want..
You should be able to find many exits "on save' to check it.. You would need help of a technical person to achieve this..
Regards
Sammar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.