on 09-08-2011 5:53 AM
hi,
I want to make the project definastion field non editable, i.,e, after entering it first time and saving it, it should be grayed out so that no one can change it.
Kinldy suggest how i can achive it.
Regards,
Kalpesh Agrawal
You have several means to prevent users to change the ID:
authorisations (activity 45 is to change the ID) (perhaps alternative, the use of enhancement CNEX0002)
user status
validation
The easiest way to control the changing of the project definition is via authorisation.
See auth objects:
1) C_PROJ_VNR PS: Project Manager for Project
2) PS_ACTVT Activity for authorization check 45 Change project number
3) C_PRPS_VNR PS: Project Manager Authorizati
4) PS_ACTVT Activity for authorization check 45 Change project number
If you include these objects in the user profiles WITHOUT activity 45 you will achieve your aims.
++++++++++++++++++++++++++++++++++++
or...
You can customize the field PROJ-PSPID in the field selection, but before you must add these field into the field selection. You can extend the list of the modifiable fields of the field selection in Transaction SFAW within the framework of a modification.
In transaction SFAW enter module SAPLCJWB and screen group PROJ. Please refer to the attached note 114390 which explains this in more detail.
++++++++++++++++++++++++++++++++++++
The validation would have to include a user exit which compares table PROJN to current field contents when saving.
++++++++++++++++++++++++++++++++++++
Create or amend a user status using transaction OK02. Create a new line entry and set the "Init. Status" flag so that this
status is applied as soon as the Project / WBS is created. Set the business transaction behind this to disallow "Change WBS number" Save. Specify this User Status Profile within the Project Profiles of your projects. When you now create a project the WBS number fields are open for input until you press enter or save the project. To change the WBS number you
then need to remove the user status and reply when finished.
Being a User Status you can also assign an Authorisation code to this so that only certain individuals can carry this out.
There is currently no business transaction available for protecting the Project Definition. However, there is a workaround solution using a third party product called GuiXT which is shipped for use with version 4.0 onwards and is free for you to use. It basically means writing a text script command that makes the field greyed out unless you have a specific user-logon. You can find out more information regarding GuiXT at the following Web address: http://www.synactive.com.
++++++++++++++++++++++++++++++++++++
My recommendation is to use the authorisation option by restricting most users from activity '45'.
Regards,
Syed Ammar Zaheer
Edited by: Ammar Zaheer Syed on Sep 8, 2011 11:14 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Instead of making the field grayed out why don't you set up a Validation that will prohibit changing the project definition? You can use the Project profile or the project type as prerequisite.
Regards,
Gokul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.