on 2023 Feb 24 2:58 PM
Hey Experts,
I want to assign my WBS project types to specific project profiles so that the dropdown menu is only showing the correct project types for selecting.
For this I used in SPRO the Change View Assign project types to project profile with no effect.
I found the SAP Note 2232730 and 2536982. However it cannot be implemented on my System.
I followed the instructions of SAP Note 2232730 and as far as I can see everything is there as mentioned in the note. The only thing I I don't know to check or implement is the following part.
"For the above feature, activate the below PROF_PTYPE_FLG flag via BADI: PS_FUNCTION_SWITCH method get_switch, by setting value to 'X' " [SAP Note 2232730]
I am able to find the BADI PS_FUNCTION_SWITCH however at the screen shown in the image 5: Display IF_PS_FUNCTION_SWITCH I am running out of knowledge what to do. Help at this point would be great for me.
I also found some question here, however there is only the mentioned Note 2232730. There is never mentioned something when the system is incompatible to the the note because of updates. My system is to "updated" for the note and the Change View Assign project types to project profile still not working.
Image 1: Assign project types to project profile (I had to remove some line, please trust me there is no other line with Z000000

Image 2: Choose Project Profile

Image 3: The mentioned error as far as I can see.

Image 4: SNOTE which cannot be implemented

Image 5: Display IF_PS_FUNCTION_SWITCH - Overview

Image 6: Display IF_PS_FUNCTION_SWITCH - GET_SWITCH - Parameters

Request clarification before answering.
If the system is not behaving as designed and standard configuration is not working you should submit a ticket to SAP. They will determine the correct Notes or update the Notes as needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition if you want to see if the PROF_PTYPE_FLG flag is set to value 'X'
Use T-Code SE11 (ABAP Dictionary)
Data Type: PSSWITCH_FUNCTIONS -> Display

Choose: PROF_PTYPE_FLG with double click on it

Double click on the value of Domain: PS_SWITCH_FLAG

Go to the Tab: Value Range

Attention: Please keep the values here and do not change it. Bad practice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We were on S/4HANA 2021 and facing a similar issue with Project Types filtering based on Project Profile.
Follow the SAP Note 2232730: Perform the step of activating the flag PROF_PTYPE_FLG via BADI: PS_FUNCTION_SWITCH method GET_SWITCH, by setting value to 'X' (abap_true)
Then, the relevant configs must be maintained in "Assign Project Types to Project Profile".
This helped to achieve the desired filtering.
| User | Count |
|---|---|
| 26 | |
| 13 | |
| 13 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.