Ansicht
Dokumentation
/CPD/STG_CHANGE_AUTH - BAdI: Authorization to Change Project Stage
CL_GUI_FRONTEND_SERVICES - Frontend Services ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
You use this BAdI (business add-in) to determine if a user can change the stage of a project.
You may use any of the following data sources to determine the project role of a user:
- C_EngagementProjectRoles provides only a list of standard project roles (that is, Project Manager, Project Controller, Project Accountant, and Project Partner)
- Note: This CDS view does not determine authorizations if the following business catalogs are assigned to a user. As a result, such users will not be allowed to change the stage of a project even if they are assigned to the corresponding project role.
- Project - Customer Project Setup (SAP_PSP_BC_CUSTOMER_PROJ_PC)
- Project - Internal Project Setup (SAP_PSP_BC_INTERNAL_PROJ_PC)
- I_EngmntProjectRoleAssgmt provides a list of standard and custom project roles defined by your key user.
Note: A user who manages your business configuration can define additional custom project roles using the Manage Your Solution app by choosing Configure Your Solution > Professional Services application area > Customer and Internal Project Management > Define Role Types.
The following parameters are available:
Importing Parameters
ENGAGEMENTPROJECT | - Indicates the project ID that is being changed |
CURRENTSTAGE | - Indicates the current stage of the project |
NEXTSTAGE | - Indicates the new stage that is being set by the user |
BUSINESSUSER | - Indicates the user ID of a business user (for example CB0000000001) |
Changing Parameters
STAGECHANGEABLE | - A boolean value where 'X' = True and ' ' = False |
Recommendation: If you wish to read project-related information in your custom implementation, it is recommended to use available CDS views that serve the intended purpose.
The sample logic (when activated) allows only the project manager and the project controller to change the stage of a project from Contract Preparation to In Execution.
rdisp/max_wprun_time - Maximum work process run time ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 3014 Date: 20240523 Time: 185108 sap01-206 ( 42 ms )