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

Similar Messages

  • 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 condition

    Hi,
    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

  • 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 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

  • 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

  • More than one validation in Project Profile

    Dear all,
    I have created a validation rule to validate the company code used between the Project Definition and WBS Element, and it must be the same.  This validation is working
    I assigned it in OPSA for the Project Profile that I am working on. The validation was carried out successfully too.
    However, in the configuration in OPSA, there is only one field for assignment of validation rule created for one project profile.
    Now I have more than one validation required for the same Project Profile. I need to carry out few validations.   Is there any other way (in configuration) that I can do to achieve this?
    Pls help.
    Thanks.
    Best rgds.

    Thank you, Ahmed.
    Already thought of that just at the point when you replied.
    Anyhow, full points for you too.
    Cheers.

  • Editing Project Definition

    Hi experts,
    My client needs project definition field should only be displayed(Not editable) once project status becomes'Released'.
    How would I do this?
    Regards,
    Laxminarsimha

    Hi,
    If the requirement is not to allow change in proj def once the project definition is released then try following
    1) It can achieved through small development.
    2) Use BAdi BUS2001--- with the help of ABAPer write an implementation.
    3) Use BAPI_BUS2001_GET_STATUS and pass Project definition as input. Output will be system status. If it is released ( in background it will be stored as I0002) than check value of PROJ : PSPID same as input else throw an error " Change in proj def name not allowed after release".
    4) Also exits available in validations--- can explore same. However logic for the code can be as xplained above.
    I donn think it can be possible by just customizing. I verifed in Field selection criteria for Project definition....system status is not in infulencing criteria.
    Post ur observations after u try as advised.
    Thanks
    Saikishore Ganga.

  • 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

  • How to block reusage of archived Project definition and WBS element numbers

    Dear All,
    We have archived our projects using the TC SARA and the Project definition and WBS elements numbers no more exist in tables PROJ and PRPS etc.. When I now try to create a new project, the system proposes the next open number or allows to enter a number which is the same as one of the archived projects. But in our organization we cannot reuse the Project definition and WBS element numbers (even if it is archived) as a rule.
    Can anybody guide me what are the possibilities to block or avoid the reusage of the numbers of archived project definition and WBS elements in a fool-proof way? 
    Thanks and regards

    One Workaround:
    Use T code OPSJ and lock the project coding mask. Doing this you can not use this mask any more.
    But you want to continue using the mask but with different numbers. Not sure how this can be acheived. lets wait for others view
    Regards
    Sreenivas

  • Short Dump while using BAPI_PS_PRECOMMIT to set Project Definition Status

    Hi All,
    I am getting a short dump while using BAPI_PS_PRECOMMIT for setting the Project Definition status..
    The requirement is to create a Project Definition and then set its status to REL from CRTD. For this purpose i am using the BAPI's in the following sequence :
    1. BAPI_PS_INITIALIZATION
    2. BAPI_PROJECT_MAINTAIN
    3. BAPI_BUS2001_SET_STATUS
    4. BAPI_PS_PRECOMMIT
    5. BAPI_TRANSACTION_COMMIT
    The Proj Def creation is happening successfully in step2. Interestingly, when I debug the program and stop at PRECOMMIT BAPI the program does not give a dump. I have also tried to give COMMIT WORK / WAIT FOR n SECONDS after BAPI_BUS2001_SET_STATUS, to give BAPI sometime for DB update but nothing seems to be a permanent solution.
    Please give your views on a solution for this problem..
    Thanks & Regards,
    Somil

    Can you please check how to post code in SDN ...
    I cannot read your code properly

  • Enter Valid code,Tax Definition [Message 173-36] error while creating new posting period

    Hi Experts,
    We are not able to create posting period of 2014-15 as we are getting this error.
    Enter Valid code,Tax Definition [Message 173-36] error .Please find the enclosed error screen shot for your reference.
    Regards
    KMJ

    Hello KM Jayaprakash
    I have the same problem, but i dont see (know) the screen which i can check  "Advanced G/L account determination  check box". I am in SAP B1 9.0 PL15. Please can you publish a screen shot.
    it's urgent please.
    Thanks

  • Creation of project definition and wbs element

    I want creation of project definition and wbs element upto 4 level using bapis.
    i am using transaction cj27,cj01,cj02
    which function module to use for this??

    Hi,
    to create project definition with customer fields the BAPI you should use is : BAPI_BUS2001_CREATE
    to create WBS elements with different levels and specific fields the BAPI you should use is BAPI_BUS2054_CREATE_MULTI
    these bapi must be used in the sequence of call :
    BAPI_PS_INITIALIZATION
    BAPI_BUS2001_CREATE / BAPI_BUS2054_CREATE_MULTI
    BAPI_PS_PRECOMMIT
    BAPI_TRANSACTION_COMMIT
    before using the bapi, you must apply OSS note :
    637345 - Syntax error with enhanced PS tables
    i sent you the oss note to your mail
    please reward points if helpfull.

  • How to populate WBS element and Project definition in Additional Tab

    Hi,
    I have a 2 requirements
    1) we need to populate WBS element and Project definition of an order in PM
    IW 32 trasnaction (Additional data tab).
    2)Also i need to program settlement rules in CJ02 for WBS elements .
    How do i approach ?  when i do manually it is taking the values in IW 32 when the status is released.
    So i think first we need to chnage the Status from Created to released and then start working on step 1 and Step 2
    Kindly suggest.
    Thanks,
    Pradeep.

    Problem one solved ......
    Basically we need to put the status of WBS elememnts and then write a BDC for additional data tab.
    Looking into issue 2......

  • Adobe AIR Launchpad - Not a valid archived project

    I am trying to import the Adobe AIR Launchpad application into Adobe Flash Builder and receive "Not a valid archived project" error.
    I am using;
    Adobe AIR Launchpad      version   airlaunchpad_p8_3-0-1_081911
    Adobe Flash Builder          version   4.6 (Flex 4.6.0)
    Adobe Flash Player           version   11.4.402.287
    Adobe AIR Runtime          version   3.5.0.600

    You are talking about browser based AIR help and you are saying that in RoboHelp 9 you are not seeing AIR as an option to create the layout?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • 1 project definition with several wbs elements or several project definitin

    Hello
    I need projects as account assignment elements in CO (when entering vendor invoices for costs). Should I have 1 project definition with all projects /wbs elements underneath, or should I have 1 project definition uniquely defined for each project/wbs element? Some projects are not settled to assets und construction, some projects are settled to assets und construction.
    kind regards
    Arjan

    Arjan
    I don't think you can have Projects as account assignment objects. You can have WBS element as account assignment object.
    One alternative I can suggest, if you want to see project costs at higher level instead of breaking down the project into many WBS elements. Create a project with one WBS element only and use that WBS element as account assignment object.
    It is only possible to have a project with one or more WBS elements. I don't think you can define projects within projects.
    letus put it this way assume WBS elements are projects within a project. But make sure all the WBS elements are related to one project
    Hope you are clear now.
    Thanks
    Prasad

Maybe you are looking for

  • 4:3 event in a 16:9 project

    On a recent trip, I recorded using a digital video camera (4:3) and my iphone 4 (widescreen). I imported the videos from both, and created a 16:9 project. In the events pane, the 4:3 videos have black lines on the left and right, but when I drag them

  • Has anyone seen this PS behavior?

    I am running Photoshop CC 2014 on a Mac running Mountain Lion (10.9.4) and, until about 3 weeks ago, had no problems. Then, quite suddenly, Photoshop started crashing every time I exited. It does not matter if I have done any work or not - simply sta

  • How do I delete or change some of the tabs that open up when I open firefox?

    When I open firefox multiple tabs open and some of them are the same. How can I delete some of these tabs?

  • Using LIKE operator doesnt return results

    Hi I'm very new to SQL and databases in general. I have a vb.NET app in which I'm trying to send a SQL server to a SQL Server 2012 server. For testing purposes Im using SQL SErver Management studio. I have one query that works, but when I try to use

  • Able to get new phone for Christmas present if not Account Owner?

    Okay so I have a gifted from the trade-in program and I want to buy my dad the phone he has been wanting for Christmas. He is eligible for an upgrade, but he is the only account owner. So I am wondering if I will be able to purchase him the phone he