cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP PPM: Change screen fields of PPM screen mode to non-editable/editable from Workflow

ana_paraan
Discoverer
0 Likes
450

SAP PPM: How to change the mode of all the fields to non editable in a PPM screen depending on the status of the project?(to be triggered via a workflow decision)

Accepted Solutions (0)

Answers (1)

Answers (1)

pacoginer
Participant
0 Likes

Hi Analyn,

In SAP PPM (Project and Portfolio Management), changing the mode of fields to non-editable based on the status of a project can be achieved through the use of Business Add-Ins (BAdIs), Enhancement Framework, and custom coding. The specific steps may vary depending on the version of SAP PPM and the exact requirements, but here is a general outline of how you could approach this:

1.-Identify the Relevant BAdI:

Determine the appropriate Business Add-In (BAdI) that you can use to customize the behavior of the PPM screens based on project status.

2.-Implement BAdI Enhancement:

Create a new implementation for the identified BAdI. You can use transaction code SE19 to create and implement the BAdI.

3.-Implement Custom Logic:

Inside the BAdI implementation, you will need to write custom logic to determine the status of the project and set the fields to non-editable accordingly. You can use function modules or classes provided by SAP PPM for accessing project status information.

4.-Check Workflow Status:

To trigger the behavior based on the project status, you may need to check the workflow status associated with the project.

5.-Disable Edit Mode for Fields:

Use the appropriate methods or functions to disable the edit mode for the desired fields in the PPM screen. You may need to loop through the fields and set the necessary attributes to make them non-editable.

6.-Activate and Test:

Once you have implemented the BAdI and the custom logic, activate the BAdI implementation and test it in a PPM environment. Create or modify a project to see if the fields are set to non-editable based on the project status.

You should refer to the specific documentation and implementation details for your version of SAP PPM. Additionally, involving an SAP consultant or developer with expertise in PPM customization is recommended for more complex requirements.