Validation for Project definition
Hi Gurus,
We create project definitions with 12 char. Some time user misses out some characters hence I want to restric the same. I am trying to check the blank fields in the project definition using validation. I could succeed in stopping the user from proceeding in IDES through validation but when I applied the same logic in dev. client, it is checking but not stopping it from going ahead (I have given Error message only). The difference in the dev. client is that I have already created some validations for the PROJ-PSPID field. Is this disallowing the check or what should be the logic I should use to ensure all the 12 characters of the project definition fields are filled.
thanks in advance
Vinodh
Hi Vinodh,
Try this,
Pre-requisite:
PROJ-PSPID Not Equals Symbol ' '
Check:
PROJ-PSPID :1-12: Not Equals Symbol ' '
This should help.
Note: The place where i have written Not equals symbol, there you insert not equals symbol. Its not getting displayed here.
Also, input validation name in OPSA in Project defn. field and Tick on Automatic Validation
Regards,
Kabir
Similar Messages
-
Validation for Project defination and project profile
Hello,
I have to create validation for Project Definition and Project Profile.User requirement is when the project (Exp: Z/0120) is creating with project profile Exp: Z0001_Z system should allow , If user is trying to select other than this profile system has to give the error.
I tried below validation but it is not working:
Prerequisite - PROJ-PSPID = 'Z'
Check - PROJ-PROFL = Z0001_Z
Kindly any suggest how can i give the validation for the same.
Regards,
Lakshmi.
Message was edited by: Mohamed Rafi - Many threads available on this topic search for those.Hi,
Have you tried to save the project? Because validation rule will call at time of saving the Project.
I have created the same but for start with 'U'
When I create project and at time of saving, validation rule will call and system throw error if I don't create project start with 'U'.
Now If I am creating here, start with 'J'. System is throwing error as per validation rule.
Also Pl check if you have assigned same correct rule on project profile.
Regards
Shishir -
Validation in Project Definition No Range
Dear Expert,
I am creating a validation of project definition number range specific for a project profile but not get sucess.
Scenario is like this..i have a project profile Z000001 for which there is a number range of project code 1000 to 1999
i had created a validation as :-
Prerequisite :- PROJ-PROFL = 'Z000001'
Check :- ( ( PROJ-PSPID :4-7: >= '1813' ) AND ( PROJ-PSPID :4-7: < '2000' ) )
Project Code logic is XX/XXXX , ex PL/1814
But While creating Project Code system is giving the error massage in both right n wrong conditionHi,
PSPID & POSID both dont consider special characters.
PROJ - PSPID = "SN-001".
Here :1-6: means "SN001" for 1-5 & "0" for 6 as characters.
PRPS - POSID = "SN-001-CIV"
Here :1-6: means "SN001" for 1-5 & "C" for 6 as characters.
In Your case just try changing your check statement to.
Check :- ( ( PROJ-PSPID :3-6: >= '1813' ) AND ( PROJ-PSPID :3-6: < '1999' ) )
and update the test result.
Regards,
Pradeep -
How to find next number range for project definition in tcode CJ20N
Hai Experts,
Please help me 'How to find next number range for project definition in tcode "CJ20N". I was trying in function module NUMBER_GET_NEXT. Is it right function module? If its right what input i need to give for this tcode and for the field project definition?
Note: I searched in forum before posting, but couldn't find the solution.
Thanks
Regards,
Prabu S.Hi,
For project defination internal number is assigned by system.
When you saves's project then system allocate one number to project defination, you can view it,
SE11 >>> table PROJ >> Click on contents >>> execute,
here you will get your project defination & number is assigned to project defination.
kapil -
PS: Setting Project Profile as a mandatory field for Project Definition
Hi,
I would like to know how to set Project Profile as a mandatory field for Project Definition (CJ20N or CJ01). I tried to look for controls at OPUK config but the Project Profile is not available for definition - either mandatory, optional, suppressed, etc. Would appreciate if you can share your expertise on this.
Thanks!
Regards,
VivianHi,
I would like to know how to include some additonal fields in OPUK/OPUJ. We have defined some .INCLUDE component / fields to SAP standard table PRPS/PROJ. We want those fields to also appear in OPUK/OPUJ so that we could also defined their characteristics - whether input, mandatory, suppressed, etc.
Thanks!
Regards,
Vivian -
Including customized fields in Field selection for Project definition
Hi Experts,
I have created additional zfields in Project definition,
But those fields are not coming in customization node " Field selection for Project Definition".
Is there any way , by which we can include those fields in the list of " Field selection for Project Definition" in customization ,
so that i can hide/disable for diff project Profile.
Thanx in adv.
Regards
AshisHi,
actually one can try to add customer fields to field configuration using transaction SFAW alike SAP own fields.
It is usually possible to extend the list of the modifiable fields of the field selection in transaction SFAW within the framework of a
modification (as long as the fields are relative to tables PRPS or PROJ). The relevant module pool is SAPLCJWB.
Example
E.g. for the SAP field 'functional area' (field PRPS-FUNC_AREA) one would proceed as follows:
In the transaction SFAW, Module pool SAPLCJWB, Screen group PRPS
-Select 'Modified fields', and choose 'Change'.
-Enhance the list of the modifiable fields by the following entries :
PRPS-FUNC_AREA. Answer yes to the question : do you want the field to
be modifiable?.
Don't forget to save and then click on the 'generate button' of the
transaction SFAW.
- The relevant field for distribution profile would be PRPS-PGPRF.
In the same manner one can try to add the Z field.
Please note: This procedure is considered as a modification, so please review note
114390 which discusses a problem which can occur during an upgrade.
Kind regards
Peter -
Validation in project definition
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.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. -
Validation on Project Definition
Hi,
We configured a validation in Tcode OPSI where:
Prerequisite is -> PROJ-PSPID :1-4: = 'XXXX'
Check is -> PROJ-VBUKR = '####'
However, when we tried to create a project definition with special characters, system allowed us to save the project. Please note that the prerequisite is alpha and the check is numeric. How can we limit that the first 4 characters in PROJ-PSPID are alpha only and no special or numeric characters?
Thank you.Hi,
I suggest you to check first your Project Coding Mask. And change according to your requirement.
OPSK - Maintain Special Characters Project Systems
OPSJ -Project Number Editing
System will not allow to create Project definition beyond its coding mask.
Regards
Shishir -
Conversion exit for project definition
Hi
I have created a generic extractor to get some data of table PRPS. The project-definition number in this table is in field PSPHI. When you display the result of the extractor in the extractor checker (RSA3) the correct number (e.g. PG5707) is showing, however, when it comes into BW, it is showing the internal number (e.g. 000002). In BW I use this field to populate 0PROJECT, but due to the internal number being sent, I cant use it.
Can anyone please tell me what conversion exit I can call in my extractor to get the external number?
I also notice in SE16 for this table there is a selection in the user parameters to tick under the "Format" section in the data browser tab. If it is not selected, it shows the internal number, but if selected, the external number is displayed. I want to do this in my extractor.
Thanks
KarinHello Karin,
Have a look at these OSS
SAP Note 776990 Conversion exits with string parameters
SAP Note 756662 RSAR 196:InfoObj. contains val. which is not conversion exit
SAP Note 925589 P8:SDL:New DS:Possible problems w/
SAPI conversion exit call
SAP Note 843164 P27:SDL: Problems with conversion exits in the selection tab
SAP Note 557148 Executing conversion exits
SAP Note 497043 P6:SDL:Scheduler selections in fields with conversion exits
SAP Note 1034798 P13:SDL:New DataSource uses incorrect conversion exit
SAP Note 681931 Error due to conversion exits during the file upload
SAP Note 1003431 Error in target fields with conversion exits
SAP Note 374997 SDL: Conversion exits: ABPSN, ABPRJ, ABPSP and MATN1
[Thanks|http://chandranonline.blogspot.com/]
[Chandran|http://chandranonline.blogspot.com/] -
Enhancement for project definition and WBS element.
Hi Experts,
I have a client requirement for creation of the custom specific fields for the project definition and the WBS element level called IT relevant and they need to use this fields for the purpose of structured reporting in PS.Can you please guide me as to how do in need to do this.
When i go in to the transaction CMOD and SAP Program SAPMSMOD it says you are not authorised.Please let me know the process as to how it has to be done.
Thanks for your cooperation.
ShivkumarRefer the IMG documentation against the SPRO node 'Create Customer-Specific Fields in a Project Definition' and 'Create Customer-Specific Fields in a WBS'.
Regards
Sreenivas -
System Status Change for Project Definition
Hi,
I am working on a requirement to notify the Project Manager when the Project Status changes to REL.
I couldn't find any user exits where I can add the code to send an e-mail notification at the time of status change of the Project Definition or the WBS elements within the Project.
I checked for events in Business Objects BUS2054(WBS) and BUS2001(ProjectDefinition) which might get triggered at the time of status change. I couldn't find any events relevant to Status Change.
Any ideas how to handle this requirement ?
Regards
BhoomaI found a solution to this issue.
Regards
Bhoooma -
Transaction Data for Project Definition & WBS Element of Project System(PS)
Hi all,
We want to install the Project Systems and the requirement is to report on the following fields:
Project Definition (Project Definition PROJ PSPID)
Project Definition (PS Short Description PROJ POST1)
Project Definition (System Status CNJ_STAT STTXT_INT)
WBS Element (Project Type PRPS PRART)
WBS Element (Short ID PRPS POSKI)
WBS Element (Person Responsible PRPS VERNR)
WBS Element (Company Code PRPS PBUKR)
R/3 Table Names and Field names are in brackets.
0PROJECT_ATTR & 0PROJECT_TEXT are DataSources of 0PROJECT Master Data.
0WBS_ELEMT_ATTR & 0WBS_ELEMT_TEXT are DataSources of 0WBS_ELEMT Master Data.
How can I find the transaction data for those above fields, PLEASE ?
Thanks in advance.Hi
Kindly check the following data sources:
0PS_CLM_CST ( Costs of a Claim)
0PS_CSH_NTW ( Network plan payments)
0PS_CSH_NWA ( Payments on network plan process)
0PS_CSH_WBS ( Payments on WBS element)
0PS_DAT_NTW ( Network dates )
0PS_DAT_NWA ( Dates network operation)
0PS_DAT_PRJ ( Date project )
0PS_DAT_WBS ( WBS Element Dates)
0PS_NAE_EVA ( Progress in Network Activity Elements)
0PS_NTW_EVA ( Progress in Networks)
0PS_NWA_EVA ( Network Activity Earned Value)
0PS_ORD_EVA ( Order Earned Value)
0PS_WBS_EVA ( Earned Value WBS Element)
hope this helps!
best regards,
Thangesh -
Grey field for project definition and WBS element
Dear all,
I have created a project and WBS element in CJ01. Now I go via CJ02 to the change mode and the project ID and WBS element ID is not greyed out. But I would like that the system shows these key fields as not changeable anymore, only fields like description should be changable. Can you please tell me, which customizing step I missed to get the grey field for project ID/WBS element ID?
FYI I do not use a project mask to create the project.
Thanks for your answer.
HeidiHi Heidi ,
I don't think you can grey out the Project Definition and the WBS Element fields after the creation .
If you want to restrict the users to change the Proj definition and WBS , a better way is through
Authorization objects and restricting only specified users to change the WBS
Kish -
Issue in CJ20N tcode for project definition field
Hi guys,
After the project definition is created in the system, I have executed the transaction code and when I clicked on change icon(toggle button which is available in the application toolbar) the project definition field is in edit mode. This should not happen at all.
Kindly let me know your findings on this.
Thanks & Regards,
RgHi,
For project defination internal number is assigned by system.
When you saves's project then system allocate one number to project defination, you can view it,
SE11 >>> table PROJ >> Click on contents >>> execute,
here you will get your project defination & number is assigned to project defination.
kapil -
BAPI for Project Definition Creation
Hi ,
I have a requirement to auto create projects by uploading from excel template. Some custom fields also need to be populated. Is anybody aware of any BAPI(and how to populate custom fileds) for the same.
Thanks,
Harveen.Hi
Transaction BAPI or http://ifr.sap.com
BAPI_PROJECTDEF_CREATE for project def
Rgd
Frédéric
Maybe you are looking for
-
Can I use a trigger to keep record of deleted data?
I am trying to log changes to a table, including deletes. The trigger is working effectively for INSERT and UPDATE, but does not capture the data from the row when I create a DELETE trigger. I have tried various trigger syntax methods to capture th
-
When i use the video chat in facebook, the video of the other party is not able to display
any body experience thesame thing
-
I get this msg when I try to relink my media files. Im lost because I have not changed any formats or where the files are located. 83 name matches were found, but 83 files are not compatible. Relinked files must have the same media type and similar
-
Trouble adding listener to JCalendar bean
Has anyone ever used the JCalendar bean from toedter.com? It inherits .addPropertyChangeListener(PropertyChangeListener pcl) from JComponent, but the compiler will not recognize this method. Anyone ran into this problem before? Thanks, Tim
-
CAN'T DOWNLOAD MUSIC TO MY LAPTOP
I bought an album from my Ipad and now I can't download the album to my computer, It just says purchased next to all the songs when I use Itunes store on my laptop (I'm using the same Itunes account). How can I download the music to my computer?