I want to enhance cProjects with additional tab and provide value to it.
From FPM Configure Application (CPROJECTS_OIF), I added new MainView and added my WebDynpro application.
I followed https://blogs.sap.com/2014/02/22/adding-a-custom-tab-to-plm-web-ui/, but I see that my enhancement class is not getting triggered when I click test.
If I can know how can I get cProject details in the enhancement class, I can pass on to them to my WD application.
Appreciate any help.
The blog to which you are referring is specific to PLM WebUI, these steps will not work for Project Management.
The most straightforward way to display your WebDynpro as an additional tab in Project Management project elements is to use the customizing "Show Additional Tab Pages in Project Management" (SPRO > SAP Portfolio and Project Management > Project Management > Global Enhancements to Project Elements > Show Additional Tab Pages in Project Management).
The IMG documentation for this customizing activity provided detailed information about how to implement the WebDynpro interface DPR_CUST_EXT_INTF to supply our WebDynpro component with events to which the component can react.