cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance cProjects with additional Tab and supply value to it,

nsasi
Explorer
0 Kudos
431

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.

Accepted Solutions (1)

Accepted Solutions (1)

francesco_pezzoli
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Nitin,

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.

Best Regards

Francesco

nsasi
Explorer
0 Kudos

Thanks Francesco.

Now I have two window, one my original and second from Interface in my webdynpro application.

All Business logic is written in default event handler method of my original window.

I want to somehow skip this window and transfer the control to my original window when the tab is loaded.

Is there any way to do it?

PS: Business logic cannot be copied because it contains too many codes and I don't want to have redundancies.

Answers (1)

Answers (1)

judith_gabriel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nitin,

I think you would like to set the focus on your original window - or?
In KBA Note 2528808 under "Solution" you can find some information concerning the usage of

CL_DPR_UI_SERVICES=>SET_FOCUS_ON_INPUTFIELD


Best regards,

Judith